google-iam-v1beta 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +5 -5
- data/README.md +1 -1
- data/lib/google/iam/v1beta/version.rb +1 -1
- data/lib/google/iam/v1beta/workload_identity_pool_services_pb.rb +1 -1
- data/lib/google/iam/v1beta/workload_identity_pools/client.rb +13 -49
- data/lib/google/iam/v1beta/workload_identity_pools/operations.rb +4 -4
- data/lib/google/iam/v1beta/workload_identity_pools/paths.rb +14 -0
- data/proto_docs/google/api/field_behavior.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 799a7234ec60e0940e27272a92e46fd689742c1ab7412191ca875f7a1c06240d
|
4
|
+
data.tar.gz: 41ee2dea67dca9ebc86cb36e819256223a5bada5d7ef6ea58fdd766e7613e42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c42496ee34502c70801bd283f9c881bdaa64bca353f14c2f08a5f7410c26ac40170b14ab25ca447929b023a883671d0e3d2396b87015f6df5bbcbbbf27a24fc1
|
7
|
+
data.tar.gz: 8e2dda5fc8724bd48a7504ac80c5dd0a74dd15bce2bcc479c2bc301aed7de541c321fa093b2d9e065a97385554db5eade330570721b69ebbbb49ad5449ade484
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-iam-v1beta
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Iam::V1beta::WorkloadIdentityPools::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `IAM_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `IAM_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/iam/v1beta"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/iam/v1beta"
|
34
34
|
|
35
35
|
client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Iam::V1beta::ListWorkloadIdentityPoolsRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_workload_identity_pools request
|
38
38
|
```
|
39
39
|
|
@@ -66,98 +66,62 @@ module Google
|
|
66
66
|
|
67
67
|
default_config.rpcs.list_workload_identity_pools.timeout = 60.0
|
68
68
|
default_config.rpcs.list_workload_identity_pools.retry_policy = {
|
69
|
-
initial_delay: 1.0,
|
70
|
-
max_delay: 10.0,
|
71
|
-
multiplier: 1.3,
|
72
|
-
retry_codes: [14, 4]
|
69
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
73
70
|
}
|
74
71
|
|
75
72
|
default_config.rpcs.get_workload_identity_pool.timeout = 60.0
|
76
73
|
default_config.rpcs.get_workload_identity_pool.retry_policy = {
|
77
|
-
initial_delay: 1.0,
|
78
|
-
max_delay: 10.0,
|
79
|
-
multiplier: 1.3,
|
80
|
-
retry_codes: [14, 4]
|
74
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
81
75
|
}
|
82
76
|
|
83
77
|
default_config.rpcs.create_workload_identity_pool.timeout = 60.0
|
84
78
|
default_config.rpcs.create_workload_identity_pool.retry_policy = {
|
85
|
-
initial_delay: 1.0,
|
86
|
-
max_delay: 10.0,
|
87
|
-
multiplier: 1.3,
|
88
|
-
retry_codes: [14, 4]
|
79
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
89
80
|
}
|
90
81
|
|
91
82
|
default_config.rpcs.update_workload_identity_pool.timeout = 60.0
|
92
83
|
default_config.rpcs.update_workload_identity_pool.retry_policy = {
|
93
|
-
initial_delay: 1.0,
|
94
|
-
max_delay: 10.0,
|
95
|
-
multiplier: 1.3,
|
96
|
-
retry_codes: [14, 4]
|
84
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
97
85
|
}
|
98
86
|
|
99
87
|
default_config.rpcs.delete_workload_identity_pool.timeout = 60.0
|
100
88
|
default_config.rpcs.delete_workload_identity_pool.retry_policy = {
|
101
|
-
initial_delay: 1.0,
|
102
|
-
max_delay: 10.0,
|
103
|
-
multiplier: 1.3,
|
104
|
-
retry_codes: [14, 4]
|
89
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
105
90
|
}
|
106
91
|
|
107
92
|
default_config.rpcs.undelete_workload_identity_pool.timeout = 60.0
|
108
93
|
default_config.rpcs.undelete_workload_identity_pool.retry_policy = {
|
109
|
-
initial_delay: 1.0,
|
110
|
-
max_delay: 10.0,
|
111
|
-
multiplier: 1.3,
|
112
|
-
retry_codes: [14, 4]
|
94
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
113
95
|
}
|
114
96
|
|
115
97
|
default_config.rpcs.list_workload_identity_pool_providers.timeout = 60.0
|
116
98
|
default_config.rpcs.list_workload_identity_pool_providers.retry_policy = {
|
117
|
-
initial_delay: 1.0,
|
118
|
-
max_delay: 10.0,
|
119
|
-
multiplier: 1.3,
|
120
|
-
retry_codes: [14, 4]
|
99
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
121
100
|
}
|
122
101
|
|
123
102
|
default_config.rpcs.get_workload_identity_pool_provider.timeout = 60.0
|
124
103
|
default_config.rpcs.get_workload_identity_pool_provider.retry_policy = {
|
125
|
-
initial_delay: 1.0,
|
126
|
-
max_delay: 10.0,
|
127
|
-
multiplier: 1.3,
|
128
|
-
retry_codes: [14, 4]
|
104
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
129
105
|
}
|
130
106
|
|
131
107
|
default_config.rpcs.create_workload_identity_pool_provider.timeout = 60.0
|
132
108
|
default_config.rpcs.create_workload_identity_pool_provider.retry_policy = {
|
133
|
-
initial_delay: 1.0,
|
134
|
-
max_delay: 10.0,
|
135
|
-
multiplier: 1.3,
|
136
|
-
retry_codes: [14, 4]
|
109
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
137
110
|
}
|
138
111
|
|
139
112
|
default_config.rpcs.update_workload_identity_pool_provider.timeout = 60.0
|
140
113
|
default_config.rpcs.update_workload_identity_pool_provider.retry_policy = {
|
141
|
-
initial_delay: 1.0,
|
142
|
-
max_delay: 10.0,
|
143
|
-
multiplier: 1.3,
|
144
|
-
retry_codes: [14, 4]
|
114
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
145
115
|
}
|
146
116
|
|
147
117
|
default_config.rpcs.delete_workload_identity_pool_provider.timeout = 60.0
|
148
118
|
default_config.rpcs.delete_workload_identity_pool_provider.retry_policy = {
|
149
|
-
initial_delay: 1.0,
|
150
|
-
max_delay: 10.0,
|
151
|
-
multiplier: 1.3,
|
152
|
-
retry_codes: [14, 4]
|
119
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
153
120
|
}
|
154
121
|
|
155
122
|
default_config.rpcs.undelete_workload_identity_pool_provider.timeout = 60.0
|
156
123
|
default_config.rpcs.undelete_workload_identity_pool_provider.retry_policy = {
|
157
|
-
initial_delay: 1.0,
|
158
|
-
max_delay: 10.0,
|
159
|
-
multiplier: 1.3,
|
160
|
-
retry_codes: [14, 4]
|
124
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4]
|
161
125
|
}
|
162
126
|
|
163
127
|
default_config
|
@@ -228,7 +192,7 @@ module Google
|
|
228
192
|
!@config.endpoint.split(".").first.include?("-")
|
229
193
|
credentials ||= Credentials.default scope: @config.scope,
|
230
194
|
enable_self_signed_jwt: enable_self_signed_jwt
|
231
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
195
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
232
196
|
credentials = Credentials.new credentials, scope: @config.scope
|
233
197
|
end
|
234
198
|
@quota_project_id = @config.quota_project
|
@@ -81,7 +81,7 @@ module Google
|
|
81
81
|
# Create credentials
|
82
82
|
credentials = @config.credentials
|
83
83
|
credentials ||= Credentials.default scope: @config.scope
|
84
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
84
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
85
85
|
credentials = Credentials.new credentials, scope: @config.scope
|
86
86
|
end
|
87
87
|
@quota_project_id = @config.quota_project
|
@@ -395,9 +395,9 @@ module Google
|
|
395
395
|
end
|
396
396
|
|
397
397
|
##
|
398
|
-
# Waits
|
399
|
-
#
|
400
|
-
#
|
398
|
+
# Waits until the specified long-running operation is done or reaches at most
|
399
|
+
# a specified timeout, returning the latest state. If the operation is
|
400
|
+
# already done, the latest state is immediately returned. If the timeout
|
401
401
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
402
402
|
# timeout is used. If the server does not support this method, it returns
|
403
403
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -23,6 +23,20 @@ module Google
|
|
23
23
|
module WorkloadIdentityPools
|
24
24
|
# Path helper methods for the WorkloadIdentityPools API.
|
25
25
|
module Paths
|
26
|
+
##
|
27
|
+
# Create a fully-qualified Project resource string.
|
28
|
+
#
|
29
|
+
# The resource will be in the following format:
|
30
|
+
#
|
31
|
+
# `projects/{project}`
|
32
|
+
#
|
33
|
+
# @param project [String]
|
34
|
+
#
|
35
|
+
# @return [::String]
|
36
|
+
def project_path project:
|
37
|
+
"projects/#{project}"
|
38
|
+
end
|
39
|
+
|
26
40
|
##
|
27
41
|
# Create a fully-qualified WorkloadIdentityPool resource string.
|
28
42
|
#
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-iam-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|