Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Proto representing the access that a user has to a specific feature/service. NextId: 3.
Instance Attribute Summary collapse
-
#entitlement_state ⇒ String
The current state of user's accessibility to a feature/benefit.
-
#type ⇒ String
An enum that represents the type of this entitlement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainEntitlement
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainEntitlement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainEntitlement
Returns a new instance of StorageDatabasecenterPartnerapiV1mainEntitlement.
2999 3000 3001 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlement_state ⇒ String
The current state of user's accessibility to a feature/benefit.
Corresponds to the JSON property entitlementState
2992 2993 2994 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2992 def entitlement_state @entitlement_state end |
#type ⇒ String
An enum that represents the type of this entitlement.
Corresponds to the JSON property type
2997 2998 2999 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2997 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3004 3005 3006 3007 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3004 def update!(**args) @entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state) @type = args[:type] if args.key?(:type) end |