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.



17782
17783
17784
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17782

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


17760
17761
17762
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17760

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


17765
17766
17767
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17765

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17770
17771
17772
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17770

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


17775
17776
17777
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17775

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


17780
17781
17782
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17780

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17787
17788
17789
17790
17791
17792
17793
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17787

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