Class: Google::Apis::ServiceconsumermanagementV1beta1::V1beta1AddVisibilityLabelsResponse

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

Constructor Details

#initialize(**args) ⇒ V1beta1AddVisibilityLabelsResponse

Returns a new instance of V1beta1AddVisibilityLabelsResponse.



3411
3412
3413
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3411

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


3409
3410
3411
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3409

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3416
3417
3418
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3416

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