Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Version

Returns a new instance of GoogleCloudDialogflowV2beta1Version.



21798
21799
21800
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21798

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


21776
21777
21778
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21776

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


21781
21782
21783
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21781

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


21786
21787
21788
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21786

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


21791
21792
21793
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21791

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


21796
21797
21798
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21796

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21803
21804
21805
21806
21807
21808
21809
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21803

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