Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolVersion

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

Returns a new instance of GoogleCloudDialogflowCxV3ToolVersion.



8447
8448
8449
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8447

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8425
8426
8427
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8425

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8430
8431
8432
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8430

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8435
8436
8437
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8435

def name
  @name
end

#toolGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool

Corresponds to the JSON property tool



8440
8441
8442
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8440

def tool
  @tool
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


8445
8446
8447
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8445

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8452
8453
8454
8455
8456
8457
8458
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8452

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @tool = args[:tool] if args.key?(:tool)
  @update_time = args[:update_time] if args.key?(:update_time)
end