Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceFlags

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

Message type for storing resource flags.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceFlags

Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceFlags.



5102
5103
5104
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5102

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

Instance Attribute Details

#keyString

Optional. Key of the resource flag. Corresponds to the JSON property key

Returns:

  • (String)


5095
5096
5097
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5095

def key
  @key
end

#valueString

Optional. Value of the resource flag. Corresponds to the JSON property value

Returns:

  • (String)


5100
5101
5102
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5100

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5107
5108
5109
5110
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5107

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