Class: Google::Apis::OracledatabaseV1::Entitlement
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::Entitlement
- 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 Entitlement resource.
Instance Attribute Summary collapse
-
#cloud_account_details ⇒ Google::Apis::OracledatabaseV1::CloudAccountDetails
Details of the OCI Cloud Account.
-
#entitlement_id ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Entitlement
constructor
A new instance of Entitlement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Entitlement
Returns a new instance of Entitlement.
3345 3346 3347 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_account_details ⇒ Google::Apis::OracledatabaseV1::CloudAccountDetails
Details of the OCI Cloud Account.
Corresponds to the JSON property cloudAccountDetails
3327 3328 3329 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3327 def cloud_account_details @cloud_account_details end |
#entitlement_id ⇒ String
Output only. Google Cloud Marketplace order ID (aka entitlement ID)
Corresponds to the JSON property entitlementId
3332 3333 3334 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3332 def entitlement_id @entitlement_id end |
#name ⇒ String
Identifier. The name of the Entitlement resource with the format: projects/
project/locations/region/entitlements/entitlement
Corresponds to the JSON property name
3338 3339 3340 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3338 def name @name end |
#state ⇒ String
Output only. Entitlement State.
Corresponds to the JSON property state
3343 3344 3345 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3343 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3350 3351 3352 3353 3354 3355 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3350 def update!(**args) @cloud_account_details = args[:cloud_account_details] if args.key?(:cloud_account_details) @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |