google-cloud-gke_multi_cloud-v1 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +7 -7
  3. data/README.md +9 -9
  4. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +1289 -0
  5. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb +47 -0
  6. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +770 -0
  7. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb +86 -0
  8. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +52 -0
  9. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +93 -51
  10. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +3 -0
  11. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
  12. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +126 -75
  13. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +3 -0
  14. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
  15. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  16. data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
  17. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
  18. data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
  19. data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
  20. data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
  21. data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
  22. data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +11 -0
  23. data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
  24. data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
  25. data/proto_docs/google/api/client.rb +318 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
  28. data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
  29. data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +86 -29
  30. data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +79 -44
  31. data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +75 -37
  32. data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +105 -64
  33. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
  34. data/proto_docs/google/protobuf/empty.rb +0 -2
  35. data/proto_docs/google/rpc/status.rb +4 -2
  36. metadata +24 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62984fd0025f68486d2f4922a1e87723f89aece84cc36873a9a4d0a19e23710c
4
- data.tar.gz: dd3a842e5c0b95b4e80ff6f0cf42890f67ea683db887a0a8cc798280d49b32ae
3
+ metadata.gz: da80a219c1109e503f02010db3d68ba11315bd4adb426bea2954a6505d1c86ff
4
+ data.tar.gz: cafbc60120cf2b4e602440264664d88e6d460a4bb3449c4dacfb996425e1f9de
5
5
  SHA512:
6
- metadata.gz: af50da4a47d53ad0c9a5c8519d964d203bae14c6b83c7263ebeb2e597a275ef0c9c6fbba9467411944a4fd356759406325d0ff1a0567ff352a49cef56b383517
7
- data.tar.gz: 073c27b78cffed9391ac616cb93aa35eb61a7e93486142e6a779980a1d3060e24655fc8887ed9c441ea6338b860c6cf9dd32af7efe2cc9917fb20ae1f02ca695
6
+ metadata.gz: 6a95671e4cad369299277888f4e88fe56cccd5bbcde247f79ffd5f7ad715f0b797d7e2200bffa73bba5e9349b89736100d0ab5018d844fc3ab2694fd4e0d1708
7
+ data.tar.gz: 166374276b202431493e346ee23b84fdde4ba803df82ba3311d764d2707e6662fad4bb21a98b88a5332266eb329664a0e2836139bd9e1525ebf57bb2852a5620
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export GOOGLE_CLOUD_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/gke_multi_cloud/v1"
29
29
 
30
- client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new
30
+ client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
31
31
  ```
32
32
 
33
33
  ## Credential Lookup
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-gke_multi_cloud-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Credentials}):
67
+ {::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Credentials}):
68
68
 
69
69
  * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
@@ -75,7 +75,7 @@ require "google/cloud/gke_multi_cloud/v1"
75
75
 
76
76
  ENV["GOOGLE_CLOUD_CREDENTIALS"] = "path/to/keyfile.json"
77
77
 
78
- client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new
78
+ client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
79
79
  ```
80
80
 
81
81
  ### Configuration
@@ -86,7 +86,7 @@ it in an environment variable. Either on an individual client initialization:
86
86
  ```ruby
87
87
  require "google/cloud/gke_multi_cloud/v1"
88
88
 
89
- client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new do |config|
89
+ client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new do |config|
90
90
  config.credentials = "path/to/keyfile.json"
91
91
  end
92
92
  ```
@@ -96,11 +96,11 @@ Or globally for all clients:
96
96
  ```ruby
97
97
  require "google/cloud/gke_multi_cloud/v1"
98
98
 
99
- ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.configure do |config|
99
+ ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.configure do |config|
100
100
  config.credentials = "path/to/keyfile.json"
101
101
  end
102
102
 
103
- client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new
103
+ client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
104
104
  ```
105
105
 
106
106
  ### Cloud SDK
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/gke_multi_cloud/v1"
34
34
 
35
- client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new
36
- request = ::Google::Cloud::GkeMultiCloud::V1::CreateAwsClusterRequest.new # (request fields as keyword arguments...)
37
- response = client.create_aws_cluster request
35
+ client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new
36
+ request = ::Google::Cloud::GkeMultiCloud::V1::CreateAttachedClusterRequest.new # (request fields as keyword arguments...)
37
+ response = client.create_attached_cluster request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest)
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
83
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
84
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
85
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
86
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
87
87
 
88
88
  ## Which client should I use?
89
89