class Google::Apis::CustomsearchV1::Search::Url

Attributes

template[RW]

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

type[RW]

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

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 758
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 763
def update!(**args)
  @template = args[:template] if args.key?(:template)
  @type = args[:type] if args.key?(:type)
end