Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState

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

Overview

Stores the state of a page and its flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState

Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState.



4196
4197
4198
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4196

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

Instance Attribute Details

#display_nameString

The display name of the page. Corresponds to the JSON property displayName

Returns:

  • (String)


4184
4185
4186
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4184

def display_name
  @display_name
end

#pageString

The ID of the page. Format: projects//locations//agents//flows//pages/. Corresponds to the JSON property page

Returns:

  • (String)


4189
4190
4191
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4189

def page
  @page
end

#statusString

The status of the page. Corresponds to the JSON property status

Returns:

  • (String)


4194
4195
4196
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4194

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4201
4202
4203
4204
4205
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4201

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @page = args[:page] if args.key?(:page)
  @status = args[:status] if args.key?(:status)
end