Class: Google::Apis::EventarcV1::GoogleChannelConfig
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleChannelConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.
Instance Attribute Summary collapse
-
#crypto_key_name ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChannelConfig
constructor
A new instance of GoogleChannelConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChannelConfig
Returns a new instance of GoogleChannelConfig.
691 692 693 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crypto_key_name ⇒ String
Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data. It must match the pattern projects/*/
locations/*/keyRings/*/cryptoKeys/*
.
Corresponds to the JSON property cryptoKeyName
678 679 680 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 678 def crypto_key_name @crypto_key_name end |
#name ⇒ String
Required. The resource name of the config. Must be in the format of, projects/
project/locations/
location/googleChannelConfig
.
Corresponds to the JSON property name
684 685 686 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 684 def name @name end |
#update_time ⇒ String
Output only. The last-modified time.
Corresponds to the JSON property updateTime
689 690 691 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 689 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
696 697 698 699 700 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 696 def update!(**args) @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |