Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 05f10cf

Browse files
docs: minor formatting fixes to Cloud Functions reference docs (#98)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 391298623 Source-Link: googleapis/googleapis@a75aa07 Source-Link: https://github.com/googleapis/googleapis-gen/commit/632567ba23206749a35cf03e4c636bf1eca9000a
1 parent 5a7c312 commit 05f10cf

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

google/cloud/functions_v1/types/functions.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ class CloudFunction(proto.Message):
6868
description (str):
6969
User-provided description of a function.
7070
source_archive_url (str):
71-
The Google Cloud Storage URL, starting with
72-
gs://, pointing to the zip archive which
73-
contains the function.
71+
The Google Cloud Storage URL, starting with ``gs://``,
72+
pointing to the zip archive which contains the function.
7473
source_repository (google.cloud.functions_v1.types.SourceRepository):
7574
**Beta Feature**
7675
@@ -80,9 +79,9 @@ class CloudFunction(proto.Message):
8079
uploading, generated by calling
8180
[google.cloud.functions.v1.GenerateUploadUrl].
8281
83-
The signature is validated on write methods {Create, Update}
82+
The signature is validated on write methods (Create, Update)
8483
The signature is stripped from the Function object on read
85-
methods {Get, List}
84+
methods (Get, List)
8685
https_trigger (google.cloud.functions_v1.types.HttpsTrigger):
8786
An HTTPS endpoint type of source that can be
8887
triggered via URL.
@@ -105,7 +104,7 @@ class CloudFunction(proto.Message):
105104
deploying a new function, optional when updating an existing
106105
function. For a complete list of possible choices, see the
107106
```gcloud`` command
108-
reference </sdk/gcloud/reference/functions/deploy#--runtime>`__.
107+
reference <https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime>`__.
109108
timeout (google.protobuf.duration_pb2.Duration):
110109
The function execution timeout. Execution is
111110
considered failed and can be terminated if the
@@ -137,9 +136,9 @@ class CloudFunction(proto.Message):
137136
belong to a project within the same organization. The format
138137
of this field is either
139138
``projects/{project}/global/networks/{network}`` or
140-
``{network}``, where {project} is a project id where the
141-
network is defined, and {network} is the short name of the
142-
network.
139+
``{network}``, where ``{project}`` is a project id where the
140+
network is defined, and ``{network}`` is the short name of
141+
the network.
143142
144143
This field is mutually exclusive with ``vpc_connector`` and
145144
will be replaced by it.

google/cloud/functions_v1/types/operations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class OperationMetadataV1(proto.Message):
3838
Attributes:
3939
target (str):
4040
Target of the operation - for example
41-
projects/project-1/locations/region-1/functions/function-1
41+
``projects/project-1/locations/region-1/functions/function-1``
4242
type_ (google.cloud.functions_v1.types.OperationType):
4343
Type of operation.
4444
request (google.protobuf.any_pb2.Any):

0 commit comments

Comments
 (0)