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.
2042 2043 2044 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2042 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
2024 2025 2026 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2024 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
2029 2030 2031 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2029 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
2035 2036 2037 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2035 def name @name end |
#state ⇒ String
Output only. Entitlement State.
Corresponds to the JSON property state
2040 2041 2042 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2040 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2047 2048 2049 2050 2051 2052 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2047 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 |