google-apis-bigquerydatatransfer_v1 0.16.0 → 0.19.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: 6963ef20fa1620f90fc46fce12d16e13be0ad1b1559c4d6cfb065ad149a15429
4
- data.tar.gz: 58d2c0f1f24ed4f0de31af97833e83fe79e5bd656607dc033221b354e7b59a86
3
+ metadata.gz: a231628f1a6abdb27b70cb4ae089f2824e00e53a8683d3694c4e787961780454
4
+ data.tar.gz: bfd8a23431afc27637a032ac7952b1787c077a83ac4ba77a18ea4ee312c775d6
5
5
  SHA512:
6
- metadata.gz: 84024a0d30dea8dde7487aad834b3945cd3d126167f85fab9aecba17abdbe7d0784c3eb12f766cec1b58a10db2ad3c2687e182d08ff2086c6da8a8c439ab3c88
7
- data.tar.gz: bc35c8be943851aed7a8d0b32e763bf7d616a8da757fbbdde0281632f2460d314afe220d81c3fc805c50a837fe62604e20199acac08d320a8635ca4e01abb19d
6
+ metadata.gz: 3305b22ce38ad1be91d437ab8357ca01bc85197cd84e42c372fe42744c3f88a4958417b01b657edc798cdc5e3081aba5382c4fde2337dd7e6d58020d4ea57a07
7
+ data.tar.gz: 2ff9571d531e7f9133c26a88c2777df6ec9b43b30990361a6b0975d15091e4882554e48963b4bb32a919f80426e9ad130064b839700c9beee5376abf52339586
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-bigquerydatatransfer_v1
2
2
 
3
+ ### v0.19.0 (2022-03-27)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+
7
+ ### v0.18.0 (2022-03-03)
8
+
9
+ * Regenerated from discovery document revision 20220225
10
+
11
+ ### v0.17.0 (2022-01-20)
12
+
13
+ * Regenerated from discovery document revision 20220116
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.16.0 (2022-01-07)
4
17
 
5
18
  * Regenerated from discovery document revision 20211230
@@ -332,8 +332,7 @@ module Google
332
332
  # A generic empty message that you can re-use to avoid defining duplicated empty
333
333
  # messages in your APIs. A typical example is to use it as the request or the
334
334
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
335
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
336
- # `Empty` is empty JSON object ````.
335
+ # protobuf.Empty) returns (google.protobuf.Empty); `
337
336
  class Empty
338
337
  include Google::Apis::Core::Hashable
339
338
 
@@ -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.16.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211230"
25
+ REVISION = "20220319"
26
26
  end
27
27
  end
28
28
  end
@@ -160,7 +160,7 @@ module Google
160
160
  # @param [String] parent
161
161
  # Required. The BigQuery project id for which data sources should be returned.
162
162
  # Must be in the form: `projects/`project_id`` or `projects/`project_id`/
163
- # locations/`location_id`
163
+ # locations/`location_id``
164
164
  # @param [Fixnum] page_size
165
165
  # Page size. The default page size is the maximum value of 1000 results.
166
166
  # @param [String] page_token
@@ -380,7 +380,7 @@ module Google
380
380
  # @param [String] parent
381
381
  # Required. The BigQuery project id for which data sources should be returned.
382
382
  # Must be in the form: `projects/`project_id`` or `projects/`project_id`/
383
- # locations/`location_id`
383
+ # locations/`location_id``
384
384
  # @param [Fixnum] page_size
385
385
  # Page size. The default page size is the maximum value of 1000 results.
386
386
  # @param [String] page_token
@@ -426,27 +426,33 @@ module Google
426
426
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
427
427
  # @param [String] authorization_code
428
428
  # Optional OAuth2 authorization code to use with this transfer configuration.
429
- # This is required if new credentials are needed, as indicated by `
430
- # CheckValidCreds`. In order to obtain authorization_code, please make a request
431
- # to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&
432
- # redirect_uri= * client_id should be OAuth client_id of BigQuery DTS API for
433
- # the given data source returned by ListDataSources method. * data_source_scopes
434
- # are the scopes returned by ListDataSources method. * redirect_uri is an
435
- # optional parameter. If not specified, then authorization code is posted to the
436
- # opener of authorization flow window. Otherwise it will be sent to the redirect
437
- # uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization
438
- # code should be returned in the title bar of the browser, with the page text
439
- # prompting the user to copy the code and paste it in the application.
429
+ # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
430
+ # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
431
+ # obtain authorization_code, please make a request to https://www.gstatic.com/
432
+ # bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri=urn:ietf:wg:
433
+ # oauth:2.0:oob&response_type=authorization_code * client_id should be OAuth
434
+ # client_id of BigQuery DTS API for the given data source returned by
435
+ # ListDataSources method. * data_source_scopes are the scopes returned by
436
+ # ListDataSources method. Note that this should not be set when `
437
+ # service_account_name` is used to create the transfer config.
440
438
  # @param [String] service_account_name
