Skip to content

Commit a75aa07

Browse files
Google APIscopybara-github
authored andcommitted
docs: minor formatting fixes to Cloud Functions reference docs
PiperOrigin-RevId: 391298623
1 parent a6c8dc7 commit a75aa07

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

google/cloud/functions/v1/functions.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ message CloudFunction {
233233

234234
// The location of the function source code.
235235
oneof source_code {
236-
// The Google Cloud Storage URL, starting with gs://, pointing to the zip
236+
// The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
237237
// archive which contains the function.
238238
string source_archive_url = 3;
239239

@@ -245,9 +245,9 @@ message CloudFunction {
245245
// The Google Cloud Storage signed URL used for source uploading, generated
246246
// by calling [google.cloud.functions.v1.GenerateUploadUrl].
247247
//
248-
// The signature is validated on write methods {Create, Update}
249-
// The signature is stripped from the Function object on read methods {Get,
250-
// List}
248+
// The signature is validated on write methods (Create, Update)
249+
// The signature is stripped from the Function object on read methods (Get,
250+
// List)
251251
string source_upload_url = 16;
252252
}
253253

@@ -275,7 +275,7 @@ message CloudFunction {
275275
// function, optional when updating an existing function. For a complete
276276
// list of possible choices, see the
277277
// [`gcloud` command
278-
// reference](/sdk/gcloud/reference/functions/deploy#--runtime).
278+
// reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
279279
string runtime = 19;
280280

281281
// The function execution timeout. Execution is considered failed and
@@ -310,8 +310,8 @@ message CloudFunction {
310310
// project. Otherwise, it must belong to a project within the same
311311
// organization. The format of this field is either
312312
// `projects/{project}/global/networks/{network}` or `{network}`, where
313-
// {project} is a project id where the network is defined, and {network} is
314-
// the short name of the network.
313+
// `{project}` is a project id where the network is defined, and `{network}`
314+
// is the short name of the network.
315315
//
316316
// This field is mutually exclusive with `vpc_connector` and will be replaced
317317
// by it.

google/cloud/functions/v1/operations.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enum OperationType {
4343
// Metadata describing an [Operation][google.longrunning.Operation]
4444
message OperationMetadataV1 {
4545
// Target of the operation - for example
46-
// projects/project-1/locations/region-1/functions/function-1
46+
// `projects/project-1/locations/region-1/functions/function-1`
4747
string target = 1;
4848

4949
// Type of operation.

0 commit comments

Comments
 (0)