google-apis-gkehub_v1beta1 0.5.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkehub_v1beta1/classes.rb +89 -2
- data/lib/google/apis/gkehub_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1beta1/representations.rb +34 -0
- data/lib/google/apis/gkehub_v1beta1/service.rb +1 -1
- data/lib/google/apis/gkehub_v1beta1.rb +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 709bf683834d9dc181a380ec1da4724aa076a511f1b071a08f36d893e6e5d3e5
|
4
|
+
data.tar.gz: 836cd4114657e68062ee697d8f23a44ac1f06b5401434f43666b27fe2c5b9642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eeb18bc09db5e3a68c59085a4cae14b8d42ccfbcb1c9c0f7259a26c617234f2783af33727b47470233228c16e8e0dab49670c6bc82d4dddb2cfc3974eaab4d4
|
7
|
+
data.tar.gz: 4391a3e3ea63a3733230c6d822a26925552125a686aeff8df9f58a8df528c9f4b6fe6fe7184e832421d90c343abc2dce12920ad991fadead1cbe6ec594de929c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-08-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210820
|
6
|
+
|
7
|
+
### v0.8.0 (2021-08-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210813
|
10
|
+
|
11
|
+
### v0.7.0 (2021-08-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210729
|
14
|
+
|
15
|
+
### v0.6.0 (2021-07-14)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210709
|
18
|
+
|
3
19
|
### v0.5.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1beta1 of the GKE Hub
|
1
|
+
# Simple REST client for version V1beta1 of the GKE Hub API
|
2
2
|
|
3
|
-
This is a simple client library for version V1beta1 of the GKE Hub. It provides:
|
3
|
+
This is a simple client library for version V1beta1 of the GKE Hub API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkehub service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the GKE Hub, see the {Google::Apis::GkehubV1beta1::GKEHubService class reference docs}.
|
68
|
+
For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1beta1::GKEHubService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -381,6 +381,13 @@ module Google
|
|
381
381
|
class GkeCluster
|
382
382
|
include Google::Apis::Core::Hashable
|
383
383
|
|
384
|
+
# Output only. If cluster_missing is set then it denotes that the GKE cluster no
|
385
|
+
# longer exists in the GKE Control Plane.
|
386
|
+
# Corresponds to the JSON property `clusterMissing`
|
387
|
+
# @return [Boolean]
|
388
|
+
attr_accessor :cluster_missing
|
389
|
+
alias_method :cluster_missing?, :cluster_missing
|
390
|
+
|
384
391
|
# Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
|
385
392
|
# container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
|
386
393
|
# cluster Zonal clusters are also supported.
|
@@ -394,6 +401,7 @@ module Google
|
|
394
401
|
|
395
402
|
# Update properties of this object
|
396
403
|
def update!(**args)
|
404
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
397
405
|
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
398
406
|
end
|
399
407
|
end
|
@@ -812,6 +820,16 @@ module Google
|
|
812
820
|
# @return [Google::Apis::GkehubV1beta1::KubernetesResource]
|
813
821
|
attr_accessor :kubernetes_resource
|
814
822
|
|
823
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
824
|
+
# Corresponds to the JSON property `multiCloudCluster`
|
825
|
+
# @return [Google::Apis::GkehubV1beta1::MultiCloudCluster]
|
826
|
+
attr_accessor :multi_cloud_cluster
|
827
|
+
|
828
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
829
|
+
# Corresponds to the JSON property `onPremCluster`
|
830
|
+
# @return [Google::Apis::GkehubV1beta1::OnPremCluster]
|
831
|
+
attr_accessor :on_prem_cluster
|
832
|
+
|
815
833
|
def initialize(**args)
|
816
834
|
update!(**args)
|
817
835
|
end
|
@@ -821,6 +839,8 @@ module Google
|
|
821
839
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
822
840
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
823
841
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
842
|
+
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
843
|
+
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
824
844
|
end
|
825
845
|
end
|
826
846
|
|
@@ -855,6 +875,73 @@ module Google
|
|
855
875
|
end
|
856
876
|
end
|
857
877
|
|
878
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
879
|
+
class MultiCloudCluster
|
880
|
+
include Google::Apis::Core::Hashable
|
881
|
+
|
882
|
+
# Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
|
883
|
+
# googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
|
884
|
+
# Corresponds to the JSON property `clusterMissing`
|
885
|
+
# @return [Boolean]
|
886
|
+
attr_accessor :cluster_missing
|
887
|
+
alias_method :cluster_missing?, :cluster_missing
|
888
|
+
|
889
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
|
890
|
+
# example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
|
891
|
+
# a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
|
892
|
+
# locations/us-west1-a/azureClusters/my-cluster
|
893
|
+
# Corresponds to the JSON property `resourceLink`
|
894
|
+
# @return [String]
|
895
|
+
attr_accessor :resource_link
|
896
|
+
|
897
|
+
def initialize(**args)
|
898
|
+
update!(**args)
|
899
|
+
end
|
900
|
+
|
901
|
+
# Update properties of this object
|
902
|
+
def update!(**args)
|
903
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
904
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
909
|
+
class OnPremCluster
|
910
|
+
include Google::Apis::Core::Hashable
|
911
|
+
|
912
|
+
# Immutable. Whether the cluster is an admin cluster.
|
913
|
+
# Corresponds to the JSON property `adminCluster`
|
914
|
+
# @return [Boolean]
|
915
|
+
attr_accessor :admin_cluster
|
916
|
+
alias_method :admin_cluster?, :admin_cluster
|
917
|
+
|
918
|
+
# Output only. If cluster_missing is set then it denotes that API(gkeonprem.
|
919
|
+
# googleapis.com) resource for this GKE On-Prem cluster no longer exists.
|
920
|
+
# Corresponds to the JSON property `clusterMissing`
|
921
|
+
# @return [Boolean]
|
922
|
+
attr_accessor :cluster_missing
|
923
|
+
alias_method :cluster_missing?, :cluster_missing
|
924
|
+
|
925
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
926
|
+
# example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
|
927
|
+
# vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
928
|
+
# locations/us-west1-a/bareMetalClusters/my-cluster
|
929
|
+
# Corresponds to the JSON property `resourceLink`
|
930
|
+
# @return [String]
|
931
|
+
attr_accessor :resource_link
|
932
|
+
|
933
|
+
def initialize(**args)
|
934
|
+
update!(**args)
|
935
|
+
end
|
936
|
+
|
937
|
+
# Update properties of this object
|
938
|
+
def update!(**args)
|
939
|
+
@admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
|
940
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
941
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
858
945
|
# This resource represents a long-running operation that is the result of a
|
859
946
|
# network API call.
|
860
947
|
class Operation
|
@@ -1000,7 +1087,7 @@ module Google
|
|
1000
1087
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1001
1088
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1002
1089
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1003
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1090
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1004
1091
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1005
1092
|
# google.com/iam/docs/).
|
1006
1093
|
class Policy
|
@@ -1153,7 +1240,7 @@ module Google
|
|
1153
1240
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1154
1241
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1155
1242
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1156
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1243
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1157
1244
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1158
1245
|
# google.com/iam/docs/).
|
1159
1246
|
# Corresponds to the JSON property `policy`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1beta1
|
18
18
|
# Version of the google-apis-gkehub_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,18 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class MultiCloudCluster
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class OnPremCluster
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class Operation
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -295,6 +307,7 @@ module Google
|
|
295
307
|
class GkeCluster
|
296
308
|
# @private
|
297
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :cluster_missing, as: 'clusterMissing'
|
298
311
|
property :resource_link, as: 'resourceLink'
|
299
312
|
end
|
300
313
|
end
|
@@ -403,6 +416,10 @@ module Google
|
|
403
416
|
|
404
417
|
property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1beta1::KubernetesResource, decorator: Google::Apis::GkehubV1beta1::KubernetesResource::Representation
|
405
418
|
|
419
|
+
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1beta1::MultiCloudCluster, decorator: Google::Apis::GkehubV1beta1::MultiCloudCluster::Representation
|
420
|
+
|
421
|
+
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1beta1::OnPremCluster, decorator: Google::Apis::GkehubV1beta1::OnPremCluster::Representation
|
422
|
+
|
406
423
|
end
|
407
424
|
end
|
408
425
|
|
@@ -415,6 +432,23 @@ module Google
|
|
415
432
|
end
|
416
433
|
end
|
417
434
|
|
435
|
+
class MultiCloudCluster
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
property :cluster_missing, as: 'clusterMissing'
|
439
|
+
property :resource_link, as: 'resourceLink'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
class OnPremCluster
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
property :admin_cluster, as: 'adminCluster'
|
447
|
+
property :cluster_missing, as: 'clusterMissing'
|
448
|
+
property :resource_link, as: 'resourceLink'
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
418
452
|
class Operation
|
419
453
|
# @private
|
420
454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19,17 +19,17 @@ require 'google/apis/gkehub_v1beta1/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
# GKE Hub
|
22
|
+
# GKE Hub API
|
23
23
|
#
|
24
24
|
#
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
|
27
27
|
module GkehubV1beta1
|
28
|
-
# Version of the GKE Hub this client connects to.
|
28
|
+
# Version of the GKE Hub API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,12 +30,12 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
-
description: This is the simple REST client for GKE Hub V1beta1. Simple REST clients
|
33
|
+
description: This is the simple REST client for GKE Hub API V1beta1. Simple REST clients
|
34
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
35
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
36
36
|
on the discovery documents published by the service, and they handle most concerns
|
37
37
|
such as authentication, pagination, retry, timeouts, and logging. You can use this
|
38
|
-
client to access the GKE Hub, but note that some services may provide a separate
|
38
|
+
client to access the GKE Hub API, but note that some services may provide a separate
|
39
39
|
modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -78,5 +78,5 @@ requirements: []
|
|
78
78
|
rubygems_version: 3.2.17
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
|
-
summary: Simple REST client for GKE Hub V1beta1
|
81
|
+
summary: Simple REST client for GKE Hub API V1beta1
|
82
82
|
test_files: []
|