Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::UpdateConnectionRequest.
Message for updating a Connection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_missing
def allow_missing() -> ::Boolean
Returns
-
(::Boolean) — 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).
#allow_missing=
def allow_missing=(value) -> ::Boolean
Parameter
-
value (::Boolean) — 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).
Returns
-
(::Boolean) — 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).
#connection
def connection() -> ::Google::Cloud::Build::V2::Connection
Returns
- (::Google::Cloud::Build::V2::Connection) — Required. The Connection to update.
#connection=
def connection=(value) -> ::Google::Cloud::Build::V2::Connection
Parameter
- value (::Google::Cloud::Build::V2::Connection) — Required. The Connection to update.
Returns
- (::Google::Cloud::Build::V2::Connection) — Required. The Connection to update.
#etag
def etag() -> ::String
Returns
- (::String) — 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.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — The list of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.