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.



8010
8011
8012
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8010

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


8003
8004
8005
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8003

def id
  @id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8008
8009
8010
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8008

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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