Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
- 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
Request for ProjectService.ProvisionProject method.
Instance Attribute Summary collapse
-
#accept_data_use_terms ⇒ Boolean
(also: #accept_data_use_terms?)
Required.
-
#data_use_terms_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.
8212 8213 8214 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accept_data_use_terms ⇒ Boolean Also known as: accept_data_use_terms?
Required. Set to true
to specify that caller has read and would like to give
consent to the Terms for data use.
Corresponds to the JSON property acceptDataUseTerms
8202 8203 8204 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8202 def accept_data_use_terms @accept_data_use_terms end |
#data_use_terms_version ⇒ String
Required. The version of the Terms for data use that caller has read and would like to give consent to.
Acceptable version is 2022-11-23
, and this may change over time.
Corresponds to the JSON property dataUseTermsVersion
8210 8211 8212 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8210 def data_use_terms_version @data_use_terms_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8217 8218 8219 8220 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8217 def update!(**args) @accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms) @data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version) end |