google-cloud-artifact_registry-v1beta2 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b1ce603c6262739ad7eceebfffadbcee356d483e51842ff88968cf41f90aeba
4
- data.tar.gz: 85c422878ef99417e70b411527f10b72c5972ed78b95b5c7576fd9d02a5539b1
3
+ metadata.gz: 895524bf7b4aae6680b897cef8d10fa500de456101f6233b4bfee8bdadfbd7fa
4
+ data.tar.gz: dff067e99362bcd3ec794ab9d7bc6ad28d02f9e585c94cd63f50e2e0cda5e60f
5
5
  SHA512:
6
- metadata.gz: 3c1ef618e0a93aae3e20ceaf24d3365f04fcb3ba9359d8f9a0a8765bf5ead79ae0b344b22a74e9a876287ee766cdfdc1afa4dd92b8fcf1bc9d4ac3ba522c8e31
7
- data.tar.gz: 40c7c8cd0fdbeb85851ed633aa7c95bf41295632c0ffacf79cff316a160528a423018568f67c3ed3981cb8ddd1a61d8d2739a909820fd44dd32a949e4ae12511
6
+ metadata.gz: b18219fab6063dd3cc5d44ff7b505214fa2bb2e44d4041ae1da07b4747182f6fd620fa8eac2857045bd0e9081fcc586d3564ccc4efbff9ef8e7892c7a29beac1
7
+ data.tar.gz: 503956a2df7c9ab3905e74dfd754a977bbc67c2b74780d50b94fd0c110b9e2eb23570350e9026d5524b43e4f24a75344aeb865708a90279224c528937f97939b
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-artifact_registry-v1beta2
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Credentials}):
68
68
 
69
- 1. `ARTIFACT_REGISTRY_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `ARTIFACT_REGISTRY_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `ARTIFACT_REGISTRY_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `ARTIFACT_REGISTRY_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/cloud/artifact_registry/v1beta2"
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/cloud/artifact_registry/v1beta2"
34
34
 
35
35
  client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_repositories request
