Key constructor

Key(
  1. String name, {
  2. KeyArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Key. name The Pulumi resource name. args Arguments used to configure this Key. The set of arguments for Key. options Resource options controlling this resource's behavior.

Implementation

Key(
  String name, {
  KeyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:recaptchaenterprise/v1:Key',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  androidSettings = registerOutput<GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse>('androidSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  createTime = registerOutput<String>('createTime');
  displayName = registerOutput<String>('displayName');
  iosSettings = registerOutput<GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponse>('iosSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  labels = registerOutput<Map<String, String>>('labels');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  testingOptions = registerOutput<GoogleCloudRecaptchaenterpriseV1TestingOptionsResponse>('testingOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudRecaptchaenterpriseV1TestingOptionsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  wafSettings = registerOutput<GoogleCloudRecaptchaenterpriseV1WafSettingsResponse>('wafSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudRecaptchaenterpriseV1WafSettingsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  webSettings = registerOutput<GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponse>('webSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}