Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceFlags

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) ⇒ StorageDatabasecenterPartnerapiV1mainResourceFlags

Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceFlags.



5070
5071
5072
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5070

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

Instance Attribute Details

#keyString

Optional. Disable validation warnings Corresponds to the JSON property key

Returns:

  • (String)


5063
5064
5065
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5063

def key
  @key
end

#valueString

Optional. Disable validation warnings Corresponds to the JSON property value

Returns:

  • (String)


5068
5069
5070
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5068

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5075
5076
5077
5078
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5075

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