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.



4770
4771
4772
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4770

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)


4752
4753
4754
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4752

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)


4758
4759
4760
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4758

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)


4763
4764
4765
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4763

def oci_url
  @oci_url
end

#propertiesGoogle::Apis::OracledatabaseV1::PluggableDatabaseProperties

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



4768
4769
4770
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4768

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4775
4776
4777
4778
4779
4780
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4775

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