Class: Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceCloudSqlInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceCloudSqlInstanceConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb
Overview
The identity to configure a CloudSQL instance provisioned via SLM Terraform.
Instance Attribute Summary collapse
-
#cloud_sql_instance_connection_name ⇒ String
Output only.
-
#cloud_sql_instance_name ⇒ String
Input/Output [Optional].
-
#kms_key_reference ⇒ String
Input [Optional].
-
#mdb_roles_for_corp_access ⇒ Array<String>
Input [Optional].
-
#slm_instance_name ⇒ String
Output only.
-
#slm_instance_template ⇒ String
Input [Required].
-
#slm_instance_type ⇒ String
Input [Required].
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiPlatformTenantresourceCloudSqlInstanceConfig
constructor
A new instance of CloudAiPlatformTenantresourceCloudSqlInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiPlatformTenantresourceCloudSqlInstanceConfig
Returns a new instance of CloudAiPlatformTenantresourceCloudSqlInstanceConfig.
68 69 70 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 68 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql_instance_connection_name ⇒ String
Output only. The CloudSQL instance connection name.
Corresponds to the JSON property cloudSqlInstanceConnectionName
32 33 34 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 32 def cloud_sql_instance_connection_name @cloud_sql_instance_connection_name end |
#cloud_sql_instance_name ⇒ String
Input/Output [Optional]. The CloudSQL instance name within SLM instance. If
not set, a random UUIC will be generated as instance name.
Corresponds to the JSON property cloudSqlInstanceName
38 39 40 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 38 def cloud_sql_instance_name @cloud_sql_instance_name end |
#kms_key_reference ⇒ String
Input [Optional]. The KMS key name or the KMS grant name used for CMEK
encryption. Only set this field when provisioning new CloudSQL instances. For
existing CloudSQL instances, this field will be ignored because CMEK re-
encryption is not supported.
Corresponds to the JSON property kmsKeyReference
46 47 48 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 46 def kms_key_reference @kms_key_reference end |
#mdb_roles_for_corp_access ⇒ Array<String>
Input [Optional]. MDB roles for corp access to CloudSQL instance.
Corresponds to the JSON property mdbRolesForCorpAccess
51 52 53 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 51 def mdb_roles_for_corp_access @mdb_roles_for_corp_access end |
#slm_instance_name ⇒ String
Output only. The SLM instance's full resource name.
Corresponds to the JSON property slmInstanceName
56 57 58 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 56 def slm_instance_name @slm_instance_name end |
#slm_instance_template ⇒ String
Input [Required]. The SLM instance template to provision CloudSQL.
Corresponds to the JSON property slmInstanceTemplate
61 62 63 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 61 def slm_instance_template @slm_instance_template end |
#slm_instance_type ⇒ String
Input [Required]. The SLM instance type to provision CloudSQL.
Corresponds to the JSON property slmInstanceType
66 67 68 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 66 def slm_instance_type @slm_instance_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 77 78 79 80 81 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 73 def update!(**args) @cloud_sql_instance_connection_name = args[:cloud_sql_instance_connection_name] if args.key?(:cloud_sql_instance_connection_name) @cloud_sql_instance_name = args[:cloud_sql_instance_name] if args.key?(:cloud_sql_instance_name) @kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference) @mdb_roles_for_corp_access = args[:mdb_roles_for_corp_access] if args.key?(:mdb_roles_for_corp_access) @slm_instance_name = args[:slm_instance_name] if args.key?(:slm_instance_name) @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template) @slm_instance_type = args[:slm_instance_type] if args.key?(:slm_instance_type) end |