Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AppleDeveloperId
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AppleDeveloperId
- 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
-
#key_id ⇒ String
Required.
-
#private_key ⇒ String
Required.
-
#team_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AppleDeveloperId
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AppleDeveloperId.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Required. The Apple developer key ID (10-character string).
Corresponds to the JSON property keyId
221 222 223 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 221 def key_id @key_id end |
#private_key ⇒ String
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
228 229 230 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 228 def private_key @private_key end |
#team_id ⇒ String
Required. The Apple team ID (10-character string) owning the provisioning
profile used to build your application.
Corresponds to the JSON property teamId
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 |