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.



8754
8755
8756
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8754

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)


8736
8737
8738
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8736

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)


8742
8743
8744
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8742

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)


8747
8748
8749
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8747

def oci_url
  @oci_url
end

#propertiesGoogle::Apis::OracledatabaseV1::PluggableDatabaseProperties

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



8752
8753
8754
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8752

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8759
8760
8761
8762
8763
8764
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8759

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