Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoCloudKmsConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoCloudKmsConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.
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.
429 430 431 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 429 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
399 400 401 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 399 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
406 407 408 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 406 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
414 415 416 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 414 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
422 423 424 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 422 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
427 428 429 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 427 def location_name @location_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
434 435 436 437 438 439 440 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 434 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) end |