Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
Disable validation warnings
Instance Attribute Summary collapse
-
#entitlement_state ⇒ String
Disable validation warnings Corresponds to the JSON property
entitlementState. -
#type ⇒ String
Disable validation warnings Corresponds to the JSON property
type.
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.
4837 4838 4839 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlement_state ⇒ String
Disable validation warnings
Corresponds to the JSON property entitlementState
4830 4831 4832 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4830 def entitlement_state @entitlement_state end |
#type ⇒ String
Disable validation warnings
Corresponds to the JSON property type
4835 4836 4837 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4835 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4842 4843 4844 4845 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4842 def update!(**args) @entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state) @type = args[:type] if args.key?(:type) end |