Class: Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/acceleratedmobilepageurl_v1/classes.rb,
generated/google/apis/acceleratedmobilepageurl_v1/representations.rb,
generated/google/apis/acceleratedmobilepageurl_v1/representations.rb
Overview
AMP URL request for a batch of URLs.
Instance Attribute Summary collapse
-
#lookup_strategy ⇒ String
The lookup_strategy being requested.
-
#urls ⇒ Array<String>
List of URLs to look up for the paired AMP URLs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetAmpUrlsRequest
constructor
A new instance of BatchGetAmpUrlsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchGetAmpUrlsRequest
Returns a new instance of BatchGetAmpUrlsRequest
104 105 106 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lookup_strategy ⇒ String
The lookup_strategy being requested.
Corresponds to the JSON property lookupStrategy
95 96 97 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 95 def lookup_strategy @lookup_strategy end |
#urls ⇒ Array<String>
List of URLs to look up for the paired AMP URLs.
The URLs are case-sensitive. Up to 50 URLs per lookup
(see Usage Limits).
Corresponds to the JSON property urls
102 103 104 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 102 def urls @urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
109 110 111 112 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 109 def update!(**args) @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy) @urls = args[:urls] if args.key?(:urls) end |