38
38
  ```
39
39
 
@@ -79,18 +79,12 @@ module Google
79
79
 
80
80
  default_config.rpcs.list_repositories.timeout = 30.0
81
81
  default_config.rpcs.list_repositories.retry_policy = {
82
- initial_delay: 0.1,
83
- max_delay: 60.0,
84
- multiplier: 1.3,
85
- retry_codes: [14]
82
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
86
83
  }
87
84
 
88
85
  default_config.rpcs.get_repository.timeout = 30.0
89
86
  default_config.rpcs.get_repository.retry_policy = {
90
- initial_delay: 0.1,
91
- max_delay: 60.0,
92
- multiplier: 1.3,
93
- retry_codes: [14]
87
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
94
88
  }
95
89
 
96
90
  default_config.rpcs.create_repository.timeout = 30.0
@@ -99,90 +93,57 @@ module Google
99
93
 
100
94
  default_config.rpcs.delete_repository.timeout = 30.0
101
95
  default_config.rpcs.delete_repository.retry_policy = {
102
- initial_delay: 0.1,
103
- max_delay: 60.0,
104
- multiplier: 1.3,
105
- retry_codes: [14]
96
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
106
97
  }
107
98
 
108
99
  default_config.rpcs.list_packages.timeout = 30.0
109
100
  default_config.rpcs.list_packages.retry_policy = {
110
- initial_delay: 0.1,
111
- max_delay: 60.0,
112
- multiplier: 1.3,
113
- retry_codes: [14]
101
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
114
102
  }
115
103
 
116
104
  default_config.rpcs.get_package.timeout = 30.0
117
105
  default_config.rpcs.get_package.retry_policy = {
118
- initial_delay: 0.1,
119
- max_delay: 60.0,
120
- multiplier: 1.3,
121
- retry_codes: [14]
106
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
122
107
  }
123
108
 
124
109
  default_config.rpcs.delete_package.timeout = 30.0
125
110
  default_config.rpcs.delete_package.retry_policy = {
126
- initial_delay: 0.1,
127
- max_delay: 60.0,
128
- multiplier: 1.3,
129
- retry_codes: [14]
111
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
130
112
  }
131
113
 
132
114
  default_config.rpcs.list_versions.timeout = 30.0
133
115
  default_config.rpcs.list_versions.retry_policy = {
134
- initial_delay: 0.1,
135
- max_delay: 60.0,
136
- multiplier: 1.3,
137
- retry_codes: [14]
116
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
138
117
  }
139
118
 
140
119
  default_config.rpcs.get_version.timeout = 30.0
141
120
  default_config.rpcs.get_version.retry_policy = {
142
- initial_delay: 0.1,
143
- max_delay: 60.0,
144
- multiplier: 1.3,
145
- retry_codes: [14]
121
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
146
122
  }
147
123
 
148
124
  default_config.rpcs.delete_version.timeout = 30.0
149
125
  default_config.rpcs.delete_version.retry_policy = {
150
- initial_delay: 0.1,
151
- max_delay: 60.0,
152
- multiplier: 1.3,
153
- retry_codes: [14]
126
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
154
127
  }
155
128
 
156
129
  default_config.rpcs.list_files.timeout = 30.0
157
130
  default_config.rpcs.list_files.retry_policy = {
158
- initial_delay: 0.1,
159
- max_delay: 60.0,
160
- multiplier: 1.3,
161
- retry_codes: [14]
131
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
162
132
  }
163
133
 
164
134
  default_config.rpcs.get_file.timeout = 30.0
165
135
  default_config.rpcs.get_file.retry_policy = {
166
- initial_delay: 0.1,
167
- max_delay: 60.0,
168
- multiplier: 1.3,
169
- retry_codes: [14]
136
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
170
137
  }
171
138
 
172
139
  default_config.rpcs.list_tags.timeout = 30.0
173
140
  default_config.rpcs.list_tags.retry_policy = {
174
- initial_delay: 0.1,
175
- max_delay: 60.0,
176
- multiplier: 1.3,
177
- retry_codes: [14]
141
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
178
142
  }
179
143
 
180
144
  default_config.rpcs.get_tag.timeout = 30.0
181
145
  default_config.rpcs.get_tag.retry_policy = {
182
- initial_delay: 0.1,
183
- max_delay: 60.0,
184
- multiplier: 1.3,
185
- retry_codes: [14]
146
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
186
147
  }
187
148
 
188
149
  default_config.rpcs.create_tag.timeout = 30.0
@@ -191,18 +152,12 @@ module Google
191
152
 
192
153
  default_config.rpcs.delete_tag.timeout = 30.0
193
154
  default_config.rpcs.delete_tag.retry_policy = {
194
- initial_delay: 0.1,
195
- max_delay: 60.0,
196
- multiplier: 1.3,
197
- retry_codes: [14]
155
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
198
156
  }
199
157
 
200
158
  default_config.rpcs.get_iam_policy.timeout = 30.0
201
159
  default_config.rpcs.get_iam_policy.retry_policy = {
202
- initial_delay: 0.1,
203
- max_delay: 60.0,
204
- multiplier: 1.3,
205
- retry_codes: [14]
160
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
206
161
  }
207
162
 
208
163
  default_config.rpcs.test_iam_permissions.timeout = 30.0
@@ -275,7 +230,7 @@ module Google
275
230
  !@config.endpoint.split(".").first.include?("-")
276
231
  credentials ||= Credentials.default scope: @config.scope,
277
232
  enable_self_signed_jwt: enable_self_signed_jwt
278
- if credentials.is_a?(String) || credentials.is_a?(Hash)
233
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
279
234
  credentials = Credentials.new credentials, scope: @config.scope
280
235
  end
281
236
  @quota_project_id = @config.quota_project
@@ -82,7 +82,7 @@ module Google
82
82
  # Create credentials
83
83
  credentials = @config.credentials
84
84
  credentials ||= Credentials.default scope: @config.scope
85
- if credentials.is_a?(String) || credentials.is_a?(Hash)
85
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
  @quota_project_id = @config.quota_project
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1beta2
24
- VERSION = "0.3.1"
24
+ VERSION = "0.3.2"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
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-06-17 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common