Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Version

Returns a new instance of GoogleCloudDialogflowV2Version.



17659
17660
17661
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17659

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


17637
17638
17639
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17637

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


17642
17643
17644
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17642

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17647
17648
17649
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17647

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


17652
17653
17654
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17652

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


17657
17658
17659
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17657

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17664
17665
17666
17667
17668
17669
17670
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17664

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @status = args[:status] if args.key?(:status)
  @version_number = args[:version_number] if args.key?(:version_number)
end