441
439
  # Optional service account name. If this field is set, transfer config will be
442
- # created with this service account credentials. It requires that requesting
443
- # user calling this API has permissions to act as this service account.
440
+ # created with this service account credential. It requires that requesting user
441
+ # calling this API has permissions to act as this service account. Note that not
442
+ # all data sources support service account credentials when creating transfer
443
+ # config. Please refer to this public guide for the latest list of data sources
444
+ # with service account support: https://cloud.google.com/bigquery-transfer/docs/
445
+ # use-service-accounts
444
446
  # @param [String] version_info
445
- # Optional version info. If users want to find a very recent access token, that
446
- # is, immediately after approving access, users have to set the version_info
447
- # claim in the token request. To obtain the version_info, users must use the "
448
- # none+gsession" response type. which be return a version_info back in the
449
- # authorization response which be be put in a JWT claim in the token request.
447
+ # Optional version info. This is required only if `transferConfig.dataSourceId`
448
+ # is anything else but 'youtube_channel' and new credentials are needed, as
449
+ # indicated by `CheckValidCreds`. In order to obtain version info, please make a
450
+ # request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&
451
+ # scope=&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info *
452
+ # client_id should be OAuth client_id of BigQuery DTS API for the given data
453
+ # source returned by ListDataSources method. * data_source_scopes are the scopes
454
+ # returned by ListDataSources method. Note that this should not be set when `
455
+ # service_account_name` is used to create the transfer config.
450
456
  # @param [String] fields
451
457
  # Selector specifying which fields to include in a partial response.
452
458
  # @param [String] quota_user
@@ -547,8 +553,9 @@ module Google
547
553
  # Returns information about all transfer configs owned by a project in the
548
554
  # specified location.
549
555
  # @param [String] parent
550
- # Required. The BigQuery project id for which data sources should be returned: `
551
- # projects/`project_id`` or `projects/`project_id`/locations/`location_id``
556
+ # Required. The BigQuery project id for which transfer configs should be
557
+ # returned: `projects/`project_id`` or `projects/`project_id`/locations/`
558
+ # location_id``
552
559
  # @param [Array<String>, String] data_source_ids
553
560
  # When specified, only configurations of requested data sources are returned.
554
561
  # @param [Fixnum] page_size
@@ -597,31 +604,37 @@ module Google
597
604
  # The name is ignored when creating a transfer config.
598
605
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
599
606
  # @param [String] authorization_code
600
- # Optional OAuth2 authorization code to use with this transfer configuration. If
601
- # it is provided, the transfer configuration will be associated with the
602
- # authorizing user. In order to obtain authorization_code, please make a request
603
- # to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&
604
- # redirect_uri= * client_id should be OAuth client_id of BigQuery DTS API for
605
- # the given data source returned by ListDataSources method. * data_source_scopes
606
- # are the scopes returned by ListDataSources method. * redirect_uri is an
607
- # optional parameter. If not specified, then authorization code is posted to the
608
- # opener of authorization flow window. Otherwise it will be sent to the redirect
609
- # uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization
610
- # code should be returned in the title bar of the browser, with the page text
611
- # prompting the user to copy the code and paste it in the application.
607
+ # Optional OAuth2 authorization code to use with this transfer configuration.
608
+ # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
609
+ # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
610
+ # obtain authorization_code, please make a request to https://www.gstatic.com/
611
+ # bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri=urn:ietf:wg:
612
+ # oauth:2.0:oob&response_type=authorization_code * client_id should be OAuth
613
+ # client_id of BigQuery DTS API for the given data source returned by
614
+ # ListDataSources method. * data_source_scopes are the scopes returned by
615
+ # ListDataSources method. Note that this should not be set when `
616
+ # service_account_name` is used to create the transfer config.
612
617
  # @param [String] service_account_name
613
618
  # Optional service account name. If this field is set and "service_account_name"
