Class: Google::Apis::ServiceconsumermanagementV1::V1AddVisibilityLabelsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceconsumermanagement_v1/classes.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb

Overview

Response message for the AddVisibilityLabels method. This response message is assigned to the response field of the returned Operation when that operation is done.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ V1AddVisibilityLabelsResponse

Returns a new instance of V1AddVisibilityLabelsResponse.



3895
3896
3897
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3895

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

Instance Attribute Details

#labelsArray<String>

The updated set of visibility labels for this consumer on this service. Corresponds to the JSON property labels

Returns:

  • (Array<String>)


3893
3894
3895
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3893

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3900
3901
3902
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3900

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