Class: Google::Apis::OracledatabaseV1::AutonomousDatabase
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::AutonomousDatabase
- 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
Details of the Autonomous Database resource. https://docs.oracle.com/en-us/ iaas/api/#/en/database/20160918/AutonomousDatabase/
Instance Attribute Summary collapse
-
#admin_password ⇒ String
Optional.
-
#cidr ⇒ String
Required.
-
#create_time ⇒ String
Output only.
-
#database ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#entitlement_id ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Identifier.
-
#network ⇒ String
Required.
-
#properties ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties
The properties of an Autonomous Database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutonomousDatabase
constructor
A new instance of AutonomousDatabase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutonomousDatabase
Returns a new instance of AutonomousDatabase.
122 123 124 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 122 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_password ⇒ String
Optional. The password for the default ADMIN user.
Corresponds to the JSON property adminPassword
68 69 70 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 68 def admin_password @admin_password end |
#cidr ⇒ String
Required. The subnet CIDR range for the Autonmous Database.
Corresponds to the JSON property cidr
73 74 75 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 73 def cidr @cidr end |
#create_time ⇒ String
Output only. The date and time that the Autonomous Database was created.
Corresponds to the JSON property createTime
78 79 80 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 78 def create_time @create_time end |
#database ⇒ String
Optional. The name of the Autonomous Database. The database name must be
unique in the project. The name must begin with a letter and can contain a
maximum of 30 alphanumeric characters.
Corresponds to the JSON property database
85 86 87 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 85 def database @database end |
#display_name ⇒ String
Optional. The display name for the Autonomous Database. The name does not have
to be unique within your project.
Corresponds to the JSON property displayName
91 92 93 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 91 def display_name @display_name end |
#entitlement_id ⇒ String
Output only. The ID of the subscription entitlement associated with the
Autonomous Database.
Corresponds to the JSON property entitlementId
97 98 99 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 97 def entitlement_id @entitlement_id end |
#labels ⇒ Hash<String,String>
Optional. The labels or tags associated with the Autonomous Database.
Corresponds to the JSON property labels
102 103 104 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 102 def labels @labels end |
#name ⇒ String
Identifier. The name of the Autonomous Database resource in the following
format: projects/project
/locations/region
/autonomousDatabases/
autonomous_database
Corresponds to the JSON property name
109 110 111 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 109 def name @name end |
#network ⇒ String
Required. The name of the VPC network used by the Autonomous Database in the
following format: projects/project
/global/networks/network
Corresponds to the JSON property network
115 116 117 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 115 def network @network end |
#properties ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties
The properties of an Autonomous Database.
Corresponds to the JSON property properties
120 121 122 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 120 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 127 def update!(**args) @admin_password = args[:admin_password] if args.key?(:admin_password) @cidr = args[:cidr] if args.key?(:cidr) @create_time = args[:create_time] if args.key?(:create_time) @database = args[:database] if args.key?(:database) @display_name = args[:display_name] if args.key?(:display_name) @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @properties = args[:properties] if args.key?(:properties) end |