614
- # is set in update_mask, transfer config will be updated to use this service
615
- # account credentials. It requires that requesting user calling this API has
616
- # permissions to act as this service account.
619
+ # is set in update_mask, transfer config will be created with this service
620
+ # account credential. It requires that requesting user calling this API has
621
+ # permissions to act as this service account. Note that not all data sources
622
+ # support service account credentials when creating transfer config. Please
623
+ # refer to this public guide for the latest list of data sources with service
624
+ # account support: https://cloud.google.com/bigquery-transfer/docs/use-service-
625
+ # accounts
617
626
  # @param [String] update_mask
618
627
  # Required. Required list of fields to be updated in this request.
619
628
  # @param [String] version_info
620
- # Optional version info. If users want to find a very recent access token, that
621
- # is, immediately after approving access, users have to set the version_info
622
- # claim in the token request. To obtain the version_info, users must use the "
623
- # none+gsession" response type. which be return a version_info back in the
624
- # authorization response which be be put in a JWT claim in the token request.
629
+ # Optional version info. This is required only if `transferConfig.dataSourceId`
630
+ # is anything else but 'youtube_channel' and new credentials are needed, as
631
+ # indicated by `CheckValidCreds`. In order to obtain version info, please make a
632
+ # request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&
633
+ # scope=&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info *
634
+ # client_id should be OAuth client_id of BigQuery DTS API for the given data
635
+ # source returned by ListDataSources method. * data_source_scopes are the scopes
636
+ # returned by ListDataSources method. Note that this should not be set when `
637
+ # service_account_name` is used to create the transfer config.
625
638
  # @param [String] fields
626
639
  # Selector specifying which fields to include in a partial response.
627
640
  # @param [String] quota_user
@@ -897,27 +910,33 @@ module Google
897
910
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
898
911
  # @param [String] authorization_code
899
912
  # Optional OAuth2 authorization code to use with this transfer configuration.
900
- # This is required if new credentials are needed, as indicated by `
901
- # CheckValidCreds`. In order to obtain authorization_code, please make a request
902
- # to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&
903
- # redirect_uri= * client_id should be OAuth client_id of BigQuery DTS API for
904
- # the given data source returned by ListDataSources method. * data_source_scopes
905
- # are the scopes returned by ListDataSources method. * redirect_uri is an
906
- # optional parameter. If not specified, then authorization code is posted to the
907
- # opener of authorization flow window. Otherwise it will be sent to the redirect
908
- # uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization
909
- # code should be returned in the title bar of the browser, with the page text
910
- # prompting the user to copy the code and paste it in the application.
913
+ # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
914
+ # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
915
+ # obtain authorization_code, please make a request to https://www.gstatic.com/
916
+ # bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri=urn:ietf:wg:
917
+ # oauth:2.0:oob&response_type=authorization_code * client_id should be OAuth
918
+ # client_id of BigQuery DTS API for the given data source returned by
919
+ # ListDataSources method. * data_source_scopes are the scopes returned by
920
+ # ListDataSources method. Note that this should not be set when `
921
+ # service_account_name` is used to create the transfer config.
911
922
  # @param [String] service_account_name
912
923
  # Optional service account name. If this field is set, transfer config will be
913
- # created with this service account credentials. It requires that requesting
914
- # user calling this API has permissions to act as this service account.
924
+ # created with this service account credential. It requires that requesting user
925
+ # calling this API has permissions to act as this service account. Note that not
926
+ # all data sources support service account credentials when creating transfer
927
+ # config. Please refer to this public guide for the latest list of data sources
928
+ # with service account support: https://cloud.google.com/bigquery-transfer/docs/
929
+ # use-service-accounts
915
930
  # @param [String] version_info
916
- # Optional version info. If users want to find a very recent access token, that
917
- # is, immediately after approving access, users have to set the version_info
918
- # claim in the token request. To obtain the version_info, users must use the "
919
- # none+gsession" response type. which be return a version_info back in the
920
- # authorization response which be be put in a JWT claim in the token request.
931
+ # Optional version info. This is required only if `transferConfig.dataSourceId`
932
+ # is anything else but 'youtube_channel' and new credentials are needed, as
933
+ # indicated by `CheckValidCreds`. In order to obtain version info, please make a
934
+ # request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&
935
+ # scope=&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info *
936
+ # client_id should be OAuth client_id of BigQuery DTS API for the given data
937
+ # source returned by ListDataSources method. * data_source_scopes are the scopes
938
+ # returned by ListDataSources method. Note that this should not be set when `
939
+ # service_account_name` is used to create the transfer config.
921
940
  # @param [String] fields
