# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Cloud
    module DiscoveryEngine
      module V1
        # Request for
        # {::Google::Cloud::DiscoveryEngine::V1::ProjectService::Client#provision_project ProjectService.ProvisionProject}
        # method.
        # @!attribute [rw] name
        #   @return [::String]
        #     Required. Full resource name of a
        #     {::Google::Cloud::DiscoveryEngine::V1::Project Project}, such as
        #     `projects/{project_id_or_number}`.
        # @!attribute [rw] accept_data_use_terms
        #   @return [::Boolean]
        #     Required. Set to `true` to specify that caller has read and would like to
        #     give consent to the [Terms for data
        #     use](https://cloud.google.com/retail/data-use-terms).
        # @!attribute [rw] data_use_terms_version
        #   @return [::String]
        #     Required. The version of the [Terms for data
        #     use](https://cloud.google.com/retail/data-use-terms) that caller has read
        #     and would like to give consent to.
        #
        #     Acceptable version is `2022-11-23`, and this may change over time.
        class ProvisionProjectRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Metadata associated with a project provision operation.
        class ProvisionProjectMetadata
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
