google-cloud-access_approval-v1 0.2.3 → 0.2.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea3a2131f8f12b98f4b97092ae20bf8949e82fe9a69d96cfb1d4ac70849c9408
|
4
|
+
data.tar.gz: 5ada78d97efb041c367bb5427e584ae4fb5cc985d45065ffe3a74be8a7651ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb48f2e1d95c86d7688afe1c8a26507b7ad8973c310842523df949e92b0184bef45b995bf998696e50996dbe8003efbe42ed60c0bbc159e5d3bb5bd85ce3428
|
7
|
+
data.tar.gz: d6546a2e527c42d285714fcd698d07a00450295a5456bee60b87e7008b804bb3075b79dd0e3f5bf38d430d80ec6ca9c60d271b67f95d56dc6da8dc092d62a4b3
|
@@ -95,6 +95,38 @@ module Google
|
|
95
95
|
end
|
96
96
|
default_config = Client::Configuration.new parent_config
|
97
97
|
|
98
|
+
default_config.rpcs.list_approval_requests.timeout = 600.0
|
99
|
+
default_config.rpcs.list_approval_requests.retry_policy = {
|
100
|
+
initial_delay: 0.1,
|
101
|
+
max_delay: 60.0,
|
102
|
+
multiplier: 1.3,
|
103
|
+
retry_codes: [14]
|
104
|
+
}
|
105
|
+
|
106
|
+
default_config.rpcs.get_approval_request.timeout = 600.0
|
107
|
+
default_config.rpcs.get_approval_request.retry_policy = {
|
108
|
+
initial_delay: 0.1,
|
109
|
+
max_delay: 60.0,
|
110
|
+
multiplier: 1.3,
|
111
|
+
retry_codes: [14]
|
112
|
+
}
|
113
|
+
|
114
|
+
default_config.rpcs.approve_approval_request.timeout = 600.0
|
115
|
+
|
116
|
+
default_config.rpcs.dismiss_approval_request.timeout = 600.0
|
117
|
+
|
118
|
+
default_config.rpcs.get_access_approval_settings.timeout = 600.0
|
119
|
+
default_config.rpcs.get_access_approval_settings.retry_policy = {
|
120
|
+
initial_delay: 0.1,
|
121
|
+
max_delay: 60.0,
|
122
|
+
multiplier: 1.3,
|
123
|
+
retry_codes: [14]
|
124
|
+
}
|
125
|
+
|
126
|
+
default_config.rpcs.update_access_approval_settings.timeout = 600.0
|
127
|
+
|
128
|
+
default_config.rpcs.delete_access_approval_settings.timeout = 600.0
|
129
|
+
|
98
130
|
default_config
|
99
131
|
end
|
100
132
|
yield @configure if block_given?
|
@@ -200,13 +232,12 @@ module Google
|
|
200
232
|
# @param filter [::String]
|
201
233
|
# A filter on the type of approval requests to retrieve. Must be one of the
|
202
234
|
# following values:
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
# </ol>
|
235
|
+
#
|
236
|
+
# - [not set]: Requests that are pending or have active approvals.
|
237
|
+
# - ALL: All requests.
|
238
|
+
# - PENDING: Only pending requests.
|
239
|
+
# - ACTIVE: Only active (i.e. currently approved) requests.
|
240
|
+
# - DISMISSED: Only dismissed (including expired) requests.
|
210
241
|
# @param page_size [::Integer]
|
211
242
|
# Requested page size.
|
212
243
|
# @param page_token [::String]
|
@@ -29,16 +29,15 @@ module Google
|
|
29
29
|
# limited situations Google systems may refer refer to a region code instead
|
30
30
|
# of a country code.
|
31
31
|
# Possible Region Codes:
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# </ol>
|
32
|
+
#
|
33
|
+
# - ASI: Asia
|
34
|
+
# - EUR: Europe
|
35
|
+
# - OCE: Oceania
|
36
|
+
# - AFR: Africa
|
37
|
+
# - NAM: North America
|
38
|
+
# - SAM: South America
|
39
|
+
# - ANT: Antarctica
|
40
|
+
# - ANY: Any location
|
42
41
|
# @!attribute [rw] principal_physical_location_country
|
43
42
|
# @return [::String]
|
44
43
|
# Physical location of the principal at the time of the access. A
|
@@ -46,16 +45,15 @@ module Google
|
|
46
45
|
# a region code. In some limited situations Google systems may refer refer to
|
47
46
|
# a region code instead of a country code.
|
48
47
|
# Possible Region Codes:
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# </ol>
|
48
|
+
#
|
49
|
+
# - ASI: Asia
|
50
|
+
# - EUR: Europe
|
51
|
+
# - OCE: Oceania
|
52
|
+
# - AFR: Africa
|
53
|
+
# - NAM: North America
|
54
|
+
# - SAM: South America
|
55
|
+
# - ANT: Antarctica
|
56
|
+
# - ANY: Any location
|
59
57
|
class AccessLocations
|
60
58
|
include ::Google::Protobuf::MessageExts
|
61
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -78,14 +76,13 @@ module Google
|
|
78
76
|
|
79
77
|
# Customer made a request or raised an issue that required the principal to
|
80
78
|
# access customer data. `detail` is of the form ("#####" is the issue ID):
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# </ol>
|
79
|
+
#
|
80
|
+
# - "Feedback Report: #####"
|
81
|
+
# - "Case Number: #####"
|
82
|
+
# - "Case ID: #####"
|
83
|
+
# - "E-PIN Reference: #####"
|
84
|
+
# - "Google-#####"
|
85
|
+
# - "T-#####"
|
89
86
|
CUSTOMER_INITIATED_SUPPORT = 1
|
90
87
|
|
91
88
|
# The principal accessed customer data in order to diagnose or resolve a
|
@@ -177,18 +174,17 @@ module Google
|
|
177
174
|
# @return [::String]
|
178
175
|
# The product for which Access Approval will be enrolled. Allowed values are
|
179
176
|
# listed below (case-sensitive):
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# <ol>
|
177
|
+
#
|
178
|
+
# - all
|
179
|
+
# - appengine.googleapis.com
|
180
|
+
# - bigquery.googleapis.com
|
181
|
+
# - bigtable.googleapis.com
|
182
|
+
# - cloudkms.googleapis.com
|
183
|
+
# - compute.googleapis.com
|
184
|
+
# - dataflow.googleapis.com
|
185
|
+
# - iam.googleapis.com
|
186
|
+
# - pubsub.googleapis.com
|
187
|
+
# - storage.googleapis.com
|
192
188
|
# @!attribute [rw] enrollment_level
|
193
189
|
# @return [::Google::Cloud::AccessApproval::V1::EnrollmentLevel]
|
194
190
|
# The enrollment level of the service.
|
@@ -201,11 +197,10 @@ module Google
|
|
201
197
|
# @!attribute [rw] name
|
202
198
|
# @return [::String]
|
203
199
|
# The resource name of the settings. Format is one of:
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
# <ol>
|
200
|
+
#
|
201
|
+
# - "projects/\\{project_id}/accessApprovalSettings"
|
202
|
+
# - "folders/\\{folder_id}/accessApprovalSettings"
|
203
|
+
# - "organizations/\\{organization_id}/accessApprovalSettings"
|
209
204
|
# @!attribute [rw] notification_emails
|
210
205
|
# @return [::Array<::String>]
|
211
206
|
# A list of email addresses to which notifications relating to approval
|
@@ -246,13 +241,12 @@ module Google
|
|
246
241
|
# @return [::String]
|
247
242
|
# A filter on the type of approval requests to retrieve. Must be one of the
|
248
243
|
# following values:
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
# </ol>
|
244
|
+
#
|
245
|
+
# - [not set]: Requests that are pending or have active approvals.
|
246
|
+
# - ALL: All requests.
|
247
|
+
# - PENDING: Only pending requests.
|
248
|
+
# - ACTIVE: Only active (i.e. currently approved) requests.
|
249
|
+
# - DISMISSED: Only dismissed (including expired) requests.
|
256
250
|
# @!attribute [rw] page_size
|
257
251
|
# @return [::Integer]
|
258
252
|
# Requested page size.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-access_approval-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|