922
941
  # Selector specifying which fields to include in a partial response.
923
942
  # @param [String] quota_user
@@ -1018,8 +1037,9 @@ module Google
1018
1037
  # Returns information about all transfer configs owned by a project in the
1019
1038
  # specified location.
1020
1039
  # @param [String] parent
1021
- # Required. The BigQuery project id for which data sources should be returned: `
1022
- # projects/`project_id`` or `projects/`project_id`/locations/`location_id``
1040
+ # Required. The BigQuery project id for which transfer configs should be
1041
+ # returned: `projects/`project_id`` or `projects/`project_id`/locations/`
1042
+ # location_id``
1023
1043
  # @param [Array<String>, String] data_source_ids
1024
1044
  # When specified, only configurations of requested data sources are returned.
1025
1045
  # @param [Fixnum] page_size
@@ -1068,31 +1088,37 @@ module Google
1068
1088
  # The name is ignored when creating a transfer config.
1069
1089
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
1070
1090
  # @param [String] authorization_code
1071
- # Optional OAuth2 authorization code to use with this transfer configuration. If
1072
- # it is provided, the transfer configuration will be associated with the
1073
- # authorizing user. In order to obtain authorization_code, please make a request
1074
- # to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&
1075
- # redirect_uri= * client_id should be OAuth client_id of BigQuery DTS API for
1076
- # the given data source returned by ListDataSources method. * data_source_scopes
1077
- # are the scopes returned by ListDataSources method. * redirect_uri is an
1078
- # optional parameter. If not specified, then authorization code is posted to the
1079
- # opener of authorization flow window. Otherwise it will be sent to the redirect
1080
- # uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization
1081
- # code should be returned in the title bar of the browser, with the page text
1082
- # prompting the user to copy the code and paste it in the application.
1091
+ # Optional OAuth2 authorization code to use with this transfer configuration.
1092
+ # This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
1093
+ # and new credentials are needed, as indicated by `CheckValidCreds`. In order to
1094
+ # obtain authorization_code, please make a request to https://www.gstatic.com/
1095
+ # bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri=urn:ietf:wg:
1096
+ # oauth:2.0:oob&response_type=authorization_code * client_id should be OAuth
1097
+ # client_id of BigQuery DTS API for the given data source returned by
1098
+ # ListDataSources method. * data_source_scopes are the scopes returned by
1099
+ # ListDataSources method. Note that this should not be set when `
1100
+ # service_account_name` is used to create the transfer config.
1083
1101
  # @param [String] service_account_name
1084
1102
  # Optional service account name. If this field is set and "service_account_name"
1085
- # is set in update_mask, transfer config will be updated to use this service
1086
- # account credentials. It requires that requesting user calling this API has
1087
- # permissions to act as this service account.
1103
+ # is set in update_mask, transfer config will be created with this service
1104
+ # account credential. It requires that requesting user calling this API has
1105
+ # permissions to act as this service account. Note that not all data sources
1106
+ # support service account credentials when creating transfer config. Please
1107
+ # refer to this public guide for the latest list of data sources with service
1108
+ # account support: https://cloud.google.com/bigquery-transfer/docs/use-service-
1109
+ # accounts
1088
1110
  # @param [String] update_mask
1089
1111
  # Required. Required list of fields to be updated in this request.
1090
1112
  # @param [String] version_info
1091
- # Optional version info. If users want to find a very recent access token, that
1092
- # is, immediately after approving access, users have to set the version_info
1093
- # claim in the token request. To obtain the version_info, users must use the "
1094
- # none+gsession" response type. which be return a version_info back in the
1095
- # authorization response which be be put in a JWT claim in the token request.
1113
+ # Optional version info. This is required only if `transferConfig.dataSourceId`
1114
+ # is anything else but 'youtube_channel' and new credentials are needed, as
1115
+ # indicated by `CheckValidCreds`. In order to obtain version info, please make a
1116
+ # request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&
1117
+ # scope=&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info *
1118
+ # client_id should be OAuth client_id of BigQuery DTS API for the given data
1119
+ # source returned by ListDataSources method. * data_source_scopes are the scopes
1120
+ # returned by ListDataSources method. Note that this should not be set when `
1121
+ # service_account_name` is used to create the transfer config.
1096
1122
  # @param [String] fields
1097
1123
  # Selector specifying which fields to include in a partial response.
1098
1124
  # @param [String] quota_user
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.16.0
4
+ version: 0.19.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquerydatatransfer_v1/v0.19.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.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery Data Transfer API V1