Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProvisionProjectRequest

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

Overview

Request for ProjectService.ProvisionProject method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ProvisionProjectRequest

Returns a new instance of GoogleCloudDiscoveryengineV1ProvisionProjectRequest.



6276
6277
6278
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6276

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

Instance Attribute Details

#accept_data_use_termsBoolean 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

Returns:

  • (Boolean)


6266
6267
6268
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6266

def accept_data_use_terms
  @accept_data_use_terms
end

#data_use_terms_versionString

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

Returns:

  • (String)


6274
6275
6276
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6274

def data_use_terms_version
  @data_use_terms_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6281
6282
6283
6284
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6281

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