Class: Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3LogImpressionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3LogImpressionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/playablelocations_v3/classes.rb,
generated/google/apis/playablelocations_v3/representations.rb,
generated/google/apis/playablelocations_v3/representations.rb
Overview
A request for logging impressions.
Instance Attribute Summary collapse
-
#client_info ⇒ Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo
Client information.
-
#impressions ⇒ Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>
Required.
-
#request_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlayablelocationsV3LogImpressionsRequest
constructor
A new instance of GoogleMapsPlayablelocationsV3LogImpressionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlayablelocationsV3LogImpressionsRequest
Returns a new instance of GoogleMapsPlayablelocationsV3LogImpressionsRequest.
85 86 87 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 85 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_info ⇒ Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo
Client information.
Corresponds to the JSON property clientInfo
68 69 70 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 68 def client_info @client_info end |
#impressions ⇒ Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>
Required. Impression event details. The maximum number of impression reports
that you can log at once is 50.
Corresponds to the JSON property impressions
74 75 76 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 74 def impressions @impressions end |
#request_id ⇒ String
Required. A string that uniquely identifies the log impressions request. This
allows you to detect duplicate requests. We recommend that you use UUIDs for
this value. The value must not exceed 50 characters. You should reuse the
request_id
only when retrying a request in case of failure. In this case, the
request must be identical to the one that failed.
Corresponds to the JSON property requestId
83 84 85 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 83 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
90 91 92 93 94 |
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 90 def update!(**args) @client_info = args[:client_info] if args.key?(:client_info) @impressions = args[:impressions] if args.key?(:impressions) @request_id = args[:request_id] if args.key?(:request_id) end |