Class: Google::Apis::OracledatabaseV1::CloudExadataInfrastructure

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

Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/ iaas/api/#/en/database/20160918/CloudExadataInfrastructure/

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudExadataInfrastructure

Returns a new instance of CloudExadataInfrastructure.



1096
1097
1098
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1096

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


1061
1062
1063
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1061

def create_time
  @create_time
end

#display_nameString

Optional. User friendly name for this resource. Corresponds to the JSON property displayName

Returns:

  • (String)


1066
1067
1068
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1066

def display_name
  @display_name
end

#entitlement_idString

Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned. Corresponds to the JSON property entitlementId

Returns:

  • (String)


1072
1073
1074
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1072

def entitlement_id
  @entitlement_id
end

#gcp_oracle_zoneString

Optional. Google Cloud Platform location where Oracle Exadata is hosted. Corresponds to the JSON property gcpOracleZone

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1077

def gcp_oracle_zone
  @gcp_oracle_zone
end

#labelsHash<String,String>

Optional. Labels or tags associated with the resource. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1082
1083
1084
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1082

def labels
  @labels
end

#nameString

Identifier. The name of the Exadata Infrastructure resource with the format: projects/project/locations/region/cloudExadataInfrastructures/ cloud_exadata_infrastructure Corresponds to the JSON property name

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1089

def name
  @name
end

#propertiesGoogle::Apis::OracledatabaseV1::CloudExadataInfrastructureProperties

Various properties of Exadata Infrastructure. Corresponds to the JSON property properties



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

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1101
1102
1103
1104
1105
1106
1107
1108
1109
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1101

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