Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels

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

Returns a new instance of StorageDatabasecenterPartnerapiV1mainUserLabels.



4854
4855
4856
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4854

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

Instance Attribute Details

#labelsHash<String,String>

Disable validation warnings Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4852
4853
4854
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4852

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4859
4860
4861
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4859

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