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.



4908
4909
4910
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4908

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

Instance Attribute Details

#compartment_idString

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

Returns:

  • (String)


4886
4887
4888
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4886

def compartment_id
  @compartment_id
end

#create_timeString

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

Returns:

  • (String)


4891
4892
4893
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4891

def create_time
  @create_time
end

#messageString

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

Returns:

  • (String)


4896
4897
4898
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4896

def message
  @message
end

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

Returns:

  • (String)


4901
4902
4903
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4901

def related_resource_id
  @related_resource_id
end

#typeString

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

Returns:

  • (String)


4906
4907
4908
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4906

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4913
4914
4915
4916
4917
4918
4919
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4913

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