Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams

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

Overview

AdditionalParams message for WidgetService methods for security and privacy enhancement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdditionalParams

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdditionalParams.



1516
1517
1518
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1516

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

Instance Attribute Details

#tokenString

Token that used for non-human user check. Corresponds to the JSON property token

Returns:

  • (String)


1514
1515
1516
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1514

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1521
1522
1523
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1521

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