Class: Google::Apis::PlayintegrityV1::TokenPayloadExternal

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 basic app information and integrity signals like device attestation and licensing details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TokenPayloadExternal

Returns a new instance of TokenPayloadExternal.



354
355
356
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 354

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

Instance Attribute Details

#account_detailsGoogle::Apis::PlayintegrityV1::AccountDetails

Contains the account information such as the licensing status for the user in the scope. Corresponds to the JSON property accountDetails



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

def 
  @account_details
end

#app_integrityGoogle::Apis::PlayintegrityV1::AppIntegrity

Contains the application integrity information. Corresponds to the JSON property appIntegrity



331
332
333
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 331

def app_integrity
  @app_integrity
end

#device_integrityGoogle::Apis::PlayintegrityV1::DeviceIntegrity

Contains the device attestation information. Corresponds to the JSON property deviceIntegrity



336
337
338
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 336

def device_integrity
  @device_integrity
end

#environment_detailsGoogle::Apis::PlayintegrityV1::EnvironmentDetails

Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict. Corresponds to the JSON property environmentDetails



342
343
344
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 342

def environment_details
  @environment_details
end

#request_detailsGoogle::Apis::PlayintegrityV1::RequestDetails

Contains the integrity request information. Corresponds to the JSON property requestDetails



347
348
349
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 347

def request_details
  @request_details
end

#testing_detailsGoogle::Apis::PlayintegrityV1::TestingDetails

Contains additional information generated for testing responses. Corresponds to the JSON property testingDetails



352
353
354
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 352

def testing_details
  @testing_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



359
360
361
362
363
364
365
366
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 359

def update!(**args)
  @account_details = args[:account_details] if args.key?(:account_details)
  @app_integrity = args[:app_integrity] if args.key?(:app_integrity)
  @device_integrity = args[:device_integrity] if args.key?(:device_integrity)
  @environment_details = args[:environment_details] if args.key?(:environment_details)
  @request_details = args[:request_details] if args.key?(:request_details)
  @testing_details = args[:testing_details] if args.key?(:testing_details)
end