Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AppleDeveloperId

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

Overview

Contains fields that are required to perform Apple-specific integrity checks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AppleDeveloperId

Returns a new instance of GoogleCloudRecaptchaenterpriseV1AppleDeveloperId.



236
237
238
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 236

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

Instance Attribute Details

#key_idString

Required. The Apple developer key ID (10-character string). Corresponds to the JSON property keyId

Returns:

  • (String)


221
222
223
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 221

def key_id
  @key_id
end

#private_keyString

Required. Input only. A private key (downloaded as a text file with a .p8 file extension) generated for your Apple Developer account. Ensure that Apple DeviceCheck is enabled for the private key. Corresponds to the JSON property privateKey

Returns:

  • (String)


228
229
230
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 228

def private_key
  @private_key
end

#team_idString

Required. The Apple team ID (10-character string) owning the provisioning profile used to build your application. Corresponds to the JSON property teamId

Returns:

  • (String)


234
235
236
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 234

def team_id
  @team_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



241
242
243
244
245
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 241

def update!(**args)
  @key_id = args[:key_id] if args.key?(:key_id)
  @private_key = args[:private_key] if args.key?(:private_key)
  @team_id = args[:team_id] if args.key?(:team_id)
end