Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/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.



4585
4586
4587
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4585

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

Instance Attribute Details

#keyString

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

Returns:

  • (String)


4578
4579
4580
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4578

def key
  @key
end

#valueString

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

Returns:

  • (String)


4583
4584
4585
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4583

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4590
4591
4592
4593
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4590

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