google-cloud-gke_backup 2.0.1 → 2.1.0

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: cd0ec4502d2284d0781aad27f31319c6528a191aa72720b1a3fea59c40c4fde0
4
- data.tar.gz: 26801dae93a0ea74f1fe341a496ea16ad8bffceb8dc0c2c29446f44c0ea2a264
3
+ metadata.gz: 00c26c9d2fc9180ce241ff28ede113bff5c8c9bb33123ea073ff8730b9eabd68
4
+ data.tar.gz: 18706b47a0c89a906eab25d53edf780864ba5735a39ff5c3f0afe42b850b1dc6
5
5
  SHA512:
6
- metadata.gz: ff16d31efbad48e6927e3010f0b8619230afb4937c5c190a4ed1d2aa78e0571d762db8039979eeca402cc28b9c353194a4a04aa3ebbe47d443cf42eddd02434c
7
- data.tar.gz: 4b182653bb5952c2dfcbf8d027009a9510b2c055bc0f08299750df31dab62b74aa0cd7205a801fee3215e11e80b6e6ab04615fd75d5f348d2955f291376d1422
6
+ metadata.gz: 24567a370a9c393d9c07bae222b998e0c45dc5531b59b1841e9887dcb85031fc0a1a47b735c41d663e0ba473502e2c3219ee07b25a45aef598ff549ed70d44a7
7
+ data.tar.gz: b7eab32106b4872a7c42dd1e521226b10bb4de021190db7be68aec6113eb259c9951fe9ec49f5e48c85d50a5dc09e5e97135eac6b698ab52f7e1e7938d533248
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/gkebackup.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/gke_backup"
39
+
40
+ client = Google::Cloud::GkeBackup.backup_for_gke
41
+ request = ::Google::Cloud::GkeBackup::V1::CreateBackupPlanRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_backup_plan request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module GkeBackup
23
- VERSION = "2.0.1"
23
+ VERSION = "2.1.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -63,14 +63,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: '3.0'
66
+ version: '3.2'
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []
73
- rubygems_version: 3.6.8
73
+ rubygems_version: 3.6.9
74
74
  specification_version: 4
75
75
  summary: API Client library for the Backup for GKE API
76
76
  test_files: []