google-cloud-artifact_registry-v1beta2 0.3.1 → 0.3.5

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: f7d521d97b3c792e1239c76648c3cbc6c0712a27bb348d5224f14b11f7ef3eca
4
+ data.tar.gz: f8da2779c9d9d3e71bee6fab9a55899ae80a4443c79588a82078045f4a2d3340
5
5
  SHA512:
6
- metadata.gz: 3c1ef618e0a93aae3e20ceaf24d3365f04fcb3ba9359d8f9a0a8765bf5ead79ae0b344b22a74e9a876287ee766cdfdc1afa4dd92b8fcf1bc9d4ac3ba522c8e31
7
- data.tar.gz: 40c7c8cd0fdbeb85851ed633aa7c95bf41295632c0ffacf79cff316a160528a423018568f67c3ed3981cb8ddd1a61d8d2739a909820fd44dd32a949e4ae12511
6
+ metadata.gz: 016f1afee7ddfdfa3f01f45639d2b73f1c68af03fe5ce3f95e80d71dc09dcb2f0220342fecc9578e0e300a3916922c8b8b22fe0645959d2cc169f02aa0cf6b0d
7
+ data.tar.gz: 4629c7745f1a5f3a18b4f45adc955729c44bdb6268ad6a96068c71fda07c62f35eb11dd31d2a0627f1ee4f525a39d3769dc14f6ddf1c92ed7dcf4a9544f8abb8
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"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.ne
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/artifact_registry/v1beta2"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.ne
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  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