Skip to content

Commit

Permalink
docs: clarified when revision_id of a workflow is updated docs: clari…
Browse files Browse the repository at this point in the history
…fied format and semantics of service_account field docs: documented expanded workflow size limit

PiperOrigin-RevId: 404237609

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Oct 19 06:09:46 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 2d60c597aa946c646e4dce52c9b8b7863a8ddc81
Source-Link: googleapis/googleapis@2d60c59
  • Loading branch information
yoshi-automation authored and jskeet committed Oct 19, 2021
1 parent c35bada commit a797ee8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,11 @@ public sealed partial class Workflow : pb::IMessage<Workflow>
/// <summary>
/// Output only. The revision of the workflow.
/// A new revision of a workflow is created as a result of updating the
/// following fields of a workflow:
/// - `source_code`
/// - `service_account`
/// following properties of a workflow:
///
/// - [Service account][google.cloud.workflows.v1.Workflow.service_account]
/// - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents]
///
/// The format is "000001-a4d", where the first 6 characters define
/// the zero-padded revision ordinal number. They are followed by a hyphen and
/// 3 hexadecimal random characters.
Expand Down Expand Up @@ -294,14 +296,14 @@ public sealed partial class Workflow : pb::IMessage<Workflow>
public const int ServiceAccountFieldNumber = 9;
private string serviceAccount_ = "";
/// <summary>
/// Name of the service account associated with the latest workflow version.
/// The service account associated with the latest workflow version.
/// This service account represents the identity of the workflow and determines
/// what permissions the workflow has.
/// Format: projects/{project}/serviceAccounts/{account}
/// Format: projects/{project}/serviceAccounts/{account} or {account}
///
/// Using `-` as a wildcard for the `{project}` will infer the project from
/// the account. The `{account}` value can be the `email` address or the
/// `unique_id` of the service account.
/// Using `-` as a wildcard for the `{project}` or not providing one at all
/// will infer the project from the account. The `{account}` value can be the
/// `email` address or the `unique_id` of the service account.
///
/// If not provided, workflow will use the project's default service account.
/// Modifying this field for an existing workflow results in a new workflow
Expand All @@ -318,7 +320,7 @@ public sealed partial class Workflow : pb::IMessage<Workflow>
/// <summary>Field number for the "source_contents" field.</summary>
public const int SourceContentsFieldNumber = 10;
/// <summary>
/// Workflow code to be executed. The size limit is 32KB.
/// Workflow code to be executed. The size limit is 128KB.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SourceContents {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: google/cloud/workflows/v1/workflows.proto
// </auto-generated>
// Original file comments:
// Copyright 2020 Google LLC
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion apis/Google.Cloud.Workflows.V1/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0cfe2ce81d1b81069d62ad1c9c28d5cab21c1958"
"sha": "2d60c597aa946c646e4dce52c9b8b7863a8ddc81"
}
}
]
Expand Down

0 comments on commit a797ee8

Please sign in to comment.