Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Changelog

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

Changelogs represents a change made to a given agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Changelog

Returns a new instance of GoogleCloudDialogflowCxV3beta1Changelog.



3594
3595
3596
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3594

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

Instance Attribute Details

#actionString

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

Returns:

  • (String)


3561
3562
3563
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3561

def action
  @action
end

#create_timeString

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

Returns:

  • (String)


3566
3567
3568
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3566

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


3571
3572
3573
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3571

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


3577
3578
3579
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3577

def name
  @name
end

#resourceString

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

Returns:

  • (String)


3582
3583
3584
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3582

def resource
  @resource
end

#typeString

The affected resource type. Corresponds to the JSON property type

Returns:

  • (String)


3587
3588
3589
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3587

def type
  @type
end

#user_emailString

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

Returns:

  • (String)


3592
3593
3594
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3592

def user_email
  @user_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3599
3600
3601
3602
3603
3604
3605
3606
3607
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3599

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)
  @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