class Google::Apis::ConnectorsV1::LockConfig

Determines whether or no a connection is locked. If locked, a reason must be specified.

Attributes

locked[RW]

Indicates whether or not the connection is locked. Corresponds to the JSON property ‘locked` @return [Boolean]

locked?[RW]

Indicates whether or not the connection is locked. Corresponds to the JSON property ‘locked` @return [Boolean]

reason[RW]

Describes why a connection is locked. Corresponds to the JSON property ‘reason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 1294
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 1299
def update!(**args)
  @locked = args[:locked] if args.key?(:locked)
  @reason = args[:reason] if args.key?(:reason)
end