Class UpdateConnectionRequest (3.21.0)

UpdateConnectionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for updating a Connection.

Attributes

NameDescription
connection google.cloud.devtools.cloudbuild_v2.types.Connection
Required. The Connection to update.
update_mask google.protobuf.field_mask_pb2.FieldMask
The list of fields to be updated.
allow_missing bool
If set to true, and the connection is not found a new connection will be created. In this situation update_mask is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).
etag str
The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.