Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder

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) ⇒ GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder

Returns a new instance of GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder.



8022
8023
8024
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8022

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


8015
8016
8017
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8015

def id
  @id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8020
8021
8022
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8020

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8027
8028
8029
8030
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8027

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