# frozen_string_literal: true # Copyright 2023 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 DocumentAI module V1beta3 # @!attribute [rw] dataset # @return [::Google::Cloud::DocumentAI::V1beta3::Dataset] # Required. The `name` field of the `Dataset` is used to identify the # resource to be updated. # @!attribute [rw] update_mask # @return [::Google::Protobuf::FieldMask] # The update mask applies to the resource. class UpdateDatasetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] common_metadata # @return [::Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata] # The basic metadata of the long running operation. class UpdateDatasetOperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Request for `GetDatasetSchema`. # @!attribute [rw] name # @return [::String] # Required. The dataset schema resource name. # Format: # projects/\\{project}/locations/\\{location}/processors/\\{processor}/dataset/datasetSchema # @!attribute [rw] visible_fields_only # @return [::Boolean] # If set, only returns the visible fields of the schema. class GetDatasetSchemaRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Request for `UpdateDatasetSchema`. # @!attribute [rw] dataset_schema # @return [::Google::Cloud::DocumentAI::V1beta3::DatasetSchema] # Required. The name field of the `DatasetSchema` is used to identify the # resource to be updated. # @!attribute [rw] update_mask # @return [::Google::Protobuf::FieldMask] # The update mask applies to the resource. class UpdateDatasetSchemaRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end end end