google-apis-bigquerydatatransfer_v1 0.36.0 → 0.38.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 +9 -0
- data/lib/google/apis/bigquerydatatransfer_v1/classes.rb +27 -6
- 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 +37 -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: 5b6bef320436ad9d5d6c41faabe93dc03a9a8e9ebe535cb1c7df88a7953c2f0f
|
4
|
+
data.tar.gz: 80a91260f7cb390abeb457a69ca8403b225ee803cac6374eb9fe8e39a7193b00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e930368bb3e21a8f65a43b0a5dec16ff582a9d213134404fa96cdcc08eb1b9b399e8dea8b47da5aac79ba387febd54a3962314306592c554a42e022872c73b7b
|
7
|
+
data.tar.gz: 4a726340df9c5324e18e294cebd79cc8dc24c9f51f4df9f28025130b013542d75e791c88a9805772c65e7bbcecf1efe2dd62e8fbd65130d8fdc34f9c5461e1db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-bigquerydatatransfer_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2024-02-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240202
|
6
|
+
|
7
|
+
### v0.37.0 (2024-02-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240130
|
10
|
+
* Regenerated using generator version 0.13.1
|
11
|
+
|
3
12
|
### v0.36.0 (2024-01-23)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.13.0
|
@@ -580,7 +580,7 @@ module Google
|
|
580
580
|
|
581
581
|
# Defines time to stop scheduling transfer runs. A transfer run cannot be
|
582
582
|
# scheduled at or after the end time. The end time can be changed at any moment.
|
583
|
-
# The time when a data transfer can be
|
583
|
+
# The time when a data transfer can be triggered manually is not limited by this
|
584
584
|
# option.
|
585
585
|
# Corresponds to the JSON property `endTime`
|
586
586
|
# @return [String]
|
@@ -589,7 +589,7 @@ module Google
|
|
589
589
|
# Specifies time to start scheduling transfer runs. The first run will be
|
590
590
|
# scheduled at or after the start time according to a recurrence pattern defined
|
591
591
|
# in the schedule string. The start time can be changed at any moment. The time
|
592
|
-
# when a data transfer can be
|
592
|
+
# when a data transfer can be triggered manually is not limited by this option.
|
593
593
|
# Corresponds to the JSON property `startTime`
|
594
594
|
# @return [String]
|
595
595
|
attr_accessor :start_time
|
@@ -806,8 +806,8 @@ module Google
|
|
806
806
|
# @return [String]
|
807
807
|
attr_accessor :destination_dataset_id
|
808
808
|
|
809
|
-
# Is this config disabled. When set to true, no runs
|
810
|
-
# transfer.
|
809
|
+
# Is this config disabled. When set to true, no runs will be scheduled for this
|
810
|
+
# transfer config.
|
811
811
|
# Corresponds to the JSON property `disabled`
|
812
812
|
# @return [Boolean]
|
813
813
|
attr_accessor :disabled
|
@@ -844,7 +844,7 @@ module Google
|
|
844
844
|
|
845
845
|
# Pub/Sub topic where notifications will be sent after transfer runs associated
|
846
846
|
# with this transfer config finish. The format for specifying a pubsub topic is:
|
847
|
-
# `projects/`
|
847
|
+
# `projects/`project_id`/topics/`topic_id``
|
848
848
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
849
849
|
# @return [String]
|
850
850
|
attr_accessor :notification_pubsub_topic
|
@@ -997,7 +997,7 @@ module Google
|
|
997
997
|
|
998
998
|
# Output only. Pub/Sub topic where a notification will be sent after this
|
999
999
|
# transfer run finishes. The format for specifying a pubsub topic is: `projects/`
|
1000
|
-
#
|
1000
|
+
# project_id`/topics/`topic_id``
|
1001
1001
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
1002
1002
|
# @return [String]
|
1003
1003
|
attr_accessor :notification_pubsub_topic
|
@@ -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.38.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 = "20240202"
|
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,43 @@ 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). Data transfers configurations of
|
319
|
+
# unenrolled data sources will not be scheduled.
|
320
|
+
# @param [String] name
|
321
|
+
# The name of the project resource in the form: `projects/`project_id``
|
322
|
+
# @param [Google::Apis::BigquerydatatransferV1::UnenrollDataSourcesRequest] unenroll_data_sources_request_object
|
323
|
+
# @param [String] fields
|
324
|
+
# Selector specifying which fields to include in a partial response.
|
325
|
+
# @param [String] quota_user
|
326
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
327
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
328
|
+
# @param [Google::Apis::RequestOptions] options
|
329
|
+
# Request-specific options
|
330
|
+
#
|
331
|
+
# @yield [result, err] Result & error if block supplied
|
332
|
+
# @yieldparam result [Google::Apis::BigquerydatatransferV1::Empty] parsed result object
|
333
|
+
# @yieldparam err [StandardError] error object if request failed
|
334
|
+
#
|
335
|
+
# @return [Google::Apis::BigquerydatatransferV1::Empty]
|
336
|
+
#
|
337
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
338
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
339
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
340
|
+
def unenroll_location_data_sources(name, unenroll_data_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
341
|
+
command = make_simple_command(:post, 'v1/{+name}:unenrollDataSources', options)
|
342
|
+
command.request_representation = Google::Apis::BigquerydatatransferV1::UnenrollDataSourcesRequest::Representation
|
343
|
+
command.request_object = unenroll_data_sources_request_object
|
344
|
+
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
|
345
|
+
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
|
346
|
+
command.params['name'] = name unless name.nil?
|
347
|
+
command.query['fields'] = fields unless fields.nil?
|
348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
349
|
+
execute_or_queue_command(command, &block)
|
350
|
+
end
|
351
|
+
|
315
352
|
# Returns true if valid credentials exist for the given data source and
|
316
353
|
# requesting user.
|
317
354
|
# @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.38.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-11 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.38.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: []
|