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.



391
392
393
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 391

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



363
364
365
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 363

def 
  @account_details
end

#app_integrityGoogle::Apis::PlayintegrityV1::AppIntegrity

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



368
369
370
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 368

def app_integrity
  @app_integrity
end

#device_integrityGoogle::Apis::PlayintegrityV1::DeviceIntegrity

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



373
374
375
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 373

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



379
380
381
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 379

def environment_details
  @environment_details
end

#request_detailsGoogle::Apis::PlayintegrityV1::RequestDetails

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



384
385
386
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 384

def request_details
  @request_details
end

#testing_detailsGoogle::Apis::PlayintegrityV1::TestingDetails

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



389
390
391
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 389

def testing_details
  @testing_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



396
397
398
399
400
401
402
403
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 396

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