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.
1516 1517 1518 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1516 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
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 |