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.
Constructor Details
#initialize(**args) ⇒ BatchGetAmpUrlsRequest
Returns a new instance of BatchGetAmpUrlsRequest.
103 104 105 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 103 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
101 102 103 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 101 def urls @urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 111 |
# File 'generated/google/apis/acceleratedmobilepageurl_v1/classes.rb', line 108 def update!(**args) @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy) @urls = args[:urls] if args.key?(:urls) end |