google-apis-bigquerydatatransfer_v1 0.35.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d192744d243765c7a4c4c66bb735ab312a7aba0837e4079043bd71d6685ae49d
4
- data.tar.gz: cc3bc4c2145bb7767f12bfabbee6412aa9b2d1814432affe56f5bfce2a5db9a7
3
+ metadata.gz: 4d11898944a494f99071c2ac67b12b5b2a0fccd23a9c64f7391c13db6a4833bc
4
+ data.tar.gz: f3d63ce9746b85d3d8983d9d37c320a704a0028ff02bbfa4724613673df879d9
5
5
  SHA512:
6
- metadata.gz: 663399ed3f9cf03d61083ddadf6debd04aba5adc0517201cd632924e2372931c3874b4ce6d8521b42a5f08a98101d220e00ce545dc809d94a8921afe73733855
7
- data.tar.gz: cdc50e201a150381ccbe5dee34a8f82a6c74ecd5de4ea5c9b2282870db029df3e94fe5ed0abb53daaea44c5a7b69d1f5a8c17213260944209dc30a501333de7f
6
+ metadata.gz: c79bb72ed1fa9328dec151de283ca77a3be1ada25b08a0eb68e1a54ceb2219c8b2752e2831a90e65a312c79b69d185bae3ec507a4b31fc04145a062f2c4736b0
7
+ data.tar.gz: a726d8b1ac60cb8a81f0761e02ed4963464b489283369e733160154e5bad7d38c8f5251d50b1a99a874b35e989984bfedecc3a3ef518290e20e3a90ac15a1973
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.36.0 (2024-01-23)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.35.0 (2023-09-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20230827
@@ -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.35.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.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230827"
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
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/bigquery-transfer/
35
35
  class BigQueryDataTransferService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://bigquerydatatransfer.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://bigquerydatatransfer.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-bigquerydatatransfer_v1',
49
51
  client_version: Google::Apis::BigquerydatatransferV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -310,6 +312,42 @@ module Google
310
312
  execute_or_queue_command(command, &block)
311
313
  end
312
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
+
313
351
  # Returns true if valid credentials exist for the given data source and
314
352
  # requesting user.
315
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.35.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: 2023-09-03 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery Data Transfer API V1