Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdditionalParams
- 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
-
#token ⇒ String
Token that used for non-human user check.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdditionalParams
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAdditionalParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdditionalParams
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdditionalParams.
1668 1669 1670 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1668 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
Token that used for non-human user check.
Corresponds to the JSON property token
1666 1667 1668 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1666 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1673 1674 1675 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1673 def update!(**args) @token = args[:token] if args.key?(:token) end |