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.



4986
4987
4988
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4986

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

Instance Attribute Details

#compartment_idString

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

Returns:

  • (String)


4964
4965
4966
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4964

def compartment_id
  @compartment_id
end

#create_timeString

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

Returns:

  • (String)


4969
4970
4971
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4969

def create_time
  @create_time
end

#messageString

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

Returns:

  • (String)


4974
4975
4976
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4974

def message
  @message
end

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

Returns:

  • (String)


4979
4980
4981
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4979

def related_resource_id
  @related_resource_id
end

#typeString

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

Returns:

  • (String)


4984
4985
4986
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4984

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4991
4992
4993
4994
4995
4996
4997
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4991

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