google-cloud-gke_connect-gateway 2.1.1 → 2.1.2

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: 4da95dd9b2dfe195d238b7892d3eeff2800b77fc073646b9b1fde30031e1388d
4
- data.tar.gz: bbde6132eb76a28abf7d315eb12752aa3da59cb628c81524a87ef6d5797177e1
3
+ metadata.gz: ec933e4777dfcdc60fc131b4d454748c3f5668a9d3d11af6e77cd0fd75731e0d
4
+ data.tar.gz: e4ac5cc63af1829318630e7aab3fc8ea5f31d5bec6190ae82c0ad5e4b9279559
5
5
  SHA512:
6
- metadata.gz: e842457988543a4020d7666f01f851f8a07f2079f73d403af8489682288bec489c94305d4c15e50799349ffd5bb60ff9d940809b0698a80bcc7993fbc52da8d8
7
- data.tar.gz: 1acbef1e74138e247e9e8ce2918fe3200bd00f5925148f9e215a15435f8e38e56b9509c804b0d347d914920d51bc9cb7cc6e8282055f57e869da72a89526f096
6
+ metadata.gz: b4929b5249f0f121dfbbeb5caa68666e19034147b0b60b8b17a6369f46a3a5a19d5b8aea510d287a560cf20d7bda6929b1740c62def7fd67948af2da616c9953
7
+ data.tar.gz: 30dd45a9eb587bd331c2200d3228b166ea5e7b7d3f89e7da1eab017a4a6a62a717ae2048ea7deba5e87ddf14127a0e58e3968b6f91d57b766faa713d5512c241
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/connectgateway.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/gke_connect/gateway"
39
+
40
+ client = Google::Cloud::GkeConnect::Gateway.gateway_control
41
+ request = ::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest.new # (request fields as keyword arguments...)
42
+ response = client.generate_credentials request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeConnect
23
23
  module Gateway
24
- VERSION = "2.1.1"
24
+ VERSION = "2.1.2"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_connect-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  requirements: []
81
- rubygems_version: 3.6.8
81
+ rubygems_version: 3.6.9
82
82
  specification_version: 4
83
83
  summary: API Client library for the Connect Gateway API
84
84
  test_files: []