Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Changelog

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Changelog

Returns a new instance of GoogleCloudDialogflowCxV3Changelog.



1053
1054
1055
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1053

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

Instance Attribute Details

#actionString

The action of the change. Corresponds to the JSON property action

Returns:

  • (String)


1015
1016
1017
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1015

def action
  @action
end

#create_timeString

The timestamp of the change. Corresponds to the JSON property createTime

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1020

def create_time
  @create_time
end

#display_nameString

The affected resource display name of the change. Corresponds to the JSON property displayName

Returns:

  • (String)


1025
1026
1027
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1025

def display_name
  @display_name
end

#language_codeString

The affected language code of the change. Corresponds to the JSON property languageCode

Returns:

  • (String)


1030
1031
1032
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1030

def language_code
  @language_code
end

#nameString

The unique identifier of the changelog. Format: projects//locations//agents// changelogs/. Corresponds to the JSON property name

Returns:

  • (String)


1036
1037
1038
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1036

def name
  @name
end

#resourceString

The affected resource name of the change. Corresponds to the JSON property resource

Returns:

  • (String)


1041
1042
1043
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1041

def resource
  @resource
end

#typeString

The affected resource type. Corresponds to the JSON property type

Returns:

  • (String)


1046
1047
1048
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1046

def type
  @type
end

#user_emailString

Email address of the authenticated user. Corresponds to the JSON property userEmail

Returns:

  • (String)


1051
1052
1053
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1051

def user_email
  @user_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1058

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