Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::UpdateConnectionRequest.
Request message for UpdateConnection.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#connection
def connection() -> ::Google::Cloud::Dlp::V2::Connection Returns 
 - (::Google::Cloud::Dlp::V2::Connection) — Required. The connection with new values for the relevant fields.
 
#connection=
def connection=(value) -> ::Google::Cloud::Dlp::V2::Connection Parameter 
 - value (::Google::Cloud::Dlp::V2::Connection) — Required. The connection with new values for the relevant fields.
 
 Returns 
 - (::Google::Cloud::Dlp::V2::Connection) — Required. The connection with new values for the relevant fields.
 
#name
def name() -> ::String Returns 
 -  (::String) — Required. Resource name in the format: 
projects/{project}/locations/{location}/connections/{connection}. 
#name=
def name=(value) -> ::String Parameter 
 -  value (::String) — Required. Resource name in the format: 
projects/{project}/locations/{location}/connections/{connection}. 
 Returns 
 -  (::String) — Required. Resource name in the format: 
projects/{project}/locations/{location}/connections/{connection}. 
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask Returns 
 - (::Google::Protobuf::FieldMask) — Optional. Mask to control which fields get updated.
 
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask Parameter 
 - value (::Google::Protobuf::FieldMask) — Optional. Mask to control which fields get updated.
 
 Returns 
 - (::Google::Protobuf::FieldMask) — Optional. Mask to control which fields get updated.