Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Changelogs represents a change made to a given agent.
Instance Attribute Summary collapse
-
#action ⇒ String
The action of the change.
-
#create_time ⇒ String
The timestamp of the change.
-
#display_name ⇒ String
The affected resource display name of the change.
-
#language_code ⇒ String
The affected language code of the change.
-
#name ⇒ String
The unique identifier of the changelog.
-
#resource ⇒ String
The affected resource name of the change.
-
#type ⇒ String
The affected resource type.
-
#user_email ⇒ String
Email address of the authenticated user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Changelog
constructor
A new instance of GoogleCloudDialogflowCxV3Changelog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Changelog
Returns a new instance of GoogleCloudDialogflowCxV3Changelog.
1140 1141 1142 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The action of the change.
Corresponds to the JSON property action
1102 1103 1104 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1102 def action @action end |
#create_time ⇒ String
The timestamp of the change.
Corresponds to the JSON property createTime
1107 1108 1109 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1107 def create_time @create_time end |
#display_name ⇒ String
The affected resource display name of the change.
Corresponds to the JSON property displayName
1112 1113 1114 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1112 def display_name @display_name end |
#language_code ⇒ String
The affected language code of the change.
Corresponds to the JSON property languageCode
1117 1118 1119 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1117 def language_code @language_code end |
#name ⇒ String
The unique identifier of the changelog. Format: projects//locations//agents//
changelogs/.
Corresponds to the JSON property name
1123 1124 1125 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1123 def name @name end |
#resource ⇒ String
The affected resource name of the change.
Corresponds to the JSON property resource
1128 1129 1130 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1128 def resource @resource end |
#type ⇒ String
The affected resource type.
Corresponds to the JSON property type
1133 1134 1135 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1133 def type @type end |
#user_email ⇒ String
Email address of the authenticated user.
Corresponds to the JSON property userEmail
1138 1139 1140 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1138 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1145 def update!(**args) @action = args[:action] if args.key?(:action) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @resource = args[:resource] if args.key?(:resource) @type = args[:type] if args.key?(:type) @user_email = args[:user_email] if args.key?(:user_email) end |