google-cloud-gke_hub-v1beta1 0.1.1 → 0.2.1

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: 181e91d090155455bbae9f5ae2ef11317ef6d05cece34637e02ba8865ea0a529
4
- data.tar.gz: b4cfd1322dcf410c8f4dd7886dd9296ddf51728d90dd37b1d570f1cc33849f9f
3
+ metadata.gz: 01a4e77e82741c997b88548a6a7c6f9123ffa6ae08e6770a64240630add8bd51
4
+ data.tar.gz: c82167de635033fb5c3eee89f5be950725882122e7ad293d595d4f4fc295eb6c
5
5
  SHA512:
6
- metadata.gz: a3c0c2ff86b7fe7bc28024204d7f76f79d9ededbbaa74c77f99779ab8038d321124af4b5d69b360c662ee8659dffa74d02a7f31313f233a0d66570a7955d452d
7
- data.tar.gz: b4d8a4356fa1c2aa466ea2a82852a64a2d5a8ba889a1864e1b83a63ddd00b0815f2be9162a917eb53783c3938aba5c66b3b7f9898fd8af4a72ea7d837e16c09a
6
+ metadata.gz: c4d0fdef95f97fa7f0c99509ebc83de3cc23aca52af2281007a30720e02a9917096509fa98d72bde27606fe5f618c963f3c81150638bee879daafdbee495de58
7
+ data.tar.gz: 196b8e17562d63556d0be80cf1ccb75119fc0edcef8cabdaf83fd79856886a49d6ea04d97f39b5edb2da82a00eccbdbdb6408269c71fa149b505b20973f1603f
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-gke_hub-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Credentials}):
68
68
 
69
- 1. `GKE_HUB_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `GKE_HUB_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
+ * `GKE_HUB_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `GKE_HUB_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/gke_hub/v1beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new
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/gke_hub/v1beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new d
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/gke_hub/v1beta1"
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/gke_hub/v1beta1"
34
34
 
35
35
  client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_memberships request
38
38
  ```
39
39