Class: Google::Apis::PlayintegrityV1::RequestDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playintegrity_v1/classes.rb,
lib/google/apis/playintegrity_v1/representations.rb,
lib/google/apis/playintegrity_v1/representations.rb

Overview

Contains the integrity request information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestDetails

Returns a new instance of RequestDetails.



320
321
322
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 320

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nonceString

Nonce that was provided in the request (which is base64 web-safe no-wrap). Corresponds to the JSON property nonce

Returns:

  • (String)


301
302
303
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 301

def nonce
  @nonce
end

#request_hashString

Request hash that was provided in the request. Corresponds to the JSON property requestHash

Returns:

  • (String)


306
307
308
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 306

def request_hash
  @request_hash
end

#request_package_nameString

Required. Application package name this attestation was requested for. Note: This field makes no guarantees or promises on the caller integrity. For details on application integrity, check application_integrity. Corresponds to the JSON property requestPackageName

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 313

def request_package_name
  @request_package_name
end

#timestamp_millisFixnum

Required. Timestamp, in milliseconds, of the integrity application request. Corresponds to the JSON property timestampMillis

Returns:

  • (Fixnum)


318
319
320
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 318

def timestamp_millis
  @timestamp_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



325
326
327
328
329
330
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 325

def update!(**args)
  @nonce = args[:nonce] if args.key?(:nonce)
  @request_hash = args[:request_hash] if args.key?(:request_hash)
  @request_package_name = args[:request_package_name] if args.key?(:request_package_name)
  @timestamp_millis = args[:timestamp_millis] if args.key?(:timestamp_millis)
end