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.



22395
22396
22397
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22395

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


22373
22374
22375
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22373

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


22378
22379
22380
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22378

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


22383
22384
22385
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22383

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


22388
22389
22390
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22388

def status
  @status
end

#version_numberFixnum

Corresponds to the JSON property versionNumber

Returns:

  • (Fixnum)


22393
22394
22395
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22393

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22400
22401
22402
22403
22404
22405
22406
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22400

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