google-iam-v3beta 0.2.0 → 0.3.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/iam/v3beta/policy_bindings/client.rb +20 -3
- data/lib/google/iam/v3beta/policy_bindings/operations.rb +32 -4
- data/lib/google/iam/v3beta/policy_bindings/rest/operations.rb +12 -1
- data/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb +20 -3
- data/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb +32 -4
- data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb +12 -1
- data/lib/google/iam/v3beta/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: ca9683db4c0ed16b85d5f6531ed2a3702e6d642fb6240bd07bea7acedf9c1b52
|
|
4
|
+
data.tar.gz: 057b3b3b7b6f441632c86ab1c36dd91cbe7ce08144611dadb3e8aa0e1b19a828
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bde57aa99baa14635dd60e095e318c6655d2ed32e5c2d5e1f6e85dd32cbbd5db9c697d658d38bb6864dbdbbcab7b3861e074a783dbc3e819a362a1d576ef817
|
|
7
|
+
data.tar.gz: 85c55a87ef30f8b0a753a921a0aca4450f61be677dec18082257be5496c9e2fdc06cbd5f54fe96fc527a84810e67bd5f167693f9910fc64a1138aa7af5719933
|
|
@@ -942,8 +942,6 @@ module Google
|
|
|
942
942
|
# @return [::String,nil]
|
|
943
943
|
# @!attribute [rw] credentials
|
|
944
944
|
# Credentials to send with calls. You may provide any of the following types:
|
|
945
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
946
|
-
# * (`Hash`) A service account key as a Hash
|
|
947
945
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
948
946
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
949
947
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -952,7 +950,26 @@ module Google
|
|
|
952
950
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
953
951
|
# * (`nil`) indicating no credentials
|
|
954
952
|
#
|
|
955
|
-
# Warning:
|
|
953
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
954
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
955
|
+
# Google APIs can compromise the security of your systems and data.
|
|
956
|
+
#
|
|
957
|
+
# @example
|
|
958
|
+
#
|
|
959
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
960
|
+
# # on the appropriate credentials class for your environment.
|
|
961
|
+
#
|
|
962
|
+
# require "googleauth"
|
|
963
|
+
#
|
|
964
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
965
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
966
|
+
# )
|
|
967
|
+
#
|
|
968
|
+
# client = ::Google::Iam::V3beta::PolicyBindings::Client.new do |config|
|
|
969
|
+
# config.credentials = credentials
|
|
970
|
+
# end
|
|
971
|
+
#
|
|
972
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
956
973
|
# external source for authentication to Google Cloud, you must validate it before
|
|
957
974
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
958
975
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -133,7 +133,7 @@ module Google
|
|
|
133
133
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
134
134
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
135
135
|
#
|
|
136
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
136
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
137
137
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
138
138
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
139
139
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -146,6 +146,17 @@ module Google
|
|
|
146
146
|
# The standard list page size.
|
|
147
147
|
# @param page_token [::String]
|
|
148
148
|
# The standard list page token.
|
|
149
|
+
# @param return_partial_success [::Boolean]
|
|
150
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
151
|
+
# and those that are unreachable are returned in the
|
|
152
|
+
# [ListOperationsResponse.unreachable] field.
|
|
153
|
+
#
|
|
154
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
155
|
+
# is set to `"projects/example/locations/-"`.
|
|
156
|
+
#
|
|
157
|
+
# This field is not by default supported and will result in an
|
|
158
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
159
|
+
# service or product specific documentation.
|
|
149
160
|
#
|
|
150
161
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
151
162
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -630,8 +641,6 @@ module Google
|
|
|
630
641
|
# @return [::String,nil]
|
|
631
642
|
# @!attribute [rw] credentials
|
|
632
643
|
# Credentials to send with calls. You may provide any of the following types:
|
|
633
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
634
|
-
# * (`Hash`) A service account key as a Hash
|
|
635
644
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
636
645
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
637
646
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -640,7 +649,26 @@ module Google
|
|
|
640
649
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
641
650
|
# * (`nil`) indicating no credentials
|
|
642
651
|
#
|
|
643
|
-
# Warning:
|
|
652
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
653
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
654
|
+
# Google APIs can compromise the security of your systems and data.
|
|
655
|
+
#
|
|
656
|
+
# @example
|
|
657
|
+
#
|
|
658
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
659
|
+
# # on the appropriate credentials class for your environment.
|
|
660
|
+
#
|
|
661
|
+
# require "googleauth"
|
|
662
|
+
#
|
|
663
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
664
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
665
|
+
# )
|
|
666
|
+
#
|
|
667
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
668
|
+
# config.credentials = credentials
|
|
669
|
+
# end
|
|
670
|
+
#
|
|
671
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
644
672
|
# external source for authentication to Google Cloud, you must validate it before
|
|
645
673
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
646
674
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
125
125
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
126
126
|
#
|
|
127
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
127
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
128
128
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
129
129
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
130
130
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -137,6 +137,17 @@ module Google
|
|
|
137
137
|
# The standard list page size.
|
|
138
138
|
# @param page_token [::String]
|
|
139
139
|
# The standard list page token.
|
|
140
|
+
# @param return_partial_success [::Boolean]
|
|
141
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
142
|
+
# and those that are unreachable are returned in the
|
|
143
|
+
# [ListOperationsResponse.unreachable] field.
|
|
144
|
+
#
|
|
145
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
146
|
+
# is set to `"projects/example/locations/-"`.
|
|
147
|
+
#
|
|
148
|
+
# This field is not by default supported and will result in an
|
|
149
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
150
|
+
# service or product specific documentation.
|
|
140
151
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
141
152
|
# @yieldparam result [::Gapic::Operation]
|
|
142
153
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -895,8 +895,6 @@ module Google
|
|
|
895
895
|
# @return [::String,nil]
|
|
896
896
|
# @!attribute [rw] credentials
|
|
897
897
|
# Credentials to send with calls. You may provide any of the following types:
|
|
898
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
899
|
-
# * (`Hash`) A service account key as a Hash
|
|
900
898
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
901
899
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
902
900
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -905,7 +903,26 @@ module Google
|
|
|
905
903
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
906
904
|
# * (`nil`) indicating no credentials
|
|
907
905
|
#
|
|
908
|
-
# Warning:
|
|
906
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
907
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
908
|
+
# Google APIs can compromise the security of your systems and data.
|
|
909
|
+
#
|
|
910
|
+
# @example
|
|
911
|
+
#
|
|
912
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
913
|
+
# # on the appropriate credentials class for your environment.
|
|
914
|
+
#
|
|
915
|
+
# require "googleauth"
|
|
916
|
+
#
|
|
917
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
918
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
919
|
+
# )
|
|
920
|
+
#
|
|
921
|
+
# client = ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicies::Client.new do |config|
|
|
922
|
+
# config.credentials = credentials
|
|
923
|
+
# end
|
|
924
|
+
#
|
|
925
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
909
926
|
# external source for authentication to Google Cloud, you must validate it before
|
|
910
927
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
911
928
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -133,7 +133,7 @@ module Google
|
|
|
133
133
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
134
134
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
135
135
|
#
|
|
136
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
136
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
137
137
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
138
138
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
139
139
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -146,6 +146,17 @@ module Google
|
|
|
146
146
|
# The standard list page size.
|
|
147
147
|
# @param page_token [::String]
|
|
148
148
|
# The standard list page token.
|
|
149
|
+
# @param return_partial_success [::Boolean]
|
|
150
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
151
|
+
# and those that are unreachable are returned in the
|
|
152
|
+
# [ListOperationsResponse.unreachable] field.
|
|
153
|
+
#
|
|
154
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
155
|
+
# is set to `"projects/example/locations/-"`.
|
|
156
|
+
#
|
|
157
|
+
# This field is not by default supported and will result in an
|
|
158
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
159
|
+
# service or product specific documentation.
|
|
149
160
|
#
|
|
150
161
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
151
162
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -630,8 +641,6 @@ module Google
|
|
|
630
641
|
# @return [::String,nil]
|
|
631
642
|
# @!attribute [rw] credentials
|
|
632
643
|
# Credentials to send with calls. You may provide any of the following types:
|
|
633
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
634
|
-
# * (`Hash`) A service account key as a Hash
|
|
635
644
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
636
645
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
637
646
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -640,7 +649,26 @@ module Google
|
|
|
640
649
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
641
650
|
# * (`nil`) indicating no credentials
|
|
642
651
|
#
|
|
643
|
-
# Warning:
|
|
652
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
653
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
654
|
+
# Google APIs can compromise the security of your systems and data.
|
|
655
|
+
#
|
|
656
|
+
# @example
|
|
657
|
+
#
|
|
658
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
659
|
+
# # on the appropriate credentials class for your environment.
|
|
660
|
+
#
|
|
661
|
+
# require "googleauth"
|
|
662
|
+
#
|
|
663
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
664
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
665
|
+
# )
|
|
666
|
+
#
|
|
667
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
668
|
+
# config.credentials = credentials
|
|
669
|
+
# end
|
|
670
|
+
#
|
|
671
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
644
672
|
# external source for authentication to Google Cloud, you must validate it before
|
|
645
673
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
646
674
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
125
125
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
126
126
|
#
|
|
127
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
127
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
128
128
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
129
129
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
130
130
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -137,6 +137,17 @@ module Google
|
|
|
137
137
|
# The standard list page size.
|
|
138
138
|
# @param page_token [::String]
|
|
139
139
|
# The standard list page token.
|
|
140
|
+
# @param return_partial_success [::Boolean]
|
|
141
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
142
|
+
# and those that are unreachable are returned in the
|
|
143
|
+
# [ListOperationsResponse.unreachable] field.
|
|
144
|
+
#
|
|
145
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
146
|
+
# is set to `"projects/example/locations/-"`.
|
|
147
|
+
#
|
|
148
|
+
# This field is not by default supported and will result in an
|
|
149
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
150
|
+
# service or product specific documentation.
|
|
140
151
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
141
152
|
# @yieldparam result [::Gapic::Operation]
|
|
142
153
|
# @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
|