Class: Google::Cloud::Build::V2::UpdateConnectionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v2/repositories.rb

Overview

Message for updating a Connection.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_missing::Boolean

Returns 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).



461
462
463
464
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 461

class UpdateConnectionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#connection::Google::Cloud::Build::V2::Connection

Returns Required. The Connection to update.

Returns:



461
462
463
464
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 461

class UpdateConnectionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#etag::String

Returns 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.



461
462
463
464
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 461

class UpdateConnectionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_mask::Google::Protobuf::FieldMask

Returns The list of fields to be updated.

Returns:



461
462
463
464
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 461

class UpdateConnectionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end