google-apis-bigquerydatatransfer_v1 0.36.0 → 0.37.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 +5 -0
- data/lib/google/apis/bigquerydatatransfer_v1/classes.rb +21 -0
- data/lib/google/apis/bigquerydatatransfer_v1/gem_version.rb +3 -3
- data/lib/google/apis/bigquerydatatransfer_v1/representations.rb +13 -0
- data/lib/google/apis/bigquerydatatransfer_v1/service.rb +36 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d11898944a494f99071c2ac67b12b5b2a0fccd23a9c64f7391c13db6a4833bc
|
4
|
+
data.tar.gz: f3d63ce9746b85d3d8983d9d37c320a704a0028ff02bbfa4724613673df879d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c79bb72ed1fa9328dec151de283ca77a3be1ada25b08a0eb68e1a54ceb2219c8b2752e2831a90e65a312c79b69d185bae3ec507a4b31fc04145a062f2c4736b0
|
7
|
+
data.tar.gz: a726d8b1ac60cb8a81f0761e02ed4963464b489283369e733160154e5bad7d38c8f5251d50b1a99a874b35e989984bfedecc3a3ef518290e20e3a90ac15a1973
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-bigquerydatatransfer_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240130
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.36.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.13.0
|
@@ -1074,6 +1074,27 @@ module Google
|
|
1074
1074
|
end
|
1075
1075
|
end
|
1076
1076
|
|
1077
|
+
# A request to unenroll a set of data sources so they are no longer visible in
|
1078
|
+
# the BigQuery UI's `Transfer` tab.
|
1079
|
+
class UnenrollDataSourcesRequest
|
1080
|
+
include Google::Apis::Core::Hashable
|
1081
|
+
|
1082
|
+
# Data sources that are unenrolled. It is required to provide at least one data
|
1083
|
+
# source id.
|
1084
|
+
# Corresponds to the JSON property `dataSourceIds`
|
1085
|
+
# @return [Array<String>]
|
1086
|
+
attr_accessor :data_source_ids
|
1087
|
+
|
1088
|
+
def initialize(**args)
|
1089
|
+
update!(**args)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Update properties of this object
|
1093
|
+
def update!(**args)
|
1094
|
+
@data_source_ids = args[:data_source_ids] if args.key?(:data_source_ids)
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1077
1098
|
# Information about a user.
|
1078
1099
|
class UserInfo
|
1079
1100
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigquerydatatransferV1
|
18
18
|
# Version of the google-apis-bigquerydatatransfer_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class UnenrollDataSourcesRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class UserInfo
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -435,6 +441,13 @@ module Google
|
|
435
441
|
end
|
436
442
|
end
|
437
443
|
|
444
|
+
class UnenrollDataSourcesRequest
|
445
|
+
# @private
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
collection :data_source_ids, as: 'dataSourceIds'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
438
451
|
class UserInfo
|
439
452
|
# @private
|
440
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -312,6 +312,42 @@ module Google
|
|
312
312
|
execute_or_queue_command(command, &block)
|
313
313
|
end
|
314
314
|
|
315
|
+
# Unenroll data sources in a user project. This allows users to remove transfer
|
316
|
+
# configurations for these data sources. They will no longer appear in the
|
317
|
+
# ListDataSources RPC and will also no longer appear in the [BigQuery UI](https:/
|
318
|
+
# /console.cloud.google.com/bigquery).
|
319
|
+
# @param [String] name
|
320
|
+
# The name of the project resource in the form: `projects/`project_id``
|
321
|
+
# @param [Google::Apis::BigquerydatatransferV1::UnenrollDataSourcesRequest] unenroll_data_sources_request_object
|
322
|
+
# @param [String] fields
|
323
|
+
# Selector specifying which fields to include in a partial response.
|
324
|
+
# @param [String] quota_user
|
325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
327
|
+
# @param [Google::Apis::RequestOptions] options
|
328
|
+
# Request-specific options
|
329
|
+
#
|
330
|
+
# @yield [result, err] Result & error if block supplied
|
331
|
+
# @yieldparam result [Google::Apis::BigquerydatatransferV1::Empty] parsed result object
|
332
|
+
# @yieldparam err [StandardError] error object if request failed
|
333
|
+
#
|
334
|
+
# @return [Google::Apis::BigquerydatatransferV1::Empty]
|
335
|
+
#
|
336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
339
|
+
def unenroll_location_data_sources(name, unenroll_data_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
340
|
+
command = make_simple_command(:post, 'v1/{+name}:unenrollDataSources', options)
|
341
|
+
command.request_representation = Google::Apis::BigquerydatatransferV1::UnenrollDataSourcesRequest::Representation
|
342
|
+
command.request_object = unenroll_data_sources_request_object
|
343
|
+
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
|
344
|
+
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
|
345
|
+
command.params['name'] = name unless name.nil?
|
346
|
+
command.query['fields'] = fields unless fields.nil?
|
347
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
348
|
+
execute_or_queue_command(command, &block)
|
349
|
+
end
|
350
|
+
|
315
351
|
# Returns true if valid credentials exist for the given data source and
|
316
352
|
# requesting user.
|
317
353
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigquerydatatransfer_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquerydatatransfer_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|