class Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3LogImpressionsRequest

A request for logging impressions.

Attributes

client_info[RW]

Client information. Corresponds to the JSON property `clientInfo` @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]

impressions[RW]

Required. Impression event details. The maximum number of impression reports that you can log at once is 50. Corresponds to the JSON property `impressions` @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>]

request_id[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/playablelocations_v3/classes.rb, line 85
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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