docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/cloudfunctions_v1.projects.locations.functions.html b/docs/dyn/cloudfunctions_v1.projects.locations.functions.html
index 80234d8..2128649 100644
--- a/docs/dyn/cloudfunctions_v1.projects.locations.functions.html
+++ b/docs/dyn/cloudfunctions_v1.projects.locations.functions.html
@@ -157,147 +157,147 @@
The object takes the form of:
{ # Describes a Cloud Function that contains user computation executed in
- # response to an event. It encapsulate function and triggers configurations.
- "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
- # archive which contains the function.
- "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
- #
- # The source repository where a function is hosted.
- # source repository where a function is hosted.
- "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
- # were defined at the time of deployment. It always points to a specific
- # commit in the format described above.
- "url": "A String", # The URL pointing to the hosted repository where the function is defined.
- # There are supported Cloud Source Repository URLs in the following
- # formats:
- #
- # To refer to a specific commit:
- # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
- # To refer to a moveable alias (branch):
- # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
- # In particular, to refer to HEAD use `master` moveable alias.
- # To refer to a specific fixed alias (tag):
- # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- #
- # You may omit `paths/*` if you want to use the main directory.
- },
- "network": "A String", # The VPC Network that this cloud function can connect to. It can be
- # either the fully-qualified URI, or the short name of the network resource.
- # If the short network name is used, the network must belong to the same
- # project. Otherwise, it must belong to a project within the same
- # organization. The format of this field is either
- # `projects/{project}/global/networks/{network}` or `{network}`, where
- # {project} is a project id where the network is defined, and {network} is
- # the short name of the network.
- #
- # This field is mutually exclusive with `vpc_connector` and will be replaced
- # by it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
- # be either the fully-qualified URI, or the short name of the network
- # connector resource. The format of this field is
- # `projects/*/locations/*/connectors/*`
- #
- # This field is mutually exclusive with `network` field and will eventually
- # replace it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "entryPoint": "A String", # The name of the function (as defined in source code) that will be
- # executed. Defaults to the resource name suffix, if not specified. For
- # backward compatibility, if function with given name is not found, then the
- # system will try to use function named "function".
- # For Node.js this is name of a function exported by the module specified
- # in `source_location`.
- "labels": { # Labels associated with this Cloud Function.
- "a_key": "A String",
- },
- "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
- "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
- # through it.
- "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
- # it.
- "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
- "url": "A String", # Output only. The deployed url for the function.
- },
- "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
- # `{project_id}@appspot.gserviceaccount.com`.
- "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
- # given time.
- "description": "A String", # User-provided description of a function.
- "environmentVariables": { # Environment variables that shall be available during function execution.
- "a_key": "A String",
- },
- "timeout": "A String", # The function execution timeout. Execution is considered failed and
- # can be terminated if the function is not completed at the end of the
- # timeout period. Defaults to 60 seconds.
- "status": "A String", # Output only. Status of the function deployment.
- "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
- # service.
- "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
- "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
- # A function execution will be retried on any failure.
- # A failed execution will be retried up to 7 days with an exponential backoff
- # (capped at 10 seconds).
- # Retried execution is charged as any other execution.
+ # response to an event. It encapsulate function and triggers configurations.
+ "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
+ "url": "A String", # Output only. The deployed url for the function.
+ },
+ "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
+ # through it.
+ "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
+ # it.
+ "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
+ # `{project_id}@appspot.gserviceaccount.com`.
+ "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
+ # given time.
+ "description": "A String", # User-provided description of a function.
+ "environmentVariables": { # Environment variables that shall be available during function execution.
+ "a_key": "A String",
+ },
+ "status": "A String", # Output only. Status of the function deployment.
+ "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
+ # service.
+ "eventType": "A String", # Required. The type of event to observe. For example:
+ # `providers/cloud.storage/eventTypes/object.change` and
+ # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ #
+ # Event types match pattern `providers/*/eventTypes/*.*`.
+ # The pattern contains:
+ #
+ # 1. namespace: For example, `cloud.storage` and
+ # `google.firebase.analytics`.
+ # 2. resource type: The type of resource on which event occurs. For
+ # example, the Google Cloud Storage API includes the type `object`.
+ # 3. action: The action that generates the event. For example, action for
+ # a Google Cloud Storage Object is 'change'.
+ # These parts are lower case.
+ "resource": "A String", # Required. The resource(s) from which to observe events, for example,
+ # `projects/_/buckets/myBucket`.
+ #
+ # Not all syntactically correct values are accepted by all services. For
+ # example:
+ #
+ # 1. The authorization model must support it. Google Cloud Functions
+ # only allows EventTriggers to be deployed that observe resources in the
+ # same project as the `CloudFunction`.
+ # 2. The resource type must match the pattern expected for an
+ # `event_type`. For example, an `EventTrigger` that has an
+ # `event_type` of "google.pubsub.topic.publish" should have a resource
+ # that matches Google Cloud Pub/Sub topics.
+ #
+ # Additionally, some services may support short names when creating an
+ # `EventTrigger`. These will always be returned in the normalized "long"
+ # format.
+ #
+ # See each *service's* documentation for supported formats.
+ "service": "A String", # The hostname of the service that should be observed.
+ #
+ # If no string is provided, the default service implementing the API will
+ # be used. For example, `storage.googleapis.com` is the default for all
+ # event types in the `google.storage` namespace.
+ "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
+ # If empty, then defaults to ignoring failures (i.e. not retrying them).
+ "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
+ # A function execution will be retried on any failure.
+ # A failed execution will be retried up to 7 days with an exponential backoff
+ # (capped at 10 seconds).
+ # Retried execution is charged as any other execution.
+ },
},
},
- "eventType": "A String", # Required. The type of event to observe. For example:
- # `providers/cloud.storage/eventTypes/object.change` and
- # `providers/cloud.pubsub/eventTypes/topic.publish`.
- #
- # Event types match pattern `providers/*/eventTypes/*.*`.
- # The pattern contains:
- #
- # 1. namespace: For example, `cloud.storage` and
- # `google.firebase.analytics`.
- # 2. resource type: The type of resource on which event occurs. For
- # example, the Google Cloud Storage API includes the type `object`.
- # 3. action: The action that generates the event. For example, action for
- # a Google Cloud Storage Object is 'change'.
- # These parts are lower case.
- "resource": "A String", # Required. The resource(s) from which to observe events, for example,
- # `projects/_/buckets/myBucket`.
- #
- # Not all syntactically correct values are accepted by all services. For
- # example:
- #
- # 1. The authorization model must support it. Google Cloud Functions
- # only allows EventTriggers to be deployed that observe resources in the
- # same project as the `CloudFunction`.
- # 2. The resource type must match the pattern expected for an
- # `event_type`. For example, an `EventTrigger` that has an
- # `event_type` of "google.pubsub.topic.publish" should have a resource
- # that matches Google Cloud Pub/Sub topics.
- #
- # Additionally, some services may support short names when creating an
- # `EventTrigger`. These will always be returned in the normalized "long"
- # format.
- #
- # See each *service's* documentation for supported formats.
- "service": "A String", # The hostname of the service that should be observed.
- #
- # If no string is provided, the default service implementing the API will
- # be used. For example, `storage.googleapis.com` is the default for all
- # event types in the `google.storage` namespace.
- },
- "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
- # by google.cloud.functions.v1.GenerateUploadUrl
- "availableMemoryMb": 42, # The amount of memory in MB available for a function.
- # Defaults to 256MB.
- "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
- # function, optional when updating an existing function. For a complete
- # list of possible choices, see the
- # [`gcloud` command
- # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
- "name": "A String", # A user-defined name of the function. Function names must be unique
- # globally and match pattern `projects/*/locations/*/functions/*`
- "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
- # results in a new version of a function being created.
-}
+ "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
+ # by google.cloud.functions.v1.GenerateUploadUrl
+ "timeout": "A String", # The function execution timeout. Execution is considered failed and
+ # can be terminated if the function is not completed at the end of the
+ # timeout period. Defaults to 60 seconds.
+ "availableMemoryMb": 42, # The amount of memory in MB available for a function.
+ # Defaults to 256MB.
+ "name": "A String", # A user-defined name of the function. Function names must be unique
+ # globally and match pattern `projects/*/locations/*/functions/*`
+ "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
+ # function, optional when updating an existing function. For a complete
+ # list of possible choices, see the
+ # [`gcloud` command
+ # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
+ "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
+ # results in a new version of a function being created.
+ "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
+ # archive which contains the function.
+ "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
+ #
+ # The source repository where a function is hosted.
+ # source repository where a function is hosted.
+ "url": "A String", # The URL pointing to the hosted repository where the function is defined.
+ # There are supported Cloud Source Repository URLs in the following
+ # formats:
+ #
+ # To refer to a specific commit:
+ # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
+ # To refer to a moveable alias (branch):
+ # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
+ # In particular, to refer to HEAD use `master` moveable alias.
+ # To refer to a specific fixed alias (tag):
+ # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
+ #
+ # You may omit `paths/*` if you want to use the main directory.
+ "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
+ # were defined at the time of deployment. It always points to a specific
+ # commit in the format described above.
+ },
+ "network": "A String", # The VPC Network that this cloud function can connect to. It can be
+ # either the fully-qualified URI, or the short name of the network resource.
+ # If the short network name is used, the network must belong to the same
+ # project. Otherwise, it must belong to a project within the same
+ # organization. The format of this field is either
+ # `projects/{project}/global/networks/{network}` or `{network}`, where
+ # {project} is a project id where the network is defined, and {network} is
+ # the short name of the network.
+ #
+ # This field is mutually exclusive with `vpc_connector` and will be replaced
+ # by it.
+ #
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
+ # be either the fully-qualified URI, or the short name of the network
+ # connector resource. The format of this field is
+ # `projects/*/locations/*/connectors/*`
+ #
+ # This field is mutually exclusive with `network` field and will eventually
+ # replace it.
+ #
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "entryPoint": "A String", # The name of the function (as defined in source code) that will be
+ # executed. Defaults to the resource name suffix, if not specified. For
+ # backward compatibility, if function with given name is not found, then the
+ # system will try to use function named "function".
+ # For Node.js this is name of a function exported by the module specified
+ # in `source_location`.
+ "labels": { # Labels associated with this Cloud Function.
+ "a_key": "A String",
+ },
+ "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
+ }
x__xgafv: string, V1 error format.
Allowed values
@@ -309,30 +309,6 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
- "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
- # different programming environments, including REST APIs and RPC APIs. It is
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
- # three pieces of data: error code, error message, and error details.
- #
- # You can find out more about this error model and how to work with it in the
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
- "details": [ # A list of messages that carry the error details. There is a common set of
- # message types for APIs to use.
- {
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
- ],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- },
- "metadata": { # Service-specific metadata associated with the operation. It typically
- # contains progress information and common metadata such as create time.
- # Some services might not provide such metadata. Any method that returns a
- # long-running operation should document the metadata type, if any.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
@@ -349,6 +325,30 @@
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
+ "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
+ # three pieces of data: error code, error message, and error details.
+ #
+ # You can find out more about this error model and how to work with it in the
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ "details": [ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
}</pre>
</div>
@@ -370,30 +370,6 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
- "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
- # different programming environments, including REST APIs and RPC APIs. It is
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
- # three pieces of data: error code, error message, and error details.
- #
- # You can find out more about this error model and how to work with it in the
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
- "details": [ # A list of messages that carry the error details. There is a common set of
- # message types for APIs to use.
- {
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
- ],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- },
- "metadata": { # Service-specific metadata associated with the operation. It typically
- # contains progress information and common metadata such as create time.
- # Some services might not provide such metadata. Any method that returns a
- # long-running operation should document the metadata type, if any.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
@@ -410,6 +386,30 @@
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
+ "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
+ # three pieces of data: error code, error message, and error details.
+ #
+ # You can find out more about this error model and how to work with it in the
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ "details": [ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
}</pre>
</div>
@@ -513,147 +513,147 @@
An object of the form:
{ # Describes a Cloud Function that contains user computation executed in
- # response to an event. It encapsulate function and triggers configurations.
- "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
- # archive which contains the function.
- "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
- #
- # The source repository where a function is hosted.
- # source repository where a function is hosted.
- "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
- # were defined at the time of deployment. It always points to a specific
- # commit in the format described above.
- "url": "A String", # The URL pointing to the hosted repository where the function is defined.
- # There are supported Cloud Source Repository URLs in the following
- # formats:
- #
- # To refer to a specific commit:
- # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
- # To refer to a moveable alias (branch):
- # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
- # In particular, to refer to HEAD use `master` moveable alias.
- # To refer to a specific fixed alias (tag):
- # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- #
- # You may omit `paths/*` if you want to use the main directory.
- },
- "network": "A String", # The VPC Network that this cloud function can connect to. It can be
- # either the fully-qualified URI, or the short name of the network resource.
- # If the short network name is used, the network must belong to the same
- # project. Otherwise, it must belong to a project within the same
- # organization. The format of this field is either
- # `projects/{project}/global/networks/{network}` or `{network}`, where
- # {project} is a project id where the network is defined, and {network} is
- # the short name of the network.
- #
- # This field is mutually exclusive with `vpc_connector` and will be replaced
- # by it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
- # be either the fully-qualified URI, or the short name of the network
- # connector resource. The format of this field is
- # `projects/*/locations/*/connectors/*`
- #
- # This field is mutually exclusive with `network` field and will eventually
- # replace it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "entryPoint": "A String", # The name of the function (as defined in source code) that will be
- # executed. Defaults to the resource name suffix, if not specified. For
- # backward compatibility, if function with given name is not found, then the
- # system will try to use function named "function".
- # For Node.js this is name of a function exported by the module specified
- # in `source_location`.
- "labels": { # Labels associated with this Cloud Function.
- "a_key": "A String",
- },
- "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
- "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
- # through it.
- "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
- # it.
- "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
- "url": "A String", # Output only. The deployed url for the function.
- },
- "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
- # `{project_id}@appspot.gserviceaccount.com`.
- "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
- # given time.
- "description": "A String", # User-provided description of a function.
- "environmentVariables": { # Environment variables that shall be available during function execution.
- "a_key": "A String",
- },
- "timeout": "A String", # The function execution timeout. Execution is considered failed and
- # can be terminated if the function is not completed at the end of the
- # timeout period. Defaults to 60 seconds.
- "status": "A String", # Output only. Status of the function deployment.
- "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
- # service.
- "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
- "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
- # A function execution will be retried on any failure.
- # A failed execution will be retried up to 7 days with an exponential backoff
- # (capped at 10 seconds).
- # Retried execution is charged as any other execution.
+ # response to an event. It encapsulate function and triggers configurations.
+ "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
+ "url": "A String", # Output only. The deployed url for the function.
+ },
+ "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
+ # through it.
+ "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
+ # it.
+ "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
+ # `{project_id}@appspot.gserviceaccount.com`.
+ "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
+ # given time.
+ "description": "A String", # User-provided description of a function.
+ "environmentVariables": { # Environment variables that shall be available during function execution.
+ "a_key": "A String",
+ },
+ "status": "A String", # Output only. Status of the function deployment.
+ "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
+ # service.
+ "eventType": "A String", # Required. The type of event to observe. For example:
+ # `providers/cloud.storage/eventTypes/object.change` and
+ # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ #
+ # Event types match pattern `providers/*/eventTypes/*.*`.
+ # The pattern contains:
+ #
+ # 1. namespace: For example, `cloud.storage` and
+ # `google.firebase.analytics`.
+ # 2. resource type: The type of resource on which event occurs. For
+ # example, the Google Cloud Storage API includes the type `object`.
+ # 3. action: The action that generates the event. For example, action for
+ # a Google Cloud Storage Object is 'change'.
+ # These parts are lower case.
+ "resource": "A String", # Required. The resource(s) from which to observe events, for example,
+ # `projects/_/buckets/myBucket`.
+ #
+ # Not all syntactically correct values are accepted by all services. For
+ # example:
+ #
+ # 1. The authorization model must support it. Google Cloud Functions
+ # only allows EventTriggers to be deployed that observe resources in the
+ # same project as the `CloudFunction`.
+ # 2. The resource type must match the pattern expected for an
+ # `event_type`. For example, an `EventTrigger` that has an
+ # `event_type` of "google.pubsub.topic.publish" should have a resource
+ # that matches Google Cloud Pub/Sub topics.
+ #
+ # Additionally, some services may support short names when creating an
+ # `EventTrigger`. These will always be returned in the normalized "long"
+ # format.
+ #
+ # See each *service's* documentation for supported formats.
+ "service": "A String", # The hostname of the service that should be observed.
+ #
+ # If no string is provided, the default service implementing the API will
+ # be used. For example, `storage.googleapis.com` is the default for all
+ # event types in the `google.storage` namespace.
+ "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
+ # If empty, then defaults to ignoring failures (i.e. not retrying them).
+ "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
+ # A function execution will be retried on any failure.
+ # A failed execution will be retried up to 7 days with an exponential backoff
+ # (capped at 10 seconds).
+ # Retried execution is charged as any other execution.
+ },
},
},
- "eventType": "A String", # Required. The type of event to observe. For example:
- # `providers/cloud.storage/eventTypes/object.change` and
- # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
+ # by google.cloud.functions.v1.GenerateUploadUrl
+ "timeout": "A String", # The function execution timeout. Execution is considered failed and
+ # can be terminated if the function is not completed at the end of the
+ # timeout period. Defaults to 60 seconds.
+ "availableMemoryMb": 42, # The amount of memory in MB available for a function.
+ # Defaults to 256MB.
+ "name": "A String", # A user-defined name of the function. Function names must be unique
+ # globally and match pattern `projects/*/locations/*/functions/*`
+ "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
+ # function, optional when updating an existing function. For a complete
+ # list of possible choices, see the
+ # [`gcloud` command
+ # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
+ "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
+ # results in a new version of a function being created.
+ "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
+ # archive which contains the function.
+ "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
#
- # Event types match pattern `providers/*/eventTypes/*.*`.
- # The pattern contains:
+ # The source repository where a function is hosted.
+ # source repository where a function is hosted.
+ "url": "A String", # The URL pointing to the hosted repository where the function is defined.
+ # There are supported Cloud Source Repository URLs in the following
+ # formats:
+ #
+ # To refer to a specific commit:
+ # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
+ # To refer to a moveable alias (branch):
+ # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
+ # In particular, to refer to HEAD use `master` moveable alias.
+ # To refer to a specific fixed alias (tag):
+ # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
+ #
+ # You may omit `paths/*` if you want to use the main directory.
+ "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
+ # were defined at the time of deployment. It always points to a specific
+ # commit in the format described above.
+ },
+ "network": "A String", # The VPC Network that this cloud function can connect to. It can be
+ # either the fully-qualified URI, or the short name of the network resource.
+ # If the short network name is used, the network must belong to the same
+ # project. Otherwise, it must belong to a project within the same
+ # organization. The format of this field is either
+ # `projects/{project}/global/networks/{network}` or `{network}`, where
+ # {project} is a project id where the network is defined, and {network} is
+ # the short name of the network.
#
- # 1. namespace: For example, `cloud.storage` and
- # `google.firebase.analytics`.
- # 2. resource type: The type of resource on which event occurs. For
- # example, the Google Cloud Storage API includes the type `object`.
- # 3. action: The action that generates the event. For example, action for
- # a Google Cloud Storage Object is 'change'.
- # These parts are lower case.
- "resource": "A String", # Required. The resource(s) from which to observe events, for example,
- # `projects/_/buckets/myBucket`.
+ # This field is mutually exclusive with `vpc_connector` and will be replaced
+ # by it.
#
- # Not all syntactically correct values are accepted by all services. For
- # example:
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
+ # be either the fully-qualified URI, or the short name of the network
+ # connector resource. The format of this field is
+ # `projects/*/locations/*/connectors/*`
#
- # 1. The authorization model must support it. Google Cloud Functions
- # only allows EventTriggers to be deployed that observe resources in the
- # same project as the `CloudFunction`.
- # 2. The resource type must match the pattern expected for an
- # `event_type`. For example, an `EventTrigger` that has an
- # `event_type` of "google.pubsub.topic.publish" should have a resource
- # that matches Google Cloud Pub/Sub topics.
+ # This field is mutually exclusive with `network` field and will eventually
+ # replace it.
#
- # Additionally, some services may support short names when creating an
- # `EventTrigger`. These will always be returned in the normalized "long"
- # format.
- #
- # See each *service's* documentation for supported formats.
- "service": "A String", # The hostname of the service that should be observed.
- #
- # If no string is provided, the default service implementing the API will
- # be used. For example, `storage.googleapis.com` is the default for all
- # event types in the `google.storage` namespace.
- },
- "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
- # by google.cloud.functions.v1.GenerateUploadUrl
- "availableMemoryMb": 42, # The amount of memory in MB available for a function.
- # Defaults to 256MB.
- "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
- # function, optional when updating an existing function. For a complete
- # list of possible choices, see the
- # [`gcloud` command
- # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
- "name": "A String", # A user-defined name of the function. Function names must be unique
- # globally and match pattern `projects/*/locations/*/functions/*`
- "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
- # results in a new version of a function being created.
- }</pre>
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "entryPoint": "A String", # The name of the function (as defined in source code) that will be
+ # executed. Defaults to the resource name suffix, if not specified. For
+ # backward compatibility, if function with given name is not found, then the
+ # system will try to use function named "function".
+ # For Node.js this is name of a function exported by the module specified
+ # in `source_location`.
+ "labels": { # Labels associated with this Cloud Function.
+ "a_key": "A String",
+ },
+ "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
+ }</pre>
</div>
<div class="method">
@@ -752,18 +752,6 @@
#
# For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
- "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
- # prevent simultaneous updates of a policy from overwriting each other.
- # It is strongly suggested that systems make use of the `etag` in the
- # read-modify-write cycle to perform policy updates in order to avoid race
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
- # systems are expected to put that etag in the request to `setIamPolicy` to
- # ensure that their change will be applied to the same version of the policy.
- #
- # **Important:** If you use IAM Conditions, you must include the `etag` field
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
- # you to overwrite a version `3` policy with a version `1` policy, and all of
- # the conditions in the version `3` policy are lost.
"version": 42, # Specifies the format of the policy.
#
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
@@ -863,12 +851,12 @@
#
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# jose@example.com from DATA_READ logging.
- "logType": "A String", # The log type that this config enables.
"exemptedMembers": [ # Specifies the identities that do not cause logging for this type of
# permission.
# Follows the same format of Binding.members.
"A String",
],
+ "logType": "A String", # The log type that this config enables.
},
],
},
@@ -919,15 +907,15 @@
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
- "description": "A String", # Optional. Description of the expression. This is a longer text which
- # describes the expression, e.g. when hovered over it in a UI.
- "expression": "A String", # Textual representation of an expression in Common Expression Language
- # syntax.
"title": "A String", # Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
"location": "A String", # Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
+ "description": "A String", # Optional. Description of the expression. This is a longer text which
+ # describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language
+ # syntax.
},
"members": [ # Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
@@ -978,6 +966,18 @@
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
},
],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
+ # prevent simultaneous updates of a policy from overwriting each other.
+ # It is strongly suggested that systems make use of the `etag` in the
+ # read-modify-write cycle to perform policy updates in order to avoid race
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+ # systems are expected to put that etag in the request to `setIamPolicy` to
+ # ensure that their change will be applied to the same version of the policy.
+ #
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
+ # the conditions in the version `3` policy are lost.
}</pre>
</div>
@@ -1006,158 +1006,158 @@
An object of the form:
{ # Response for the `ListFunctions` method.
- "nextPageToken": "A String", # If not empty, indicates that there may be more functions that match
- # the request; this value should be passed in a new
- # google.cloud.functions.v1.ListFunctionsRequest
- # to get more functions.
"unreachable": [ # Locations that could not be reached. The response does not include any
# functions from these locations.
"A String",
],
"functions": [ # The functions that match the request.
{ # Describes a Cloud Function that contains user computation executed in
- # response to an event. It encapsulate function and triggers configurations.
- "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
- # archive which contains the function.
- "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
- #
- # The source repository where a function is hosted.
- # source repository where a function is hosted.
- "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
- # were defined at the time of deployment. It always points to a specific
- # commit in the format described above.
- "url": "A String", # The URL pointing to the hosted repository where the function is defined.
- # There are supported Cloud Source Repository URLs in the following
- # formats:
- #
- # To refer to a specific commit:
- # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
- # To refer to a moveable alias (branch):
- # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
- # In particular, to refer to HEAD use `master` moveable alias.
- # To refer to a specific fixed alias (tag):
- # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- #
- # You may omit `paths/*` if you want to use the main directory.
- },
- "network": "A String", # The VPC Network that this cloud function can connect to. It can be
- # either the fully-qualified URI, or the short name of the network resource.
- # If the short network name is used, the network must belong to the same
- # project. Otherwise, it must belong to a project within the same
- # organization. The format of this field is either
- # `projects/{project}/global/networks/{network}` or `{network}`, where
- # {project} is a project id where the network is defined, and {network} is
- # the short name of the network.
- #
- # This field is mutually exclusive with `vpc_connector` and will be replaced
- # by it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
- # be either the fully-qualified URI, or the short name of the network
- # connector resource. The format of this field is
- # `projects/*/locations/*/connectors/*`
- #
- # This field is mutually exclusive with `network` field and will eventually
- # replace it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "entryPoint": "A String", # The name of the function (as defined in source code) that will be
- # executed. Defaults to the resource name suffix, if not specified. For
- # backward compatibility, if function with given name is not found, then the
- # system will try to use function named "function".
- # For Node.js this is name of a function exported by the module specified
- # in `source_location`.
- "labels": { # Labels associated with this Cloud Function.
- "a_key": "A String",
- },
- "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
- "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
- # through it.
- "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
- # it.
- "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
- "url": "A String", # Output only. The deployed url for the function.
- },
- "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
- # `{project_id}@appspot.gserviceaccount.com`.
- "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
- # given time.
- "description": "A String", # User-provided description of a function.
- "environmentVariables": { # Environment variables that shall be available during function execution.
- "a_key": "A String",
- },
- "timeout": "A String", # The function execution timeout. Execution is considered failed and
- # can be terminated if the function is not completed at the end of the
- # timeout period. Defaults to 60 seconds.
- "status": "A String", # Output only. Status of the function deployment.
- "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
- # service.
- "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
- "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
- # A function execution will be retried on any failure.
- # A failed execution will be retried up to 7 days with an exponential backoff
- # (capped at 10 seconds).
- # Retried execution is charged as any other execution.
+ # response to an event. It encapsulate function and triggers configurations.
+ "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
+ "url": "A String", # Output only. The deployed url for the function.
+ },
+ "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
+ # through it.
+ "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
+ # it.
+ "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
+ # `{project_id}@appspot.gserviceaccount.com`.
+ "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
+ # given time.
+ "description": "A String", # User-provided description of a function.
+ "environmentVariables": { # Environment variables that shall be available during function execution.
+ "a_key": "A String",
+ },
+ "status": "A String", # Output only. Status of the function deployment.
+ "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
+ # service.
+ "eventType": "A String", # Required. The type of event to observe. For example:
+ # `providers/cloud.storage/eventTypes/object.change` and
+ # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ #
+ # Event types match pattern `providers/*/eventTypes/*.*`.
+ # The pattern contains:
+ #
+ # 1. namespace: For example, `cloud.storage` and
+ # `google.firebase.analytics`.
+ # 2. resource type: The type of resource on which event occurs. For
+ # example, the Google Cloud Storage API includes the type `object`.
+ # 3. action: The action that generates the event. For example, action for
+ # a Google Cloud Storage Object is 'change'.
+ # These parts are lower case.
+ "resource": "A String", # Required. The resource(s) from which to observe events, for example,
+ # `projects/_/buckets/myBucket`.
+ #
+ # Not all syntactically correct values are accepted by all services. For
+ # example:
+ #
+ # 1. The authorization model must support it. Google Cloud Functions
+ # only allows EventTriggers to be deployed that observe resources in the
+ # same project as the `CloudFunction`.
+ # 2. The resource type must match the pattern expected for an
+ # `event_type`. For example, an `EventTrigger` that has an
+ # `event_type` of "google.pubsub.topic.publish" should have a resource
+ # that matches Google Cloud Pub/Sub topics.
+ #
+ # Additionally, some services may support short names when creating an
+ # `EventTrigger`. These will always be returned in the normalized "long"
+ # format.
+ #
+ # See each *service's* documentation for supported formats.
+ "service": "A String", # The hostname of the service that should be observed.
+ #
+ # If no string is provided, the default service implementing the API will
+ # be used. For example, `storage.googleapis.com` is the default for all
+ # event types in the `google.storage` namespace.
+ "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
+ # If empty, then defaults to ignoring failures (i.e. not retrying them).
+ "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
+ # A function execution will be retried on any failure.
+ # A failed execution will be retried up to 7 days with an exponential backoff
+ # (capped at 10 seconds).
+ # Retried execution is charged as any other execution.
+ },
},
},
- "eventType": "A String", # Required. The type of event to observe. For example:
- # `providers/cloud.storage/eventTypes/object.change` and
- # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
+ # by google.cloud.functions.v1.GenerateUploadUrl
+ "timeout": "A String", # The function execution timeout. Execution is considered failed and
+ # can be terminated if the function is not completed at the end of the
+ # timeout period. Defaults to 60 seconds.
+ "availableMemoryMb": 42, # The amount of memory in MB available for a function.
+ # Defaults to 256MB.
+ "name": "A String", # A user-defined name of the function. Function names must be unique
+ # globally and match pattern `projects/*/locations/*/functions/*`
+ "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
+ # function, optional when updating an existing function. For a complete
+ # list of possible choices, see the
+ # [`gcloud` command
+ # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
+ "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
+ # results in a new version of a function being created.
+ "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
+ # archive which contains the function.
+ "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
#
- # Event types match pattern `providers/*/eventTypes/*.*`.
- # The pattern contains:
+ # The source repository where a function is hosted.
+ # source repository where a function is hosted.
+ "url": "A String", # The URL pointing to the hosted repository where the function is defined.
+ # There are supported Cloud Source Repository URLs in the following
+ # formats:
+ #
+ # To refer to a specific commit:
+ # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
+ # To refer to a moveable alias (branch):
+ # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
+ # In particular, to refer to HEAD use `master` moveable alias.
+ # To refer to a specific fixed alias (tag):
+ # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
+ #
+ # You may omit `paths/*` if you want to use the main directory.
+ "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
+ # were defined at the time of deployment. It always points to a specific
+ # commit in the format described above.
+ },
+ "network": "A String", # The VPC Network that this cloud function can connect to. It can be
+ # either the fully-qualified URI, or the short name of the network resource.
+ # If the short network name is used, the network must belong to the same
+ # project. Otherwise, it must belong to a project within the same
+ # organization. The format of this field is either
+ # `projects/{project}/global/networks/{network}` or `{network}`, where
+ # {project} is a project id where the network is defined, and {network} is
+ # the short name of the network.
#
- # 1. namespace: For example, `cloud.storage` and
- # `google.firebase.analytics`.
- # 2. resource type: The type of resource on which event occurs. For
- # example, the Google Cloud Storage API includes the type `object`.
- # 3. action: The action that generates the event. For example, action for
- # a Google Cloud Storage Object is 'change'.
- # These parts are lower case.
- "resource": "A String", # Required. The resource(s) from which to observe events, for example,
- # `projects/_/buckets/myBucket`.
+ # This field is mutually exclusive with `vpc_connector` and will be replaced
+ # by it.
#
- # Not all syntactically correct values are accepted by all services. For
- # example:
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
+ # be either the fully-qualified URI, or the short name of the network
+ # connector resource. The format of this field is
+ # `projects/*/locations/*/connectors/*`
#
- # 1. The authorization model must support it. Google Cloud Functions
- # only allows EventTriggers to be deployed that observe resources in the
- # same project as the `CloudFunction`.
- # 2. The resource type must match the pattern expected for an
- # `event_type`. For example, an `EventTrigger` that has an
- # `event_type` of "google.pubsub.topic.publish" should have a resource
- # that matches Google Cloud Pub/Sub topics.
+ # This field is mutually exclusive with `network` field and will eventually
+ # replace it.
#
- # Additionally, some services may support short names when creating an
- # `EventTrigger`. These will always be returned in the normalized "long"
- # format.
- #
- # See each *service's* documentation for supported formats.
- "service": "A String", # The hostname of the service that should be observed.
- #
- # If no string is provided, the default service implementing the API will
- # be used. For example, `storage.googleapis.com` is the default for all
- # event types in the `google.storage` namespace.
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "entryPoint": "A String", # The name of the function (as defined in source code) that will be
+ # executed. Defaults to the resource name suffix, if not specified. For
+ # backward compatibility, if function with given name is not found, then the
+ # system will try to use function named "function".
+ # For Node.js this is name of a function exported by the module specified
+ # in `source_location`.
+ "labels": { # Labels associated with this Cloud Function.
+ "a_key": "A String",
+ },
+ "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
},
- "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
- # by google.cloud.functions.v1.GenerateUploadUrl
- "availableMemoryMb": 42, # The amount of memory in MB available for a function.
- # Defaults to 256MB.
- "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
- # function, optional when updating an existing function. For a complete
- # list of possible choices, see the
- # [`gcloud` command
- # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
- "name": "A String", # A user-defined name of the function. Function names must be unique
- # globally and match pattern `projects/*/locations/*/functions/*`
- "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
- # results in a new version of a function being created.
- },
],
+ "nextPageToken": "A String", # If not empty, indicates that there may be more functions that match
+ # the request; this value should be passed in a new
+ # google.cloud.functions.v1.ListFunctionsRequest
+ # to get more functions.
}</pre>
</div>
@@ -1186,147 +1186,147 @@
The object takes the form of:
{ # Describes a Cloud Function that contains user computation executed in
- # response to an event. It encapsulate function and triggers configurations.
- "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
- # archive which contains the function.
- "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
- #
- # The source repository where a function is hosted.
- # source repository where a function is hosted.
- "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
- # were defined at the time of deployment. It always points to a specific
- # commit in the format described above.
- "url": "A String", # The URL pointing to the hosted repository where the function is defined.
- # There are supported Cloud Source Repository URLs in the following
- # formats:
- #
- # To refer to a specific commit:
- # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
- # To refer to a moveable alias (branch):
- # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
- # In particular, to refer to HEAD use `master` moveable alias.
- # To refer to a specific fixed alias (tag):
- # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
- #
- # You may omit `paths/*` if you want to use the main directory.
- },
- "network": "A String", # The VPC Network that this cloud function can connect to. It can be
- # either the fully-qualified URI, or the short name of the network resource.
- # If the short network name is used, the network must belong to the same
- # project. Otherwise, it must belong to a project within the same
- # organization. The format of this field is either
- # `projects/{project}/global/networks/{network}` or `{network}`, where
- # {project} is a project id where the network is defined, and {network} is
- # the short name of the network.
- #
- # This field is mutually exclusive with `vpc_connector` and will be replaced
- # by it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
- # be either the fully-qualified URI, or the short name of the network
- # connector resource. The format of this field is
- # `projects/*/locations/*/connectors/*`
- #
- # This field is mutually exclusive with `network` field and will eventually
- # replace it.
- #
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
- # more information on connecting Cloud projects.
- "entryPoint": "A String", # The name of the function (as defined in source code) that will be
- # executed. Defaults to the resource name suffix, if not specified. For
- # backward compatibility, if function with given name is not found, then the
- # system will try to use function named "function".
- # For Node.js this is name of a function exported by the module specified
- # in `source_location`.
- "labels": { # Labels associated with this Cloud Function.
- "a_key": "A String",
- },
- "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
- "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
- # through it.
- "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
- # it.
- "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
- "url": "A String", # Output only. The deployed url for the function.
- },
- "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
- # `{project_id}@appspot.gserviceaccount.com`.
- "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
- # given time.
- "description": "A String", # User-provided description of a function.
- "environmentVariables": { # Environment variables that shall be available during function execution.
- "a_key": "A String",
- },
- "timeout": "A String", # The function execution timeout. Execution is considered failed and
- # can be terminated if the function is not completed at the end of the
- # timeout period. Defaults to 60 seconds.
- "status": "A String", # Output only. Status of the function deployment.
- "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
- # service.
- "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
- "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
- # A function execution will be retried on any failure.
- # A failed execution will be retried up to 7 days with an exponential backoff
- # (capped at 10 seconds).
- # Retried execution is charged as any other execution.
+ # response to an event. It encapsulate function and triggers configurations.
+ "httpsTrigger": { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
+ "url": "A String", # Output only. The deployed url for the function.
+ },
+ "vpcConnectorEgressSettings": "A String", # The egress settings for the connector, controlling what traffic is diverted
+ # through it.
+ "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach
+ # it.
+ "serviceAccountEmail": "A String", # The email of the function's service account. If empty, defaults to
+ # `{project_id}@appspot.gserviceaccount.com`.
+ "maxInstances": 42, # The limit on the maximum number of function instances that may coexist at a
+ # given time.
+ "description": "A String", # User-provided description of a function.
+ "environmentVariables": { # Environment variables that shall be available during function execution.
+ "a_key": "A String",
+ },
+ "status": "A String", # Output only. Status of the function deployment.
+ "eventTrigger": { # Describes EventTrigger, used to request events be sent from another # A source that fires events in response to a condition in another service.
+ # service.
+ "eventType": "A String", # Required. The type of event to observe. For example:
+ # `providers/cloud.storage/eventTypes/object.change` and
+ # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ #
+ # Event types match pattern `providers/*/eventTypes/*.*`.
+ # The pattern contains:
+ #
+ # 1. namespace: For example, `cloud.storage` and
+ # `google.firebase.analytics`.
+ # 2. resource type: The type of resource on which event occurs. For
+ # example, the Google Cloud Storage API includes the type `object`.
+ # 3. action: The action that generates the event. For example, action for
+ # a Google Cloud Storage Object is 'change'.
+ # These parts are lower case.
+ "resource": "A String", # Required. The resource(s) from which to observe events, for example,
+ # `projects/_/buckets/myBucket`.
+ #
+ # Not all syntactically correct values are accepted by all services. For
+ # example:
+ #
+ # 1. The authorization model must support it. Google Cloud Functions
+ # only allows EventTriggers to be deployed that observe resources in the
+ # same project as the `CloudFunction`.
+ # 2. The resource type must match the pattern expected for an
+ # `event_type`. For example, an `EventTrigger` that has an
+ # `event_type` of "google.pubsub.topic.publish" should have a resource
+ # that matches Google Cloud Pub/Sub topics.
+ #
+ # Additionally, some services may support short names when creating an
+ # `EventTrigger`. These will always be returned in the normalized "long"
+ # format.
+ #
+ # See each *service's* documentation for supported formats.
+ "service": "A String", # The hostname of the service that should be observed.
+ #
+ # If no string is provided, the default service implementing the API will
+ # be used. For example, `storage.googleapis.com` is the default for all
+ # event types in the `google.storage` namespace.
+ "failurePolicy": { # Describes the policy in case of function's execution failure. # Specifies policy for failed executions.
+ # If empty, then defaults to ignoring failures (i.e. not retrying them).
+ "retry": { # Describes the retry policy in case of function's execution failure. # If specified, then the function will be retried in case of a failure.
+ # A function execution will be retried on any failure.
+ # A failed execution will be retried up to 7 days with an exponential backoff
+ # (capped at 10 seconds).
+ # Retried execution is charged as any other execution.
+ },
},
},
- "eventType": "A String", # Required. The type of event to observe. For example:
- # `providers/cloud.storage/eventTypes/object.change` and
- # `providers/cloud.pubsub/eventTypes/topic.publish`.
- #
- # Event types match pattern `providers/*/eventTypes/*.*`.
- # The pattern contains:
- #
- # 1. namespace: For example, `cloud.storage` and
- # `google.firebase.analytics`.
- # 2. resource type: The type of resource on which event occurs. For
- # example, the Google Cloud Storage API includes the type `object`.
- # 3. action: The action that generates the event. For example, action for
- # a Google Cloud Storage Object is 'change'.
- # These parts are lower case.
- "resource": "A String", # Required. The resource(s) from which to observe events, for example,
- # `projects/_/buckets/myBucket`.
- #
- # Not all syntactically correct values are accepted by all services. For
- # example:
- #
- # 1. The authorization model must support it. Google Cloud Functions
- # only allows EventTriggers to be deployed that observe resources in the
- # same project as the `CloudFunction`.
- # 2. The resource type must match the pattern expected for an
- # `event_type`. For example, an `EventTrigger` that has an
- # `event_type` of "google.pubsub.topic.publish" should have a resource
- # that matches Google Cloud Pub/Sub topics.
- #
- # Additionally, some services may support short names when creating an
- # `EventTrigger`. These will always be returned in the normalized "long"
- # format.
- #
- # See each *service's* documentation for supported formats.
- "service": "A String", # The hostname of the service that should be observed.
- #
- # If no string is provided, the default service implementing the API will
- # be used. For example, `storage.googleapis.com` is the default for all
- # event types in the `google.storage` namespace.
- },
- "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
- # by google.cloud.functions.v1.GenerateUploadUrl
- "availableMemoryMb": 42, # The amount of memory in MB available for a function.
- # Defaults to 256MB.
- "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
- # function, optional when updating an existing function. For a complete
- # list of possible choices, see the
- # [`gcloud` command
- # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
- "name": "A String", # A user-defined name of the function. Function names must be unique
- # globally and match pattern `projects/*/locations/*/functions/*`
- "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
- # results in a new version of a function being created.
-}
+ "sourceUploadUrl": "A String", # The Google Cloud Storage signed URL used for source uploading, generated
+ # by google.cloud.functions.v1.GenerateUploadUrl
+ "timeout": "A String", # The function execution timeout. Execution is considered failed and
+ # can be terminated if the function is not completed at the end of the
+ # timeout period. Defaults to 60 seconds.
+ "availableMemoryMb": 42, # The amount of memory in MB available for a function.
+ # Defaults to 256MB.
+ "name": "A String", # A user-defined name of the function. Function names must be unique
+ # globally and match pattern `projects/*/locations/*/functions/*`
+ "runtime": "A String", # The runtime in which to run the function. Required when deploying a new
+ # function, optional when updating an existing function. For a complete
+ # list of possible choices, see the
+ # [`gcloud` command
+ # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
+ "versionId": "A String", # Output only. The version identifier of the Cloud Function. Each deployment attempt
+ # results in a new version of a function being created.
+ "sourceArchiveUrl": "A String", # The Google Cloud Storage URL, starting with gs://, pointing to the zip
+ # archive which contains the function.
+ "sourceRepository": { # Describes SourceRepository, used to represent parameters related to # **Beta Feature**
+ #
+ # The source repository where a function is hosted.
+ # source repository where a function is hosted.
+ "url": "A String", # The URL pointing to the hosted repository where the function is defined.
+ # There are supported Cloud Source Repository URLs in the following
+ # formats:
+ #
+ # To refer to a specific commit:
+ # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
+ # To refer to a moveable alias (branch):
+ # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
+ # In particular, to refer to HEAD use `master` moveable alias.
+ # To refer to a specific fixed alias (tag):
+ # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
+ #
+ # You may omit `paths/*` if you want to use the main directory.
+ "deployedUrl": "A String", # Output only. The URL pointing to the hosted repository where the function
+ # were defined at the time of deployment. It always points to a specific
+ # commit in the format described above.
+ },
+ "network": "A String", # The VPC Network that this cloud function can connect to. It can be
+ # either the fully-qualified URI, or the short name of the network resource.
+ # If the short network name is used, the network must belong to the same
+ # project. Otherwise, it must belong to a project within the same
+ # organization. The format of this field is either
+ # `projects/{project}/global/networks/{network}` or `{network}`, where
+ # {project} is a project id where the network is defined, and {network} is
+ # the short name of the network.
+ #
+ # This field is mutually exclusive with `vpc_connector` and will be replaced
+ # by it.
+ #
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "vpcConnector": "A String", # The VPC Network Connector that this cloud function can connect to. It can
+ # be either the fully-qualified URI, or the short name of the network
+ # connector resource. The format of this field is
+ # `projects/*/locations/*/connectors/*`
+ #
+ # This field is mutually exclusive with `network` field and will eventually
+ # replace it.
+ #
+ # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
+ # more information on connecting Cloud projects.
+ "entryPoint": "A String", # The name of the function (as defined in source code) that will be
+ # executed. Defaults to the resource name suffix, if not specified. For
+ # backward compatibility, if function with given name is not found, then the
+ # system will try to use function named "function".
+ # For Node.js this is name of a function exported by the module specified
+ # in `source_location`.
+ "labels": { # Labels associated with this Cloud Function.
+ "a_key": "A String",
+ },
+ "updateTime": "A String", # Output only. The last update timestamp of a Cloud Function.
+ }
updateMask: string, Required list of fields to be updated in this request.
x__xgafv: string, V1 error format.
@@ -1339,30 +1339,6 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
- "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
- # different programming environments, including REST APIs and RPC APIs. It is
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
- # three pieces of data: error code, error message, and error details.
- #
- # You can find out more about this error model and how to work with it in the
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
- "details": [ # A list of messages that carry the error details. There is a common set of
- # message types for APIs to use.
- {
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
- ],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- },
- "metadata": { # Service-specific metadata associated with the operation. It typically
- # contains progress information and common metadata such as create time.
- # Some services might not provide such metadata. Any method that returns a
- # long-running operation should document the metadata type, if any.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
@@ -1379,6 +1355,30 @@
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
+ "error": { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
+ # three pieces of data: error code, error message, and error details.
+ #
+ # You can find out more about this error model and how to work with it in the
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ "details": [ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
}</pre>
</div>
@@ -1464,18 +1464,6 @@
#
# For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
- "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
- # prevent simultaneous updates of a policy from overwriting each other.
- # It is strongly suggested that systems make use of the `etag` in the
- # read-modify-write cycle to perform policy updates in order to avoid race
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
- # systems are expected to put that etag in the request to `setIamPolicy` to
- # ensure that their change will be applied to the same version of the policy.
- #
- # **Important:** If you use IAM Conditions, you must include the `etag` field
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
- # you to overwrite a version `3` policy with a version `1` policy, and all of
- # the conditions in the version `3` policy are lost.
"version": 42, # Specifies the format of the policy.
#
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
@@ -1575,12 +1563,12 @@
#
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# jose@example.com from DATA_READ logging.
- "logType": "A String", # The log type that this config enables.
"exemptedMembers": [ # Specifies the identities that do not cause logging for this type of
# permission.
# Follows the same format of Binding.members.
"A String",
],
+ "logType": "A String", # The log type that this config enables.
},
],
},
@@ -1631,15 +1619,15 @@
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
- "description": "A String", # Optional. Description of the expression. This is a longer text which
- # describes the expression, e.g. when hovered over it in a UI.
- "expression": "A String", # Textual representation of an expression in Common Expression Language
- # syntax.
"title": "A String", # Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
"location": "A String", # Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
+ "description": "A String", # Optional. Description of the expression. This is a longer text which
+ # describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language
+ # syntax.
},
"members": [ # Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
@@ -1690,6 +1678,18 @@
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
},
],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
+ # prevent simultaneous updates of a policy from overwriting each other.
+ # It is strongly suggested that systems make use of the `etag` in the
+ # read-modify-write cycle to perform policy updates in order to avoid race
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+ # systems are expected to put that etag in the request to `setIamPolicy` to
+ # ensure that their change will be applied to the same version of the policy.
+ #
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
+ # the conditions in the version `3` policy are lost.
},
"updateMask": "A String", # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
# the fields in the mask will be modified. If no mask is provided, the
@@ -1773,18 +1773,6 @@
#
# For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
- "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
- # prevent simultaneous updates of a policy from overwriting each other.
- # It is strongly suggested that systems make use of the `etag` in the
- # read-modify-write cycle to perform policy updates in order to avoid race
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
- # systems are expected to put that etag in the request to `setIamPolicy` to
- # ensure that their change will be applied to the same version of the policy.
- #
- # **Important:** If you use IAM Conditions, you must include the `etag` field
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
- # you to overwrite a version `3` policy with a version `1` policy, and all of
- # the conditions in the version `3` policy are lost.
"version": 42, # Specifies the format of the policy.
#
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
@@ -1884,12 +1872,12 @@
#
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# jose@example.com from DATA_READ logging.
- "logType": "A String", # The log type that this config enables.
"exemptedMembers": [ # Specifies the identities that do not cause logging for this type of
# permission.
# Follows the same format of Binding.members.
"A String",
],
+ "logType": "A String", # The log type that this config enables.
},
],
},
@@ -1940,15 +1928,15 @@
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
- "description": "A String", # Optional. Description of the expression. This is a longer text which
- # describes the expression, e.g. when hovered over it in a UI.
- "expression": "A String", # Textual representation of an expression in Common Expression Language
- # syntax.
"title": "A String", # Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
"location": "A String", # Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
+ "description": "A String", # Optional. Description of the expression. This is a longer text which
+ # describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language
+ # syntax.
},
"members": [ # Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
@@ -1999,6 +1987,18 @@
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
},
],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
+ # prevent simultaneous updates of a policy from overwriting each other.
+ # It is strongly suggested that systems make use of the `etag` in the
+ # read-modify-write cycle to perform policy updates in order to avoid race
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+ # systems are expected to put that etag in the request to `setIamPolicy` to
+ # ensure that their change will be applied to the same version of the policy.
+ #
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
+ # the conditions in the version `3` policy are lost.
}</pre>
</div>