Class: Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClone

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

An Autonomous Database refreshable clone

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutonomousDatabaseRefreshableClone

Returns a new instance of AutonomousDatabaseRefreshableClone.



1094
1095
1096
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1094

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

Instance Attribute Details

#nameString

Output only. The GCP resource name of the Autonomous Database. Corresponds to the JSON property name

Returns:

  • (String)


1087
1088
1089
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1087

def name
  @name
end

#regionString

Output only. The Google Cloud region where the refreshable clone exists. Corresponds to the JSON property region

Returns:

  • (String)


1092
1093
1094
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1092

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1099
1100
1101
1102
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1099

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @region = args[:region] if args.key?(:region)
end