Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement

Inherits:
Object
  • Object
show all
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

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainEntitlement

Returns a new instance of StorageDatabasecenterPartnerapiV1mainEntitlement.



4803
4804
4805
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4803

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

Instance Attribute Details

#entitlement_stateString

Disable validation warnings Corresponds to the JSON property entitlementState

Returns:

  • (String)


4796
4797
4798
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4796

def entitlement_state
  @entitlement_state
end

#typeString

Disable validation warnings Corresponds to the JSON property type

Returns:

  • (String)


4801
4802
4803
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4801

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4808
4809
4810
4811
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4808

def update!(**args)
  @entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state)
  @type = args[:type] if args.key?(:type)
end