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.



17622
17623
17624
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17622

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


17600
17601
17602
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17600

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


17605
17606
17607
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17605

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17610
17611
17612
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17610

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


17615
17616
17617
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17615

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


17620
17621
17622
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17620

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17627
17628
17629
17630
17631
17632
17633
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17627

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