Class: Google::Apis::PlayintegrityV1::RequestDetails
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::RequestDetails
- 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
-
#nonce ⇒ String
Nonce that was provided in the request (which is base64 web-safe no-wrap).
-
#request_hash ⇒ String
Request hash that was provided in the request.
-
#request_package_name ⇒ String
Required.
-
#timestamp_millis ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestDetails
constructor
A new instance of RequestDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#nonce ⇒ String
Nonce that was provided in the request (which is base64 web-safe no-wrap).
Corresponds to the JSON property nonce
301 302 303 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 301 def nonce @nonce end |
#request_hash ⇒ String
Request hash that was provided in the request.
Corresponds to the JSON property requestHash
306 307 308 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 306 def request_hash @request_hash end |
#request_package_name ⇒ String
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
313 314 315 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 313 def request_package_name @request_package_name end |
#timestamp_millis ⇒ Fixnum
Required. Timestamp, in milliseconds, of the integrity application request.
Corresponds to the JSON property timestampMillis
318 319 320 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 318 def @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 |