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

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceFlags

Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceFlags.



4572
4573
4574
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4572

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

Instance Attribute Details

#keyString

Optional. Disable validation warnings Corresponds to the JSON property key

Returns:

  • (String)


4565
4566
4567
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4565

def key
  @key
end

#valueString

Optional. Disable validation warnings Corresponds to the JSON property value

Returns:

  • (String)


4570
4571
4572
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4570

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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