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.



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

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8419
8420
8421
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8419

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#toolGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool

Corresponds to the JSON property tool



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

def tool
  @tool
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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