class Google::Apis::ServicenetworkingV1::LabelDescriptor
A description of a label.
Attributes
description[RW]
A human-readable description for the label. Corresponds to the JSON property `description` @return [String]
key[RW]
The label key. Corresponds to the JSON property `key` @return [String]
value_type[RW]
The type of data that can be assigned to the label. Corresponds to the JSON property `valueType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 2058 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicenetworking_v1/classes.rb, line 2063 def update!(**args) @description = args[:description] if args.key?(:description) @key = args[:key] if args.key?(:key) @value_type = args[:value_type] if args.key?(:value_type) end