Class: Google::Apis::OracledatabaseV1::GoldengateDeploymentLock

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb

Overview

The lock of the GoldengateDeployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoldengateDeploymentLock

Returns a new instance of GoldengateDeploymentLock.



5039
5040
5041
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5039

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#compartment_idString

Output only. The compartment id. Corresponds to the JSON property compartmentId

Returns:

  • (String)


5017
5018
5019
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5017

def compartment_id
  @compartment_id
end

#create_timeString

Output only. The time created. Corresponds to the JSON property createTime

Returns:

  • (String)


5022
5023
5024
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5022

def create_time
  @create_time
end

#messageString

Output only. The message. Corresponds to the JSON property message

Returns:

  • (String)


5027
5028
5029
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5027

def message
  @message
end

Output only. The related resource id. Corresponds to the JSON property relatedResourceId

Returns:

  • (String)


5032
5033
5034
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5032

def related_resource_id
  @related_resource_id
end

#typeString

Output only. The type of lock. Corresponds to the JSON property type

Returns:

  • (String)


5037
5038
5039
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5037

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5044
5045
5046
5047
5048
5049
5050
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5044

def update!(**args)
  @compartment_id = args[:compartment_id] if args.key?(:compartment_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @message = args[:message] if args.key?(:message)
  @related_resource_id = args[:related_resource_id] if args.key?(:related_resource_id)
  @type = args[:type] if args.key?(:type)
end