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.



18037
18038
18039
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18037

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


18015
18016
18017
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18015

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


18020
18021
18022
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18020

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


18025
18026
18027
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18025

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


18030
18031
18032
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18030

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


18035
18036
18037
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18035

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18042
18043
18044
18045
18046
18047
18048
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18042

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