class Google::Apis::CustomsearchV1::Search::Url
OpenSearch template and URL.
Attributes
template[RW]
The actual [OpenSearch template](www.opensearch.org/specifications/ opensearch/1.1#opensearch_url_template_syntax) for this API. Corresponds to the JSON property `template` @return [String]
type[RW]
The MIME type of the OpenSearch URL template for the Custom Search
JSON API. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/customsearch_v1/classes.rb, line 1408 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/customsearch_v1/classes.rb, line 1413 def update!(**args) @template = args[:template] if args.key?(:template) @type = args[:type] if args.key?(:type) end