google-api-client 0.46.0 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -0,0 +1,263 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module DocumentaiV1beta3
|
23
|
+
# Cloud Document AI API
|
24
|
+
#
|
25
|
+
# Service to parse structured information from unstructured or semi-structured
|
26
|
+
# documents using state-of-the-art Google AI such as natural language, computer
|
27
|
+
# vision, translation, and AutoML.
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
# require 'google/apis/documentai_v1beta3'
|
31
|
+
#
|
32
|
+
# Documentai = Google::Apis::DocumentaiV1beta3 # Alias the module
|
33
|
+
# service = Documentai::DocumentService.new
|
34
|
+
#
|
35
|
+
# @see https://cloud.google.com/document-ai/docs/
|
36
|
+
class DocumentService < Google::Apis::Core::BaseService
|
37
|
+
# @return [String]
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
+
attr_accessor :key
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
def initialize
|
48
|
+
super('https://documentai.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Gets information about a location.
|
53
|
+
# @param [String] name
|
54
|
+
# Resource name for the location.
|
55
|
+
# @param [String] fields
|
56
|
+
# Selector specifying which fields to include in a partial response.
|
57
|
+
# @param [String] quota_user
|
58
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
+
# @param [Google::Apis::RequestOptions] options
|
61
|
+
# Request-specific options
|
62
|
+
#
|
63
|
+
# @yield [result, err] Result & error if block supplied
|
64
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudLocationLocation] parsed result object
|
65
|
+
# @yieldparam err [StandardError] error object if request failed
|
66
|
+
#
|
67
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudLocationLocation]
|
68
|
+
#
|
69
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
74
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationLocation::Representation
|
75
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationLocation
|
76
|
+
command.params['name'] = name unless name.nil?
|
77
|
+
command.query['fields'] = fields unless fields.nil?
|
78
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
+
execute_or_queue_command(command, &block)
|
80
|
+
end
|
81
|
+
|
82
|
+
# Lists information about the supported locations for this service.
|
83
|
+
# @param [String] name
|
84
|
+
# The resource that owns the locations collection, if applicable.
|
85
|
+
# @param [String] filter
|
86
|
+
# The standard list filter.
|
87
|
+
# @param [Fixnum] page_size
|
88
|
+
# The standard list page size.
|
89
|
+
# @param [String] page_token
|
90
|
+
# The standard list page token.
|
91
|
+
# @param [String] fields
|
92
|
+
# Selector specifying which fields to include in a partial response.
|
93
|
+
# @param [String] quota_user
|
94
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
95
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
96
|
+
# @param [Google::Apis::RequestOptions] options
|
97
|
+
# Request-specific options
|
98
|
+
#
|
99
|
+
# @yield [result, err] Result & error if block supplied
|
100
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse] parsed result object
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
102
|
+
#
|
103
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse]
|
104
|
+
#
|
105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
+
command = make_simple_command(:get, 'v1beta3/{+name}/locations', options)
|
110
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse::Representation
|
111
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse
|
112
|
+
command.params['name'] = name unless name.nil?
|
113
|
+
command.query['filter'] = filter unless filter.nil?
|
114
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
115
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
|
+
execute_or_queue_command(command, &block)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
122
|
+
# to poll the operation result at intervals as recommended by the API service.
|
123
|
+
# @param [String] name
|
124
|
+
# The name of the operation resource.
|
125
|
+
# @param [String] fields
|
126
|
+
# Selector specifying which fields to include in a partial response.
|
127
|
+
# @param [String] quota_user
|
128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
130
|
+
# @param [Google::Apis::RequestOptions] options
|
131
|
+
# Request-specific options
|
132
|
+
#
|
133
|
+
# @yield [result, err] Result & error if block supplied
|
134
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
135
|
+
# @yieldparam err [StandardError] error object if request failed
|
136
|
+
#
|
137
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
138
|
+
#
|
139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
142
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
143
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
144
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
145
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
146
|
+
command.params['name'] = name unless name.nil?
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
149
|
+
execute_or_queue_command(command, &block)
|
150
|
+
end
|
151
|
+
|
152
|
+
# LRO endpoint to batch process many documents. The output is written to Cloud
|
153
|
+
# Storage as JSON in the [Document] format.
|
154
|
+
# @param [String] name
|
155
|
+
# Required. The processor resource name.
|
156
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
157
|
+
# @param [String] fields
|
158
|
+
# Selector specifying which fields to include in a partial response.
|
159
|
+
# @param [String] quota_user
|
160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
162
|
+
# @param [Google::Apis::RequestOptions] options
|
163
|
+
# Request-specific options
|
164
|
+
#
|
165
|
+
# @yield [result, err] Result & error if block supplied
|
166
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
167
|
+
# @yieldparam err [StandardError] error object if request failed
|
168
|
+
#
|
169
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
170
|
+
#
|
171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
|
+
def batch_project_location_processor_process(name, google_cloud_documentai_v1beta3_batch_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
175
|
+
command = make_simple_command(:post, 'v1beta3/{+name}:batchProcess', options)
|
176
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest::Representation
|
177
|
+
command.request_object = google_cloud_documentai_v1beta3_batch_process_request_object
|
178
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
179
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
180
|
+
command.params['name'] = name unless name.nil?
|
181
|
+
command.query['fields'] = fields unless fields.nil?
|
182
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
183
|
+
execute_or_queue_command(command, &block)
|
184
|
+
end
|
185
|
+
|
186
|
+
# Processes a single document.
|
187
|
+
# @param [String] name
|
188
|
+
# Required. The processor resource name.
|
189
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
190
|
+
# @param [String] fields
|
191
|
+
# Selector specifying which fields to include in a partial response.
|
192
|
+
# @param [String] quota_user
|
193
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
194
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
195
|
+
# @param [Google::Apis::RequestOptions] options
|
196
|
+
# Request-specific options
|
197
|
+
#
|
198
|
+
# @yield [result, err] Result & error if block supplied
|
199
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse] parsed result object
|
200
|
+
# @yieldparam err [StandardError] error object if request failed
|
201
|
+
#
|
202
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse]
|
203
|
+
#
|
204
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
205
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
206
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
207
|
+
def process_project_location_processor(name, google_cloud_documentai_v1beta3_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
208
|
+
command = make_simple_command(:post, 'v1beta3/{+name}:process', options)
|
209
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest::Representation
|
210
|
+
command.request_object = google_cloud_documentai_v1beta3_process_request_object
|
211
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse::Representation
|
212
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse
|
213
|
+
command.params['name'] = name unless name.nil?
|
214
|
+
command.query['fields'] = fields unless fields.nil?
|
215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
216
|
+
execute_or_queue_command(command, &block)
|
217
|
+
end
|
218
|
+
|
219
|
+
# Send a document for Human Review. The input document should be processed by
|
220
|
+
# the specified processor.
|
221
|
+
# @param [String] human_review_config
|
222
|
+
# Required. The resource name of the HumanReviewConfig that the document will be
|
223
|
+
# reviewed with.
|
224
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ReviewDocumentRequest] google_cloud_documentai_v1beta3_review_document_request_object
|
225
|
+
# @param [String] fields
|
226
|
+
# Selector specifying which fields to include in a partial response.
|
227
|
+
# @param [String] quota_user
|
228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
230
|
+
# @param [Google::Apis::RequestOptions] options
|
231
|
+
# Request-specific options
|
232
|
+
#
|
233
|
+
# @yield [result, err] Result & error if block supplied
|
234
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
235
|
+
# @yieldparam err [StandardError] error object if request failed
|
236
|
+
#
|
237
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
238
|
+
#
|
239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
242
|
+
def review_project_location_processor_human_review_config_document(human_review_config, google_cloud_documentai_v1beta3_review_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
243
|
+
command = make_simple_command(:post, 'v1beta3/{+humanReviewConfig}:reviewDocument', options)
|
244
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ReviewDocumentRequest::Representation
|
245
|
+
command.request_object = google_cloud_documentai_v1beta3_review_document_request_object
|
246
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
247
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
248
|
+
command.params['humanReviewConfig'] = human_review_config unless human_review_config.nil?
|
249
|
+
command.query['fields'] = fields unless fields.nil?
|
250
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
251
|
+
execute_or_queue_command(command, &block)
|
252
|
+
end
|
253
|
+
|
254
|
+
protected
|
255
|
+
|
256
|
+
def apply_command_defaults(command)
|
257
|
+
command.query['key'] = key unless key.nil?
|
258
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
259
|
+
end
|
260
|
+
end
|
261
|
+
end
|
262
|
+
end
|
263
|
+
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/bid-manager/
|
27
27
|
module DoubleclickbidmanagerV1_1
|
28
28
|
VERSION = 'V1_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200930'
|
30
30
|
|
31
31
|
# View and manage your reports in DoubleClick Bid Manager
|
32
32
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
@@ -232,7 +232,7 @@ module Google
|
|
232
232
|
class EventFilter
|
233
233
|
include Google::Apis::Core::Hashable
|
234
234
|
|
235
|
-
# Dimension Filter
|
235
|
+
# Dimension Filter on path events.
|
236
236
|
# Corresponds to the JSON property `dimensionFilter`
|
237
237
|
# @return [Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter]
|
238
238
|
attr_accessor :dimension_filter
|
@@ -470,7 +470,7 @@ module Google
|
|
470
470
|
end
|
471
471
|
end
|
472
472
|
|
473
|
-
# Dimension Filter
|
473
|
+
# Dimension Filter on path events.
|
474
474
|
class PathQueryOptionsFilter
|
475
475
|
include Google::Apis::Core::Hashable
|
476
476
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201004'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -3573,7 +3573,8 @@ module Google
|
|
3573
3573
|
attr_accessor :published
|
3574
3574
|
alias_method :published?, :published
|
3575
3575
|
|
3576
|
-
# A link to the published revision.
|
3576
|
+
# A link to the published revision. This is only populated for Google Sites
|
3577
|
+
# files.
|
3577
3578
|
# Corresponds to the JSON property `publishedLink`
|
3578
3579
|
# @return [String]
|
3579
3580
|
attr_accessor :published_link
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fit/rest/v1/get-started
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201006'
|
29
29
|
|
30
30
|
# Use Google Fit to see and store your physical activity data
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -57,6 +57,12 @@ module Google
|
|
57
57
|
# See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
|
58
58
|
AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
|
59
59
|
|
60
|
+
# See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
|
61
|
+
AUTH_FITNESS_HEART_RATE_READ = 'https://www.googleapis.com/auth/fitness.heart_rate.read'
|
62
|
+
|
63
|
+
# See and add to your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
|
64
|
+
AUTH_FITNESS_HEART_RATE_WRITE = 'https://www.googleapis.com/auth/fitness.heart_rate.write'
|
65
|
+
|
60
66
|
# See your Google Fit speed and distance data
|
61
67
|
AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
|
62
68
|
|
@@ -80,6 +86,12 @@ module Google
|
|
80
86
|
|
81
87
|
# See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
|
82
88
|
AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
|
89
|
+
|
90
|
+
# See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
|
91
|
+
AUTH_FITNESS_SLEEP_READ = 'https://www.googleapis.com/auth/fitness.sleep.read'
|
92
|
+
|
93
|
+
# See and add to your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
|
94
|
+
AUTH_FITNESS_SLEEP_WRITE = 'https://www.googleapis.com/auth/fitness.sleep.write'
|
83
95
|
end
|
84
96
|
end
|
85
97
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200924'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1033,43 +1033,6 @@ module Google
|
|
1033
1033
|
end
|
1034
1034
|
end
|
1035
1035
|
|
1036
|
-
# Deprecated. Contains the status of the Deidentify operation.
|
1037
|
-
class DeidentifyErrorDetails
|
1038
|
-
include Google::Apis::Core::Hashable
|
1039
|
-
|
1040
|
-
# Number of resources that failed to process.
|
1041
|
-
# Corresponds to the JSON property `failureResourceCount`
|
1042
|
-
# @return [Fixnum]
|
1043
|
-
attr_accessor :failure_resource_count
|
1044
|
-
|
1045
|
-
# Number of stores that failed to process.
|
1046
|
-
# Corresponds to the JSON property `failureStoreCount`
|
1047
|
-
# @return [Fixnum]
|
1048
|
-
attr_accessor :failure_store_count
|
1049
|
-
|
1050
|
-
# Number of resources successfully processed.
|
1051
|
-
# Corresponds to the JSON property `successResourceCount`
|
1052
|
-
# @return [Fixnum]
|
1053
|
-
attr_accessor :success_resource_count
|
1054
|
-
|
1055
|
-
# Number of stores successfully processed.
|
1056
|
-
# Corresponds to the JSON property `successStoreCount`
|
1057
|
-
# @return [Fixnum]
|
1058
|
-
attr_accessor :success_store_count
|
1059
|
-
|
1060
|
-
def initialize(**args)
|
1061
|
-
update!(**args)
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
# Update properties of this object
|
1065
|
-
def update!(**args)
|
1066
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
1067
|
-
@failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
|
1068
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
1069
|
-
@success_store_count = args[:success_store_count] if args.key?(:success_store_count)
|
1070
|
-
end
|
1071
|
-
end
|
1072
|
-
|
1073
1036
|
# Creates a new FHIR store with sensitive information de-identified.
|
1074
1037
|
class DeidentifyFhirStoreRequest
|
1075
1038
|
include Google::Apis::Core::Hashable
|
@@ -1113,31 +1076,12 @@ module Google
|
|
1113
1076
|
class DeidentifySummary
|
1114
1077
|
include Google::Apis::Core::Hashable
|
1115
1078
|
|
1116
|
-
# Number of resources that failed to process. The failures might be caused by: *
|
1117
|
-
# Invalid user input data * Transient errors that could be skipped
|
1118
|
-
# Corresponds to the JSON property `failureResourceCount`
|
1119
|
-
# @return [Fixnum]
|
1120
|
-
attr_accessor :failure_resource_count
|
1121
|
-
|
1122
|
-
# Number of resources successfully processed.
|
1123
|
-
# Corresponds to the JSON property `successResourceCount`
|
1124
|
-
# @return [Fixnum]
|
1125
|
-
attr_accessor :success_resource_count
|
1126
|
-
|
1127
|
-
# Number of stores successfully processed.
|
1128
|
-
# Corresponds to the JSON property `successStoreCount`
|
1129
|
-
# @return [Fixnum]
|
1130
|
-
attr_accessor :success_store_count
|
1131
|
-
|
1132
1079
|
def initialize(**args)
|
1133
1080
|
update!(**args)
|
1134
1081
|
end
|
1135
1082
|
|
1136
1083
|
# Update properties of this object
|
1137
1084
|
def update!(**args)
|
1138
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
1139
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
1140
|
-
@success_store_count = args[:success_store_count] if args.key?(:success_store_count)
|
1141
1085
|
end
|
1142
1086
|
end
|
1143
1087
|
|
@@ -1369,13 +1313,6 @@ module Google
|
|
1369
1313
|
# @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
|
1370
1314
|
attr_accessor :info_type_config
|
1371
1315
|
|
1372
|
-
# The Annotation store to compare against `golden_store`, in the format of `
|
1373
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1374
|
-
# annotationStores/`annotation_store_id``.
|
1375
|
-
# Corresponds to the JSON property `name`
|
1376
|
-
# @return [String]
|
1377
|
-
attr_accessor :name
|
1378
|
-
|
1379
1316
|
def initialize(**args)
|
1380
1317
|
update!(**args)
|
1381
1318
|
end
|
@@ -1387,7 +1324,6 @@ module Google
|
|
1387
1324
|
@golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
|
1388
1325
|
@golden_store = args[:golden_store] if args.key?(:golden_store)
|
1389
1326
|
@info_type_config = args[:info_type_config] if args.key?(:info_type_config)
|
1390
|
-
@name = args[:name] if args.key?(:name)
|
1391
1327
|
end
|
1392
1328
|
end
|
1393
1329
|
|
@@ -1396,43 +1332,12 @@ module Google
|
|
1396
1332
|
class EvaluateAnnotationStoreResponse
|
1397
1333
|
include Google::Apis::Core::Hashable
|
1398
1334
|
|
1399
|
-
# The evaluated Annotation store, in the format of `projects/`project_id`/
|
1400
|
-
# locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
1401
|
-
# annotation_store_id``.
|
1402
|
-
# Corresponds to the JSON property `evalStore`
|
1403
|
-
# @return [String]
|
1404
|
-
attr_accessor :eval_store
|
1405
|
-
|
1406
|
-
# The number of Annotations in the ground truth Annotation store successfully
|
1407
|
-
# processed.
|
1408
|
-
# Corresponds to the JSON property `goldenCount`
|
1409
|
-
# @return [Fixnum]
|
1410
|
-
attr_accessor :golden_count
|
1411
|
-
|
1412
|
-
# The ground truth Annotation store, in the format of `projects/`project_id`/
|
1413
|
-
# locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
1414
|
-
# annotation_store_id``.
|
1415
|
-
# Corresponds to the JSON property `goldenStore`
|
1416
|
-
# @return [String]
|
1417
|
-
attr_accessor :golden_store
|
1418
|
-
|
1419
|
-
# The number of Annotations in the eval store that match with corresponding
|
1420
|
-
# annotations in the ground truth Annotation store. Two matched annotations both
|
1421
|
-
# annotate the same resource defined in AnnotationSource.
|
1422
|
-
# Corresponds to the JSON property `matchedCount`
|
1423
|
-
# @return [Fixnum]
|
1424
|
-
attr_accessor :matched_count
|
1425
|
-
|
1426
1335
|
def initialize(**args)
|
1427
1336
|
update!(**args)
|
1428
1337
|
end
|
1429
1338
|
|
1430
1339
|
# Update properties of this object
|
1431
1340
|
def update!(**args)
|
1432
|
-
@eval_store = args[:eval_store] if args.key?(:eval_store)
|
1433
|
-
@golden_count = args[:golden_count] if args.key?(:golden_count)
|
1434
|
-
@golden_store = args[:golden_store] if args.key?(:golden_store)
|
1435
|
-
@matched_count = args[:matched_count] if args.key?(:matched_count)
|
1436
1341
|
end
|
1437
1342
|
end
|
1438
1343
|
|
@@ -1519,40 +1424,6 @@ module Google
|
|
1519
1424
|
end
|
1520
1425
|
end
|
1521
1426
|
|
1522
|
-
# Deprecated. Response for failed annotation export operations. This structure
|
1523
|
-
# is included in error details upon operation completion.
|
1524
|
-
class ExportAnnotationsErrorDetails
|
1525
|
-
include Google::Apis::Core::Hashable
|
1526
|
-
|
1527
|
-
# The annotation_store used for the export operation, in the format of `projects/
|
1528
|
-
# `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
1529
|
-
# annotation_store_id``.
|
1530
|
-
# Corresponds to the JSON property `annotationStore`
|
1531
|
-
# @return [String]
|
1532
|
-
attr_accessor :annotation_store
|
1533
|
-
|
1534
|
-
# The number of annotations that had error.
|
1535
|
-
# Corresponds to the JSON property `errorCount`
|
1536
|
-
# @return [Fixnum]
|
1537
|
-
attr_accessor :error_count
|
1538
|
-
|
1539
|
-
# The number of annotations successfully exported.
|
1540
|
-
# Corresponds to the JSON property `successCount`
|
1541
|
-
# @return [Fixnum]
|
1542
|
-
attr_accessor :success_count
|
1543
|
-
|
1544
|
-
def initialize(**args)
|
1545
|
-
update!(**args)
|
1546
|
-
end
|
1547
|
-
|
1548
|
-
# Update properties of this object
|
1549
|
-
def update!(**args)
|
1550
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
1551
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
1552
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
1553
|
-
end
|
1554
|
-
end
|
1555
|
-
|
1556
1427
|
# Request to export Annotations. The export operation is not atomic. If a
|
1557
1428
|
# failure occurs, any annotations already exported are not removed.
|
1558
1429
|
class ExportAnnotationsRequest
|
@@ -1568,13 +1439,6 @@ module Google
|
|
1568
1439
|
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
|
1569
1440
|
attr_accessor :gcs_destination
|
1570
1441
|
|
1571
|
-
# The name of the Annotation store to export annotations to, in the format of `
|
1572
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1573
|
-
# annotationStores/`annotation_store_id``.
|
1574
|
-
# Corresponds to the JSON property `name`
|
1575
|
-
# @return [String]
|
1576
|
-
attr_accessor :name
|
1577
|
-
|
1578
1442
|
def initialize(**args)
|
1579
1443
|
update!(**args)
|
1580
1444
|
end
|
@@ -1583,7 +1447,6 @@ module Google
|
|
1583
1447
|
def update!(**args)
|
1584
1448
|
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
1585
1449
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
1586
|
-
@name = args[:name] if args.key?(:name)
|
1587
1450
|
end
|
1588
1451
|
end
|
1589
1452
|
|
@@ -1592,26 +1455,12 @@ module Google
|
|
1592
1455
|
class ExportAnnotationsResponse
|
1593
1456
|
include Google::Apis::Core::Hashable
|
1594
1457
|
|
1595
|
-
# The annotation_store used for the export operation, in the format of `projects/
|
1596
|
-
# `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
|
1597
|
-
# annotation_store_id``.
|
1598
|
-
# Corresponds to the JSON property `annotationStore`
|
1599
|
-
# @return [String]
|
1600
|
-
attr_accessor :annotation_store
|
1601
|
-
|
1602
|
-
# The total number of annotations successfully exported.
|
1603
|
-
# Corresponds to the JSON property `successCount`
|
1604
|
-
# @return [Fixnum]
|
1605
|
-
attr_accessor :success_count
|
1606
|
-
|
1607
1458
|
def initialize(**args)
|
1608
1459
|
update!(**args)
|
1609
1460
|
end
|
1610
1461
|
|
1611
1462
|
# Update properties of this object
|
1612
1463
|
def update!(**args)
|
1613
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
1614
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
1615
1464
|
end
|
1616
1465
|
end
|
1617
1466
|
|
@@ -1668,7 +1517,7 @@ module Google
|
|
1668
1517
|
|
1669
1518
|
# The configuration for exporting to Cloud Storage.
|
1670
1519
|
# Corresponds to the JSON property `gcsDestination`
|
1671
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
1520
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
|
1672
1521
|
attr_accessor :gcs_destination
|
1673
1522
|
|
1674
1523
|
def initialize(**args)
|
@@ -2068,9 +1917,9 @@ module Google
|
|
2068
1917
|
class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
|
2069
1918
|
include Google::Apis::Core::Hashable
|
2070
1919
|
|
2071
|
-
#
|
2072
|
-
#
|
2073
|
-
#
|
1920
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
1921
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
1922
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
2074
1923
|
# Corresponds to the JSON property `force`
|
2075
1924
|
# @return [Boolean]
|
2076
1925
|
attr_accessor :force
|
@@ -2087,6 +1936,13 @@ module Google
|
|
2087
1936
|
# @return [String]
|
2088
1937
|
attr_accessor :table_uri
|
2089
1938
|
|
1939
|
+
# Determines whether existing tables in the destination dataset are overwritten
|
1940
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
1941
|
+
# ignored.
|
1942
|
+
# Corresponds to the JSON property `writeDisposition`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :write_disposition
|
1945
|
+
|
2090
1946
|
def initialize(**args)
|
2091
1947
|
update!(**args)
|
2092
1948
|
end
|
@@ -2096,6 +1952,7 @@ module Google
|
|
2096
1952
|
@force = args[:force] if args.key?(:force)
|
2097
1953
|
@schema_type = args[:schema_type] if args.key?(:schema_type)
|
2098
1954
|
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
1955
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2099
1956
|
end
|
2100
1957
|
end
|
2101
1958
|
|
@@ -2219,24 +2076,12 @@ module Google
|
|
2219
2076
|
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
|
2220
2077
|
include Google::Apis::Core::Hashable
|
2221
2078
|
|
2222
|
-
# Number of objects that processing failed for.
|
2223
|
-
# Corresponds to the JSON property `failureResourceCount`
|
2224
|
-
# @return [Fixnum]
|
2225
|
-
attr_accessor :failure_resource_count
|
2226
|
-
|
2227
|
-
# Number of objects successfully processed.
|
2228
|
-
# Corresponds to the JSON property `successResourceCount`
|
2229
|
-
# @return [Fixnum]
|
2230
|
-
attr_accessor :success_resource_count
|
2231
|
-
|
2232
2079
|
def initialize(**args)
|
2233
2080
|
update!(**args)
|
2234
2081
|
end
|
2235
2082
|
|
2236
2083
|
# Update properties of this object
|
2237
2084
|
def update!(**args)
|
2238
|
-
@failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
|
2239
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
2240
2085
|
end
|
2241
2086
|
end
|
2242
2087
|
|
@@ -2244,18 +2089,12 @@ module Google
|
|
2244
2089
|
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary
|
2245
2090
|
include Google::Apis::Core::Hashable
|
2246
2091
|
|
2247
|
-
# Number of resources successfully processed.
|
2248
|
-
# Corresponds to the JSON property `successResourceCount`
|
2249
|
-
# @return [Fixnum]
|
2250
|
-
attr_accessor :success_resource_count
|
2251
|
-
|
2252
2092
|
def initialize(**args)
|
2253
2093
|
update!(**args)
|
2254
2094
|
end
|
2255
2095
|
|
2256
2096
|
# Update properties of this object
|
2257
2097
|
def update!(**args)
|
2258
|
-
@success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
|
2259
2098
|
end
|
2260
2099
|
end
|
2261
2100
|
|
@@ -2263,9 +2102,9 @@ module Google
|
|
2263
2102
|
class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
|
2264
2103
|
include Google::Apis::Core::Hashable
|
2265
2104
|
|
2266
|
-
#
|
2267
|
-
#
|
2268
|
-
#
|
2105
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
2106
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
2107
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
2269
2108
|
# Corresponds to the JSON property `force`
|
2270
2109
|
# @return [Boolean]
|
2271
2110
|
attr_accessor :force
|
@@ -2277,6 +2116,13 @@ module Google
|
|
2277
2116
|
# @return [String]
|
2278
2117
|
attr_accessor :table_uri
|
2279
2118
|
|
2119
|
+
# Determines whether the existing table in the destination is to be overwritten
|
2120
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
2121
|
+
# ignored.
|
2122
|
+
# Corresponds to the JSON property `writeDisposition`
|
2123
|
+
# @return [String]
|
2124
|
+
attr_accessor :write_disposition
|
2125
|
+
|
2280
2126
|
def initialize(**args)
|
2281
2127
|
update!(**args)
|
2282
2128
|
end
|
@@ -2285,6 +2131,7 @@ module Google
|
|
2285
2131
|
def update!(**args)
|
2286
2132
|
@force = args[:force] if args.key?(:force)
|
2287
2133
|
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
2134
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2288
2135
|
end
|
2289
2136
|
end
|
2290
2137
|
|
@@ -2393,10 +2240,9 @@ module Google
|
|
2393
2240
|
# @return [String]
|
2394
2241
|
attr_accessor :dataset_uri
|
2395
2242
|
|
2396
|
-
#
|
2397
|
-
#
|
2398
|
-
#
|
2399
|
-
# used for the streaming export.
|
2243
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
2244
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
2245
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
2400
2246
|
# Corresponds to the JSON property `force`
|
2401
2247
|
# @return [Boolean]
|
2402
2248
|
attr_accessor :force
|
@@ -2408,6 +2254,13 @@ module Google
|
|
2408
2254
|
# @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
|
2409
2255
|
attr_accessor :schema_config
|
2410
2256
|
|
2257
|
+
# Determines whether existing tables in the destination dataset are overwritten
|
2258
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
2259
|
+
# ignored.
|
2260
|
+
# Corresponds to the JSON property `writeDisposition`
|
2261
|
+
# @return [String]
|
2262
|
+
attr_accessor :write_disposition
|
2263
|
+
|
2411
2264
|
def initialize(**args)
|
2412
2265
|
update!(**args)
|
2413
2266
|
end
|
@@ -2417,6 +2270,88 @@ module Google
|
|
2417
2270
|
@dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
|
2418
2271
|
@force = args[:force] if args.key?(:force)
|
2419
2272
|
@schema_config = args[:schema_config] if args.key?(:schema_config)
|
2273
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
2274
|
+
end
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
# Response when all resources export successfully. This structure is included in
|
2278
|
+
# the response to describe the detailed outcome after the operation finishes
|
2279
|
+
# successfully.
|
2280
|
+
class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
|
2281
|
+
include Google::Apis::Core::Hashable
|
2282
|
+
|
2283
|
+
def initialize(**args)
|
2284
|
+
update!(**args)
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
# Update properties of this object
|
2288
|
+
def update!(**args)
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
# The configuration for exporting to Cloud Storage.
|
2293
|
+
class GoogleCloudHealthcareV1beta1FhirGcsDestination
|
2294
|
+
include Google::Apis::Core::Hashable
|
2295
|
+
|
2296
|
+
# URI for a Cloud Storage directory where result files should be written (in the
|
2297
|
+
# format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
|
2298
|
+
# slash, the service appends one when composing the object path. The Cloud
|
2299
|
+
# Storage bucket referenced in `uri_prefix` must exist or an error occurs.
|
2300
|
+
# Corresponds to the JSON property `uriPrefix`
|
2301
|
+
# @return [String]
|
2302
|
+
attr_accessor :uri_prefix
|
2303
|
+
|
2304
|
+
def initialize(**args)
|
2305
|
+
update!(**args)
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
# Update properties of this object
|
2309
|
+
def update!(**args)
|
2310
|
+
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
2311
|
+
end
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
2315
|
+
class GoogleCloudHealthcareV1beta1FhirGcsSource
|
2316
|
+
include Google::Apis::Core::Hashable
|
2317
|
+
|
2318
|
+
# Points to a Cloud Storage URI containing file(s) to import. The URI must be in
|
2319
|
+
# the following format: `gs://`bucket_id`/`object_id``. The URI can include
|
2320
|
+
# wildcards in `object_id` and thus identify multiple files. Supported wildcards:
|
2321
|
+
# * `*` to match 0 or more non-separator characters * `**` to match 0 or more
|
2322
|
+
# characters (including separators). Must be used at the end of a path and with
|
2323
|
+
# no other wildcards in the path. Can also be used with a file extension (such
|
2324
|
+
# as .ndjson), which imports all files with the extension in the specified
|
2325
|
+
# directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
|
2326
|
+
# .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
|
2327
|
+
# its sub-directories. * `?` to match 1 character Files matching the wildcard
|
2328
|
+
# are expected to contain content only, no metadata.
|
2329
|
+
# Corresponds to the JSON property `uri`
|
2330
|
+
# @return [String]
|
2331
|
+
attr_accessor :uri
|
2332
|
+
|
2333
|
+
def initialize(**args)
|
2334
|
+
update!(**args)
|
2335
|
+
end
|
2336
|
+
|
2337
|
+
# Update properties of this object
|
2338
|
+
def update!(**args)
|
2339
|
+
@uri = args[:uri] if args.key?(:uri)
|
2340
|
+
end
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# Final response of importing resources. This structure is included in the
|
2344
|
+
# response to describe the detailed outcome after the operation finishes
|
2345
|
+
# successfully.
|
2346
|
+
class GoogleCloudHealthcareV1beta1FhirImportResourcesResponse
|
2347
|
+
include Google::Apis::Core::Hashable
|
2348
|
+
|
2349
|
+
def initialize(**args)
|
2350
|
+
update!(**args)
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
# Update properties of this object
|
2354
|
+
def update!(**args)
|
2420
2355
|
end
|
2421
2356
|
end
|
2422
2357
|
|
@@ -2491,57 +2426,6 @@ module Google
|
|
2491
2426
|
end
|
2492
2427
|
end
|
2493
2428
|
|
2494
|
-
# The configuration for exporting to Cloud Storage.
|
2495
|
-
class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
|
2496
|
-
include Google::Apis::Core::Hashable
|
2497
|
-
|
2498
|
-
# URI for a Cloud Storage directory where result files should be written (in the
|
2499
|
-
# format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
|
2500
|
-
# slash, the service appends one when composing the object path. The user is
|
2501
|
-
# responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.
|
2502
|
-
# Corresponds to the JSON property `uriPrefix`
|
2503
|
-
# @return [String]
|
2504
|
-
attr_accessor :uri_prefix
|
2505
|
-
|
2506
|
-
def initialize(**args)
|
2507
|
-
update!(**args)
|
2508
|
-
end
|
2509
|
-
|
2510
|
-
# Update properties of this object
|
2511
|
-
def update!(**args)
|
2512
|
-
@uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
|
2513
|
-
end
|
2514
|
-
end
|
2515
|
-
|
2516
|
-
# Specifies the configuration for importing data from Cloud Storage.
|
2517
|
-
class GoogleCloudHealthcareV1beta1FhirRestGcsSource
|
2518
|
-
include Google::Apis::Core::Hashable
|
2519
|
-
|
2520
|
-
# Points to a Cloud Storage URI containing file(s) to import. The URI must be in
|
2521
|
-
# the following format: `gs://`bucket_id`/`object_id``. The URI can include
|
2522
|
-
# wildcards in `object_id` and thus identify multiple files. Supported wildcards:
|
2523
|
-
# * `*` to match 0 or more non-separator characters * `**` to match 0 or more
|
2524
|
-
# characters (including separators). Must be used at the end of a path and with
|
2525
|
-
# no other wildcards in the path. Can also be used with a file extension (such
|
2526
|
-
# as .ndjson), which imports all files with the extension in the specified
|
2527
|
-
# directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
|
2528
|
-
# .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
|
2529
|
-
# its sub-directories. * `?` to match 1 character Files matching the wildcard
|
2530
|
-
# are expected to contain content only, no metadata.
|
2531
|
-
# Corresponds to the JSON property `uri`
|
2532
|
-
# @return [String]
|
2533
|
-
attr_accessor :uri
|
2534
|
-
|
2535
|
-
def initialize(**args)
|
2536
|
-
update!(**args)
|
2537
|
-
end
|
2538
|
-
|
2539
|
-
# Update properties of this object
|
2540
|
-
def update!(**args)
|
2541
|
-
@uri = args[:uri] if args.key?(:uri)
|
2542
|
-
end
|
2543
|
-
end
|
2544
|
-
|
2545
2429
|
# Error response of importing resources. This structure is included in the
|
2546
2430
|
# error details to describe the detailed error after the operation finishes with
|
2547
2431
|
# some failure.
|
@@ -2941,41 +2825,6 @@ module Google
|
|
2941
2825
|
end
|
2942
2826
|
end
|
2943
2827
|
|
2944
|
-
# Deprecated. Final response of importing Annotations in partial or total
|
2945
|
-
# failure case. This structure is included in the error details. It is only
|
2946
|
-
# included when the operation finishes.
|
2947
|
-
class ImportAnnotationsErrorDetails
|
2948
|
-
include Google::Apis::Core::Hashable
|
2949
|
-
|
2950
|
-
# The annotation_store that the annotations were imported to. The name is in the
|
2951
|
-
# format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
2952
|
-
# annotationStores/`annotation_store_id``.
|
2953
|
-
# Corresponds to the JSON property `annotationStore`
|
2954
|
-
# @return [String]
|
2955
|
-
attr_accessor :annotation_store
|
2956
|
-
|
2957
|
-
# The number of annotations that had errors.
|
2958
|
-
# Corresponds to the JSON property `errorCount`
|
2959
|
-
# @return [Fixnum]
|
2960
|
-
attr_accessor :error_count
|
2961
|
-
|
2962
|
-
# The number of annotations that have been imported.
|
2963
|
-
# Corresponds to the JSON property `successCount`
|
2964
|
-
# @return [Fixnum]
|
2965
|
-
attr_accessor :success_count
|
2966
|
-
|
2967
|
-
def initialize(**args)
|
2968
|
-
update!(**args)
|
2969
|
-
end
|
2970
|
-
|
2971
|
-
# Update properties of this object
|
2972
|
-
def update!(**args)
|
2973
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
2974
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
2975
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
2976
|
-
end
|
2977
|
-
end
|
2978
|
-
|
2979
2828
|
# Request to import Annotations. The Annotations to be imported must have client-
|
2980
2829
|
# supplied resource names which indicate the annotation resource. The import
|
2981
2830
|
# operation is not atomic. If a failure occurs, any annotations already imported
|
@@ -2988,13 +2837,6 @@ module Google
|
|
2988
2837
|
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
|
2989
2838
|
attr_accessor :gcs_source
|
2990
2839
|
|
2991
|
-
# The name of the Annotation store to which the server imports annotations, in
|
2992
|
-
# the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
|
2993
|
-
# /annotationStores/`annotation_store_id``.
|
2994
|
-
# Corresponds to the JSON property `name`
|
2995
|
-
# @return [String]
|
2996
|
-
attr_accessor :name
|
2997
|
-
|
2998
2840
|
def initialize(**args)
|
2999
2841
|
update!(**args)
|
3000
2842
|
end
|
@@ -3002,7 +2844,6 @@ module Google
|
|
3002
2844
|
# Update properties of this object
|
3003
2845
|
def update!(**args)
|
3004
2846
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
3005
|
-
@name = args[:name] if args.key?(:name)
|
3006
2847
|
end
|
3007
2848
|
end
|
3008
2849
|
|
@@ -3011,26 +2852,12 @@ module Google
|
|
3011
2852
|
class ImportAnnotationsResponse
|
3012
2853
|
include Google::Apis::Core::Hashable
|
3013
2854
|
|
3014
|
-
# The annotation_store that the annotations were imported to, in the format `
|
3015
|
-
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
3016
|
-
# annotationStores/`annotation_store_id``.
|
3017
|
-
# Corresponds to the JSON property `annotationStore`
|
3018
|
-
# @return [String]
|
3019
|
-
attr_accessor :annotation_store
|
3020
|
-
|
3021
|
-
# The number of the input annotations. All input have been imported successfully.
|
3022
|
-
# Corresponds to the JSON property `successCount`
|
3023
|
-
# @return [Fixnum]
|
3024
|
-
attr_accessor :success_count
|
3025
|
-
|
3026
2855
|
def initialize(**args)
|
3027
2856
|
update!(**args)
|
3028
2857
|
end
|
3029
2858
|
|
3030
2859
|
# Update properties of this object
|
3031
2860
|
def update!(**args)
|
3032
|
-
@annotation_store = args[:annotation_store] if args.key?(:annotation_store)
|
3033
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
3034
2861
|
end
|
3035
2862
|
end
|
3036
2863
|
|
@@ -3136,7 +2963,7 @@ module Google
|
|
3136
2963
|
|
3137
2964
|
# Specifies the configuration for importing data from Cloud Storage.
|
3138
2965
|
# Corresponds to the JSON property `gcsSource`
|
3139
|
-
# @return [Google::Apis::HealthcareV1beta1::
|
2966
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
|
3140
2967
|
attr_accessor :gcs_source
|
3141
2968
|
|
3142
2969
|
def initialize(**args)
|