Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudKmsConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudKmsConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Instance Attribute Summary collapse
-
#gcp_project_id ⇒ String
Optional.
-
#key_name ⇒ String
A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key.
-
#key_ring_name ⇒ String
A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys.
-
#key_version_name ⇒ String
Optional.
-
#location_name ⇒ String
Location name of the key ring, e.g.
-
#service_account ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoCloudKmsConfig
constructor
A new instance of EnterpriseCrmEventbusProtoCloudKmsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoCloudKmsConfig
Returns a new instance of EnterpriseCrmEventbusProtoCloudKmsConfig.
449 450 451 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_project_id ⇒ String
Optional. The id of GCP project where the KMS key is stored. If not provided,
assume the key is stored in the same GCP project defined in Client (tag 14).
Corresponds to the JSON property gcpProjectId
413 414 415 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 413 def gcp_project_id @gcp_project_id end |
#key_name ⇒ String
A Cloud KMS key is a named object containing one or more key versions, along
with metadata for the key. A key exists on exactly one key ring tied to a
specific location.
Corresponds to the JSON property keyName
420 421 422 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 420 def key_name @key_name end |
#key_ring_name ⇒ String
A key ring organizes keys in a specific Google Cloud location and allows you
to manage access control on groups of keys. A key ring's name does not need to
be unique across a Google Cloud project, but must be unique within a given
location.
Corresponds to the JSON property keyRingName
428 429 430 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 428 def key_ring_name @key_ring_name end |
#key_version_name ⇒ String
Optional. Each version of a key contains key material used for encryption or
signing. A key's version is represented by an integer, starting at 1. To
decrypt data or verify a signature, you must use the same key version that was
used to encrypt or sign the data.
Corresponds to the JSON property keyVersionName
436 437 438 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 436 def key_version_name @key_version_name end |
#location_name ⇒ String
Location name of the key ring, e.g. "us-west1".
Corresponds to the JSON property locationName
441 442 443 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 441 def location_name @location_name end |
#service_account ⇒ String
Optional. The service account used for authentication of this KMS key. If this
is not provided, the service account in Client.clientSource will be used.
Corresponds to the JSON property serviceAccount
447 448 449 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 447 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
454 455 456 457 458 459 460 461 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 454 def update!(**args) @gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id) @key_name = args[:key_name] if args.key?(:key_name) @key_ring_name = args[:key_ring_name] if args.key?(:key_ring_name) @key_version_name = args[:key_version_name] if args.key?(:key_version_name) @location_name = args[:location_name] if args.key?(:location_name) @service_account = args[:service_account] if args.key?(:service_account) end |