Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GeneratorPlaceholder

Returns a new instance of GoogleCloudDialogflowCxV3GeneratorPlaceholder.



3813
3814
3815
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3813

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


3806
3807
3808
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3806

def id
  @id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3811
3812
3813
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3811

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3818
3819
3820
3821
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3818

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