Class: Google::Apis::OracledatabaseV1::PluggableDatabase

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 PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/ database/20160918/PluggableDatabase/

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PluggableDatabase

Returns a new instance of PluggableDatabase.



4728
4729
4730
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4728

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

Instance Attribute Details

#create_timeString

Output only. The date and time that the PluggableDatabase was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4710
4711
4712
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4710

def create_time
  @create_time
end

#nameString

Identifier. The name of the PluggableDatabase resource in the following format: projects/project/locations/region/pluggableDatabases/pluggable_database Corresponds to the JSON property name

Returns:

  • (String)


4716
4717
4718
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4716

def name
  @name
end

#oci_urlString

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. Corresponds to the JSON property ociUrl

Returns:

  • (String)


4721
4722
4723
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4721

def oci_url
  @oci_url
end

#propertiesGoogle::Apis::OracledatabaseV1::PluggableDatabaseProperties

The properties of a PluggableDatabase. Corresponds to the JSON property properties



4726
4727
4728
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4726

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4733
4734
4735
4736
4737
4738
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4733

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