Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EncryptionSpec

Returns a new instance of GoogleCloudDialogflowV2EncryptionSpec.



15287
15288
15289
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15287

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kms_keyString

Corresponds to the JSON property kmsKey

Returns:

  • (String)


15280
15281
15282
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15280

def kms_key
  @kms_key
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


15285
15286
15287
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15285

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15292
15293
15294
15295
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15292

def update!(**args)
  @kms_key = args[:kms_key] if args.key?(:kms_key)
  @name = args[:name] if args.key?(:name)
end