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
72 73 74 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 72 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lookup_strategy ⇒ String
The lookup_strategy being requested.
Corresponds to the JSON property lookupStrategy
63 64 65 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 63 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
70 71 72 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 70 def urls @urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
77 78 79 80 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 77 def update!(**args) @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy) @urls = args[:urls] if args.key?(:urls) end |