google-cloud-resource_manager-v3 1.4.0 → 1.5.1
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/lib/google/cloud/resource_manager/v3/folders/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/folders/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/folders/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/organizations/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/projects/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/projects/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/projects/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/tag_bindings/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_bindings/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/tag_holds/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_holds/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/tag_holds/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/tag_keys/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_keys/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/tag_values/client.rb +20 -3
- data/lib/google/cloud/resource_manager/v3/tag_values/operations.rb +32 -4
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/operations.rb +12 -1
- data/lib/google/cloud/resource_manager/v3/version.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a465756603cd9adf9bbc1ecd85d4485d2e296f87c73d6f93681c76fde68ab8a
|
|
4
|
+
data.tar.gz: 477b635396eccdb9835e5bbd96043eb8b9c54d1a0748d0949d1959f6a54409a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db32049b75739a8bf67f629f28f231145dbe7f9fd6a356969b0ba4b1363e1c730da12325a4378f0b7d3045d3b584fc1d26d75ae1363a0a11cfdc0a69061a8b5e
|
|
7
|
+
data.tar.gz: 06d72afbd4e82e6ab73440f69a360f7a86172acbdcb839a0677fe1a087d99415ba0611c418b17e34ea06a48b24e7fdfc929e2c3fabb312ccb2db620fff4abb58
|
|
@@ -1427,8 +1427,6 @@ module Google
|
|
|
1427
1427
|
# @return [::String,nil]
|
|
1428
1428
|
# @!attribute [rw] credentials
|
|
1429
1429
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1430
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1431
|
-
# * (`Hash`) A service account key as a Hash
|
|
1432
1430
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1433
1431
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1434
1432
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1437,7 +1435,26 @@ module Google
|
|
|
1437
1435
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1438
1436
|
# * (`nil`) indicating no credentials
|
|
1439
1437
|
#
|
|
1440
|
-
# Warning:
|
|
1438
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1439
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1440
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1441
|
+
#
|
|
1442
|
+
# @example
|
|
1443
|
+
#
|
|
1444
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1445
|
+
# # on the appropriate credentials class for your environment.
|
|
1446
|
+
#
|
|
1447
|
+
# require "googleauth"
|
|
1448
|
+
#
|
|
1449
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1450
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1451
|
+
# )
|
|
1452
|
+
#
|
|
1453
|
+
# client = ::Google::Cloud::ResourceManager::V3::Folders::Client.new do |config|
|
|
1454
|
+
# config.credentials = credentials
|
|
1455
|
+
# end
|
|
1456
|
+
#
|
|
1457
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1441
1458
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1442
1459
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1443
1460
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -724,8 +724,6 @@ module Google
|
|
|
724
724
|
# @return [::String,nil]
|
|
725
725
|
# @!attribute [rw] credentials
|
|
726
726
|
# Credentials to send with calls. You may provide any of the following types:
|
|
727
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
728
|
-
# * (`Hash`) A service account key as a Hash
|
|
729
727
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
730
728
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
731
729
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -734,7 +732,26 @@ module Google
|
|
|
734
732
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
735
733
|
# * (`nil`) indicating no credentials
|
|
736
734
|
#
|
|
737
|
-
# Warning:
|
|
735
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
736
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
737
|
+
# Google APIs can compromise the security of your systems and data.
|
|
738
|
+
#
|
|
739
|
+
# @example
|
|
740
|
+
#
|
|
741
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
742
|
+
# # on the appropriate credentials class for your environment.
|
|
743
|
+
#
|
|
744
|
+
# require "googleauth"
|
|
745
|
+
#
|
|
746
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
747
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
748
|
+
# )
|
|
749
|
+
#
|
|
750
|
+
# client = ::Google::Cloud::ResourceManager::V3::Organizations::Client.new do |config|
|
|
751
|
+
# config.credentials = credentials
|
|
752
|
+
# end
|
|
753
|
+
#
|
|
754
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
738
755
|
# external source for authentication to Google Cloud, you must validate it before
|
|
739
756
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
740
757
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1444,8 +1444,6 @@ module Google
|
|
|
1444
1444
|
# @return [::String,nil]
|
|
1445
1445
|
# @!attribute [rw] credentials
|
|
1446
1446
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1447
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1448
|
-
# * (`Hash`) A service account key as a Hash
|
|
1449
1447
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1450
1448
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1451
1449
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1454,7 +1452,26 @@ module Google
|
|
|
1454
1452
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1455
1453
|
# * (`nil`) indicating no credentials
|
|
1456
1454
|
#
|
|
1457
|
-
# Warning:
|
|
1455
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1456
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1457
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1458
|
+
#
|
|
1459
|
+
# @example
|
|
1460
|
+
#
|
|
1461
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1462
|
+
# # on the appropriate credentials class for your environment.
|
|
1463
|
+
#
|
|
1464
|
+
# require "googleauth"
|
|
1465
|
+
#
|
|
1466
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1467
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1468
|
+
# )
|
|
1469
|
+
#
|
|
1470
|
+
# client = ::Google::Cloud::ResourceManager::V3::Projects::Client.new do |config|
|
|
1471
|
+
# config.credentials = credentials
|
|
1472
|
+
# end
|
|
1473
|
+
#
|
|
1474
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1458
1475
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1459
1476
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1460
1477
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -616,8 +616,6 @@ module Google
|
|
|
616
616
|
# @return [::String,nil]
|
|
617
617
|
# @!attribute [rw] credentials
|
|
618
618
|
# Credentials to send with calls. You may provide any of the following types:
|
|
619
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
620
|
-
# * (`Hash`) A service account key as a Hash
|
|
621
619
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
622
620
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
623
621
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -626,7 +624,26 @@ module Google
|
|
|
626
624
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
627
625
|
# * (`nil`) indicating no credentials
|
|
628
626
|
#
|
|
629
|
-
# Warning:
|
|
627
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
628
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
629
|
+
# Google APIs can compromise the security of your systems and data.
|
|
630
|
+
#
|
|
631
|
+
# @example
|
|
632
|
+
#
|
|
633
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
634
|
+
# # on the appropriate credentials class for your environment.
|
|
635
|
+
#
|
|
636
|
+
# require "googleauth"
|
|
637
|
+
#
|
|
638
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
639
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
640
|
+
# )
|
|
641
|
+
#
|
|
642
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagBindings::Client.new do |config|
|
|
643
|
+
# config.credentials = credentials
|
|
644
|
+
# end
|
|
645
|
+
#
|
|
646
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
630
647
|
# external source for authentication to Google Cloud, you must validate it before
|
|
631
648
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
632
649
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -546,8 +546,6 @@ module Google
|
|
|
546
546
|
# @return [::String,nil]
|
|
547
547
|
# @!attribute [rw] credentials
|
|
548
548
|
# Credentials to send with calls. You may provide any of the following types:
|
|
549
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
550
|
-
# * (`Hash`) A service account key as a Hash
|
|
551
549
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
552
550
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
553
551
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -556,7 +554,26 @@ module Google
|
|
|
556
554
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
557
555
|
# * (`nil`) indicating no credentials
|
|
558
556
|
#
|
|
559
|
-
# Warning:
|
|
557
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
558
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
559
|
+
# Google APIs can compromise the security of your systems and data.
|
|
560
|
+
#
|
|
561
|
+
# @example
|
|
562
|
+
#
|
|
563
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
564
|
+
# # on the appropriate credentials class for your environment.
|
|
565
|
+
#
|
|
566
|
+
# require "googleauth"
|
|
567
|
+
#
|
|
568
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
569
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
570
|
+
# )
|
|
571
|
+
#
|
|
572
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagHolds::Client.new do |config|
|
|
573
|
+
# config.credentials = credentials
|
|
574
|
+
# end
|
|
575
|
+
#
|
|
576
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
560
577
|
# external source for authentication to Google Cloud, you must validate it before
|
|
561
578
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
562
579
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1106,8 +1106,6 @@ module Google
|
|
|
1106
1106
|
# @return [::String,nil]
|
|
1107
1107
|
# @!attribute [rw] credentials
|
|
1108
1108
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1109
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1110
|
-
# * (`Hash`) A service account key as a Hash
|
|
1111
1109
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1112
1110
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1113
1111
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1116,7 +1114,26 @@ module Google
|
|
|
1116
1114
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1117
1115
|
# * (`nil`) indicating no credentials
|
|
1118
1116
|
#
|
|
1119
|
-
# Warning:
|
|
1117
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1118
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1119
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1120
|
+
#
|
|
1121
|
+
# @example
|
|
1122
|
+
#
|
|
1123
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1124
|
+
# # on the appropriate credentials class for your environment.
|
|
1125
|
+
#
|
|
1126
|
+
# require "googleauth"
|
|
1127
|
+
#
|
|
1128
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1129
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1130
|
+
# )
|
|
1131
|
+
#
|
|
1132
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagKeys::Client.new do |config|
|
|
1133
|
+
# config.credentials = credentials
|
|
1134
|
+
# end
|
|
1135
|
+
#
|
|
1136
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1120
1137
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1121
1138
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1122
1139
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1106,8 +1106,6 @@ module Google
|
|
|
1106
1106
|
# @return [::String,nil]
|
|
1107
1107
|
# @!attribute [rw] credentials
|
|
1108
1108
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1109
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1110
|
-
# * (`Hash`) A service account key as a Hash
|
|
1111
1109
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1112
1110
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1113
1111
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1116,7 +1114,26 @@ module Google
|
|
|
1116
1114
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1117
1115
|
# * (`nil`) indicating no credentials
|
|
1118
1116
|
#
|
|
1119
|
-
# Warning:
|
|
1117
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1118
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1119
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1120
|
+
#
|
|
1121
|
+
# @example
|
|
1122
|
+
#
|
|
1123
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1124
|
+
# # on the appropriate credentials class for your environment.
|
|
1125
|
+
#
|
|
1126
|
+
# require "googleauth"
|
|
1127
|
+
#
|
|
1128
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1129
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1130
|
+
# )
|
|
1131
|
+
#
|
|
1132
|
+
# client = ::Google::Cloud::ResourceManager::V3::TagValues::Client.new do |config|
|
|
1133
|
+
# config.credentials = credentials
|
|
1134
|
+
# end
|
|
1135
|
+
#
|
|
1136
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1120
1137
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1121
1138
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1122
1139
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -83,6 +83,18 @@ module Google
|
|
|
83
83
|
# @!attribute [rw] page_token
|
|
84
84
|
# @return [::String]
|
|
85
85
|
# The standard list page token.
|
|
86
|
+
# @!attribute [rw] return_partial_success
|
|
87
|
+
# @return [::Boolean]
|
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
89
|
+
# and those that are unreachable are returned in the
|
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
|
91
|
+
#
|
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
|
94
|
+
#
|
|
95
|
+
# This field is not by default supported and will result in an
|
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
97
|
+
# service or product specific documentation.
|
|
86
98
|
class ListOperationsRequest
|
|
87
99
|
include ::Google::Protobuf::MessageExts
|
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -96,6 +108,12 @@ module Google
|
|
|
96
108
|
# @!attribute [rw] next_page_token
|
|
97
109
|
# @return [::String]
|
|
98
110
|
# The standard List next-page token.
|
|
111
|
+
# @!attribute [rw] unreachable
|
|
112
|
+
# @return [::Array<::String>]
|
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
|
116
|
+
# locations.
|
|
99
117
|
class ListOperationsResponse
|
|
100
118
|
include ::Google::Protobuf::MessageExts
|
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|