class Google::Apis::CustomsearchV1::Result::Label

Attributes

display_name[RW]

Corresponds to the JSON property `displayName` @return [String]

label_with_op[RW]

Corresponds to the JSON property `label_with_op` @return [String]

name[RW]

Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 609
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/customsearch_v1/classes.rb, line 614
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @label_with_op = args[:label_with_op] if args.key?(:label_with_op)
  @name = args[:name] if args.key?(:name)
end