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.



166
167
168
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 166

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

Instance Attribute Details

#nonceString

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

Returns:

  • (String)


152
153
154
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 152

def nonce
  @nonce
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)


159
160
161
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 159

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)


164
165
166
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 164

def timestamp_millis
  @timestamp_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



171
172
173
174
175
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 171

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