google-api-client 0.40.2 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +12 -3
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +535 -43
- data/generated/google/apis/compute_alpha/representations.rb +167 -0
- data/generated/google/apis/compute_alpha/service.rb +922 -172
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +107 -42
- data/generated/google/apis/compute_beta/representations.rb +20 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +22 -10
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +21 -7
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -1
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -7
- data/generated/google/apis/content_v2_1/representations.rb +37 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +46 -0
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +910 -43
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -0
- data/generated/google/apis/iam_v1/service.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +56 -17
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +117 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +27 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +72 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/customsearch_v1.rb +0 -31
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
|
@@ -0,0 +1,269 @@
|
|
|
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 DocumentaiV1beta2
|
|
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_v1beta2'
|
|
31
|
+
#
|
|
32
|
+
# Documentai = Google::Apis::DocumentaiV1beta2 # 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
|
+
# LRO endpoint to batch process many documents. The output is written
|
|
53
|
+
# to Cloud Storage as JSON in the [Document] format.
|
|
54
|
+
# @param [String] parent
|
|
55
|
+
# Target project and location to make a call.
|
|
56
|
+
# Format: `projects/`project-id`/locations/`location-id``.
|
|
57
|
+
# If no location is specified, a region will be chosen automatically.
|
|
58
|
+
# @param [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest] google_cloud_documentai_v1beta2_batch_process_documents_request_object
|
|
59
|
+
# @param [String] fields
|
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
|
61
|
+
# @param [String] quota_user
|
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
|
65
|
+
# Request-specific options
|
|
66
|
+
#
|
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
|
68
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation] parsed result object
|
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
70
|
+
#
|
|
71
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation]
|
|
72
|
+
#
|
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
+
def batch_project_document_process(parent, google_cloud_documentai_v1beta2_batch_process_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/documents:batchProcess', options)
|
|
78
|
+
command.request_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest::Representation
|
|
79
|
+
command.request_object = google_cloud_documentai_v1beta2_batch_process_documents_request_object
|
|
80
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation::Representation
|
|
81
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation
|
|
82
|
+
command.params['parent'] = parent unless parent.nil?
|
|
83
|
+
command.query['fields'] = fields unless fields.nil?
|
|
84
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
|
+
execute_or_queue_command(command, &block)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Processes a single document.
|
|
89
|
+
# @param [String] parent
|
|
90
|
+
# Target project and location to make a call.
|
|
91
|
+
# Format: `projects/`project-id`/locations/`location-id``.
|
|
92
|
+
# If no location is specified, a region will be chosen automatically.
|
|
93
|
+
# This field is only populated when used in ProcessDocument method.
|
|
94
|
+
# @param [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest] google_cloud_documentai_v1beta2_process_document_request_object
|
|
95
|
+
# @param [String] fields
|
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
|
97
|
+
# @param [String] quota_user
|
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
|
101
|
+
# Request-specific options
|
|
102
|
+
#
|
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
|
104
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document] parsed result object
|
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
106
|
+
#
|
|
107
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document]
|
|
108
|
+
#
|
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
112
|
+
def process_project_document(parent, google_cloud_documentai_v1beta2_process_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
113
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/documents:process', options)
|
|
114
|
+
command.request_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest::Representation
|
|
115
|
+
command.request_object = google_cloud_documentai_v1beta2_process_document_request_object
|
|
116
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document::Representation
|
|
117
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document
|
|
118
|
+
command.params['parent'] = parent unless parent.nil?
|
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
121
|
+
execute_or_queue_command(command, &block)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# LRO endpoint to batch process many documents. The output is written
|
|
125
|
+
# to Cloud Storage as JSON in the [Document] format.
|
|
126
|
+
# @param [String] parent
|
|
127
|
+
# Target project and location to make a call.
|
|
128
|
+
# Format: `projects/`project-id`/locations/`location-id``.
|
|
129
|
+
# If no location is specified, a region will be chosen automatically.
|
|
130
|
+
# @param [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest] google_cloud_documentai_v1beta2_batch_process_documents_request_object
|
|
131
|
+
# @param [String] fields
|
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
|
133
|
+
# @param [String] quota_user
|
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
137
|
+
# Request-specific options
|
|
138
|
+
#
|
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
|
140
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation] parsed result object
|
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
142
|
+
#
|
|
143
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation]
|
|
144
|
+
#
|
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
148
|
+
def batch_project_location_document_process(parent, google_cloud_documentai_v1beta2_batch_process_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
149
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/documents:batchProcess', options)
|
|
150
|
+
command.request_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest::Representation
|
|
151
|
+
command.request_object = google_cloud_documentai_v1beta2_batch_process_documents_request_object
|
|
152
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation::Representation
|
|
153
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation
|
|
154
|
+
command.params['parent'] = parent unless parent.nil?
|
|
155
|
+
command.query['fields'] = fields unless fields.nil?
|
|
156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
157
|
+
execute_or_queue_command(command, &block)
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Processes a single document.
|
|
161
|
+
# @param [String] parent
|
|
162
|
+
# Target project and location to make a call.
|
|
163
|
+
# Format: `projects/`project-id`/locations/`location-id``.
|
|
164
|
+
# If no location is specified, a region will be chosen automatically.
|
|
165
|
+
# This field is only populated when used in ProcessDocument method.
|
|
166
|
+
# @param [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest] google_cloud_documentai_v1beta2_process_document_request_object
|
|
167
|
+
# @param [String] fields
|
|
168
|
+
# Selector specifying which fields to include in a partial response.
|
|
169
|
+
# @param [String] quota_user
|
|
170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
172
|
+
# @param [Google::Apis::RequestOptions] options
|
|
173
|
+
# Request-specific options
|
|
174
|
+
#
|
|
175
|
+
# @yield [result, err] Result & error if block supplied
|
|
176
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document] parsed result object
|
|
177
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
178
|
+
#
|
|
179
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document]
|
|
180
|
+
#
|
|
181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
184
|
+
def process_project_location_document(parent, google_cloud_documentai_v1beta2_process_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
185
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/documents:process', options)
|
|
186
|
+
command.request_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest::Representation
|
|
187
|
+
command.request_object = google_cloud_documentai_v1beta2_process_document_request_object
|
|
188
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document::Representation
|
|
189
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Document
|
|
190
|
+
command.params['parent'] = parent unless parent.nil?
|
|
191
|
+
command.query['fields'] = fields unless fields.nil?
|
|
192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
193
|
+
execute_or_queue_command(command, &block)
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
|
197
|
+
# method to poll the operation result at intervals as recommended by the API
|
|
198
|
+
# service.
|
|
199
|
+
# @param [String] name
|
|
200
|
+
# The name of the operation resource.
|
|
201
|
+
# @param [String] fields
|
|
202
|
+
# Selector specifying which fields to include in a partial response.
|
|
203
|
+
# @param [String] quota_user
|
|
204
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
205
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
206
|
+
# @param [Google::Apis::RequestOptions] options
|
|
207
|
+
# Request-specific options
|
|
208
|
+
#
|
|
209
|
+
# @yield [result, err] Result & error if block supplied
|
|
210
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation] parsed result object
|
|
211
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
212
|
+
#
|
|
213
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation]
|
|
214
|
+
#
|
|
215
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
216
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
217
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
218
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
219
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
220
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation::Representation
|
|
221
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation
|
|
222
|
+
command.params['name'] = name unless name.nil?
|
|
223
|
+
command.query['fields'] = fields unless fields.nil?
|
|
224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
225
|
+
execute_or_queue_command(command, &block)
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
|
229
|
+
# method to poll the operation result at intervals as recommended by the API
|
|
230
|
+
# service.
|
|
231
|
+
# @param [String] name
|
|
232
|
+
# The name of the operation resource.
|
|
233
|
+
# @param [String] fields
|
|
234
|
+
# Selector specifying which fields to include in a partial response.
|
|
235
|
+
# @param [String] quota_user
|
|
236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
238
|
+
# @param [Google::Apis::RequestOptions] options
|
|
239
|
+
# Request-specific options
|
|
240
|
+
#
|
|
241
|
+
# @yield [result, err] Result & error if block supplied
|
|
242
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation] parsed result object
|
|
243
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
244
|
+
#
|
|
245
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation]
|
|
246
|
+
#
|
|
247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
250
|
+
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
251
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
252
|
+
command.response_representation = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation::Representation
|
|
253
|
+
command.response_class = Google::Apis::DocumentaiV1beta2::GoogleLongrunningOperation
|
|
254
|
+
command.params['name'] = name unless name.nil?
|
|
255
|
+
command.query['fields'] = fields unless fields.nil?
|
|
256
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
257
|
+
execute_or_queue_command(command, &block)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
protected
|
|
261
|
+
|
|
262
|
+
def apply_command_defaults(command)
|
|
263
|
+
command.query['key'] = key unless key.nil?
|
|
264
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
265
|
+
end
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
end
|
|
@@ -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 = '20200609'
|
|
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'
|
|
@@ -181,9 +181,7 @@ module Google
|
|
|
181
181
|
# @param [String] drive_id
|
|
182
182
|
# The shared drive from which the change is returned.
|
|
183
183
|
# @param [Boolean] supports_all_drives
|
|
184
|
-
#
|
|
185
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
186
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
184
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
187
185
|
# @param [Boolean] supports_team_drives
|
|
188
186
|
# Deprecated use supportsAllDrives instead.
|
|
189
187
|
# @param [String] team_drive_id
|
|
@@ -227,9 +225,7 @@ module Google
|
|
|
227
225
|
# The ID of the shared drive for which the starting pageToken for listing future
|
|
228
226
|
# changes from that shared drive is returned.
|
|
229
227
|
# @param [Boolean] supports_all_drives
|
|
230
|
-
#
|
|
231
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
232
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
228
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
233
229
|
# @param [Boolean] supports_team_drives
|
|
234
230
|
# Deprecated use supportsAllDrives instead.
|
|
235
231
|
# @param [String] team_drive_id
|
|
@@ -281,9 +277,7 @@ module Google
|
|
|
281
277
|
# Whether to include changes indicating that items have been removed from the
|
|
282
278
|
# list of changes, for example by deletion or loss of access.
|
|
283
279
|
# @param [Boolean] include_items_from_all_drives
|
|
284
|
-
#
|
|
285
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
286
|
-
# Afterwards shared drive items are included in the results.
|
|
280
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
287
281
|
# @param [Boolean] include_subscribed
|
|
288
282
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
|
289
283
|
# set to false, changes to files such as those in the Application Data folder or
|
|
@@ -302,9 +296,7 @@ module Google
|
|
|
302
296
|
# @param [Fixnum] start_change_id
|
|
303
297
|
# Deprecated - use pageToken instead.
|
|
304
298
|
# @param [Boolean] supports_all_drives
|
|
305
|
-
#
|
|
306
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
307
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
299
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
308
300
|
# @param [Boolean] supports_team_drives
|
|
309
301
|
# Deprecated use supportsAllDrives instead.
|
|
310
302
|
# @param [String] team_drive_id
|
|
@@ -366,9 +358,7 @@ module Google
|
|
|
366
358
|
# Whether to include changes indicating that items have been removed from the
|
|
367
359
|
# list of changes, for example by deletion or loss of access.
|
|
368
360
|
# @param [Boolean] include_items_from_all_drives
|
|
369
|
-
#
|
|
370
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
371
|
-
# Afterwards shared drive items are included in the results.
|
|
361
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
372
362
|
# @param [Boolean] include_subscribed
|
|
373
363
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
|
374
364
|
# set to false, changes to files such as those in the Application Data folder or
|
|
@@ -387,9 +377,7 @@ module Google
|
|
|
387
377
|
# @param [Fixnum] start_change_id
|
|
388
378
|
# Deprecated - use pageToken instead.
|
|
389
379
|
# @param [Boolean] supports_all_drives
|
|
390
|
-
#
|
|
391
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
392
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
380
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
393
381
|
# @param [Boolean] supports_team_drives
|
|
394
382
|
# Deprecated use supportsAllDrives instead.
|
|
395
383
|
# @param [String] team_drive_id
|
|
@@ -557,9 +545,7 @@ module Google
|
|
|
557
545
|
# increase the number of the child's parents fail, except when the
|
|
558
546
|
# canAddMyDriveParent file capability is true and a single parent is being added.
|
|
559
547
|
# @param [Boolean] supports_all_drives
|
|
560
|
-
#
|
|
561
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
562
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
548
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
563
549
|
# @param [Boolean] supports_team_drives
|
|
564
550
|
# Deprecated use supportsAllDrives instead.
|
|
565
551
|
# @param [String] fields
|
|
@@ -1163,9 +1149,7 @@ module Google
|
|
|
1163
1149
|
# Whether to pin the head revision of the new copy. A file can have a maximum of
|
|
1164
1150
|
# 200 pinned revisions.
|
|
1165
1151
|
# @param [Boolean] supports_all_drives
|
|
1166
|
-
#
|
|
1167
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1168
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1152
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1169
1153
|
# @param [Boolean] supports_team_drives
|
|
1170
1154
|
# Deprecated use supportsAllDrives instead.
|
|
1171
1155
|
# @param [String] timed_text_language
|
|
@@ -1222,9 +1206,7 @@ module Google
|
|
|
1222
1206
|
# @param [String] file_id
|
|
1223
1207
|
# The ID of the file to delete.
|
|
1224
1208
|
# @param [Boolean] supports_all_drives
|
|
1225
|
-
#
|
|
1226
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1227
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1209
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1228
1210
|
# @param [Boolean] supports_team_drives
|
|
1229
1211
|
# Deprecated use supportsAllDrives instead.
|
|
1230
1212
|
# @param [String] fields
|
|
@@ -1376,9 +1358,7 @@ module Google
|
|
|
1376
1358
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
|
1377
1359
|
# is specified.
|
|
1378
1360
|
# @param [Boolean] supports_all_drives
|
|
1379
|
-
#
|
|
1380
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1381
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1361
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1382
1362
|
# @param [Boolean] supports_team_drives
|
|
1383
1363
|
# Deprecated use supportsAllDrives instead.
|
|
1384
1364
|
# @param [Boolean] update_viewed_date
|
|
@@ -1443,9 +1423,7 @@ module Google
|
|
|
1443
1423
|
# Whether to pin the head revision of the uploaded file. A file can have a
|
|
1444
1424
|
# maximum of 200 pinned revisions.
|
|
1445
1425
|
# @param [Boolean] supports_all_drives
|
|
1446
|
-
#
|
|
1447
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1448
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1426
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1449
1427
|
# @param [Boolean] supports_team_drives
|
|
1450
1428
|
# Deprecated use supportsAllDrives instead.
|
|
1451
1429
|
# @param [String] timed_text_language
|
|
@@ -1520,9 +1498,7 @@ module Google
|
|
|
1520
1498
|
# @param [String] drive_id
|
|
1521
1499
|
# ID of the shared drive to search.
|
|
1522
1500
|
# @param [Boolean] include_items_from_all_drives
|
|
1523
|
-
#
|
|
1524
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
1525
|
-
# Afterwards shared drive items will be included in the results.
|
|
1501
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
1526
1502
|
# @param [Boolean] include_team_drive_items
|
|
1527
1503
|
# Deprecated use includeItemsFromAllDrives instead.
|
|
1528
1504
|
# @param [Fixnum] max_results
|
|
@@ -1546,9 +1522,7 @@ module Google
|
|
|
1546
1522
|
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
|
1547
1523
|
# appDataFolder' and 'photos'.
|
|
1548
1524
|
# @param [Boolean] supports_all_drives
|
|
1549
|
-
#
|
|
1550
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1551
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1525
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1552
1526
|
# @param [Boolean] supports_team_drives
|
|
1553
1527
|
# Deprecated use supportsAllDrives instead.
|
|
1554
1528
|
# @param [String] team_drive_id
|
|
@@ -1636,9 +1610,7 @@ module Google
|
|
|
1636
1610
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
|
1637
1611
|
# to the modified date set modifiedDateBehavior=noChange.
|
|
1638
1612
|
# @param [Boolean] supports_all_drives
|
|
1639
|
-
#
|
|
1640
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1641
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1613
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1642
1614
|
# @param [Boolean] supports_team_drives
|
|
1643
1615
|
# Deprecated use supportsAllDrives instead.
|
|
1644
1616
|
# @param [String] timed_text_language
|
|
@@ -1701,9 +1673,7 @@ module Google
|
|
|
1701
1673
|
# @param [String] file_id
|
|
1702
1674
|
# The ID of the file to update.
|
|
1703
1675
|
# @param [Boolean] supports_all_drives
|
|
1704
|
-
#
|
|
1705
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1706
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1676
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1707
1677
|
# @param [Boolean] supports_team_drives
|
|
1708
1678
|
# Deprecated use supportsAllDrives instead.
|
|
1709
1679
|
# @param [String] fields
|
|
@@ -1743,9 +1713,7 @@ module Google
|
|
|
1743
1713
|
# @param [String] file_id
|
|
1744
1714
|
# The ID of the file to trash.
|
|
1745
1715
|
# @param [Boolean] supports_all_drives
|
|
1746
|
-
#
|
|
1747
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1748
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1716
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1749
1717
|
# @param [Boolean] supports_team_drives
|
|
1750
1718
|
# Deprecated use supportsAllDrives instead.
|
|
1751
1719
|
# @param [String] fields
|
|
@@ -1784,9 +1752,7 @@ module Google
|
|
|
1784
1752
|
# @param [String] file_id
|
|
1785
1753
|
# The ID of the file to untrash.
|
|
1786
1754
|
# @param [Boolean] supports_all_drives
|
|
1787
|
-
#
|
|
1788
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1789
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1755
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1790
1756
|
# @param [Boolean] supports_team_drives
|
|
1791
1757
|
# Deprecated use supportsAllDrives instead.
|
|
1792
1758
|
# @param [String] fields
|
|
@@ -1861,9 +1827,7 @@ module Google
|
|
|
1861
1827
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
|
1862
1828
|
# to the modified date set modifiedDateBehavior=noChange.
|
|
1863
1829
|
# @param [Boolean] supports_all_drives
|
|
1864
|
-
#
|
|
1865
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1866
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1830
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1867
1831
|
# @param [Boolean] supports_team_drives
|
|
1868
1832
|
# Deprecated use supportsAllDrives instead.
|
|
1869
1833
|
# @param [String] timed_text_language
|
|
@@ -1945,9 +1909,7 @@ module Google
|
|
|
1945
1909
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
|
1946
1910
|
# is specified.
|
|
1947
1911
|
# @param [Boolean] supports_all_drives
|
|
1948
|
-
#
|
|
1949
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1950
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1912
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1951
1913
|
# @param [Boolean] supports_team_drives
|
|
1952
1914
|
# Deprecated use supportsAllDrives instead.
|
|
1953
1915
|
# @param [Boolean] update_viewed_date
|
|
@@ -2086,9 +2048,7 @@ module Google
|
|
|
2086
2048
|
# increase the number of the child's parents fail, except when the
|
|
2087
2049
|
# canAddMyDriveParent file capability is true and a single parent is being added.
|
|
2088
2050
|
# @param [Boolean] supports_all_drives
|
|
2089
|
-
#
|
|
2090
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2091
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2051
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2092
2052
|
# @param [Boolean] supports_team_drives
|
|
2093
2053
|
# Deprecated use supportsAllDrives instead.
|
|
2094
2054
|
# @param [String] fields
|
|
@@ -2165,9 +2125,7 @@ module Google
|
|
|
2165
2125
|
# @param [String] permission_id
|
|
2166
2126
|
# The ID for the permission.
|
|
2167
2127
|
# @param [Boolean] supports_all_drives
|
|
2168
|
-
#
|
|
2169
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2170
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2128
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2171
2129
|
# @param [Boolean] supports_team_drives
|
|
2172
2130
|
# Deprecated use supportsAllDrives instead.
|
|
2173
2131
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -2213,9 +2171,7 @@ module Google
|
|
|
2213
2171
|
# @param [String] permission_id
|
|
2214
2172
|
# The ID for the permission.
|
|
2215
2173
|
# @param [Boolean] supports_all_drives
|
|
2216
|
-
#
|
|
2217
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2218
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2174
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2219
2175
|
# @param [Boolean] supports_team_drives
|
|
2220
2176
|
# Deprecated use supportsAllDrives instead.
|
|
2221
2177
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -2312,9 +2268,7 @@ module Google
|
|
|
2312
2268
|
# Whether to send notification emails when sharing to users or groups. This
|
|
2313
2269
|
# parameter is ignored and an email is sent if the role is owner.
|
|
2314
2270
|
# @param [Boolean] supports_all_drives
|
|
2315
|
-
#
|
|
2316
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2317
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2271
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2318
2272
|
# @param [Boolean] supports_team_drives
|
|
2319
2273
|
# Deprecated use supportsAllDrives instead.
|
|
2320
2274
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -2372,9 +2326,7 @@ module Google
|
|
|
2372
2326
|
# The token for continuing a previous list request on the next page. This should
|
|
2373
2327
|
# be set to the value of 'nextPageToken' from the previous response.
|
|
2374
2328
|
# @param [Boolean] supports_all_drives
|
|
2375
|
-
#
|
|
2376
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2377
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2329
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2378
2330
|
# @param [Boolean] supports_team_drives
|
|
2379
2331
|
# Deprecated use supportsAllDrives instead.
|
|
2380
2332
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -2426,9 +2378,7 @@ module Google
|
|
|
2426
2378
|
# @param [Boolean] remove_expiration
|
|
2427
2379
|
# Whether to remove the expiration date.
|
|
2428
2380
|
# @param [Boolean] supports_all_drives
|
|
2429
|
-
#
|
|
2430
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2431
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2381
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2432
2382
|
# @param [Boolean] supports_team_drives
|
|
2433
2383
|
# Deprecated use supportsAllDrives instead.
|
|
2434
2384
|
# @param [Boolean] transfer_ownership
|
|
@@ -2486,9 +2436,7 @@ module Google
|
|
|
2486
2436
|
# @param [Boolean] remove_expiration
|
|
2487
2437
|
# Whether to remove the expiration date.
|
|
2488
2438
|
# @param [Boolean] supports_all_drives
|
|
2489
|
-
#
|
|
2490
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
2491
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
2439
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
2492
2440
|
# @param [Boolean] supports_team_drives
|
|
2493
2441
|
# Deprecated use supportsAllDrives instead.
|
|
2494
2442
|
# @param [Boolean] transfer_ownership
|