google-apis-gkehub_v1alpha2 0.5.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkehub_v1alpha2/classes.rb +89 -2
- data/lib/google/apis/gkehub_v1alpha2/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1alpha2/representations.rb +34 -0
- data/lib/google/apis/gkehub_v1alpha2/service.rb +1 -1
- data/lib/google/apis/gkehub_v1alpha2.rb +3 -3
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd320c16472bf8d01fea29c50077b90766b9bc07dbba8e06c123566c39071f4
|
4
|
+
data.tar.gz: 28c422882aa278d14bdacb5ac3cc302513e3c552b009e071c09d99b64e75b8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc279fd502d379fd89da512342dd379929fffaba240f9f8816f99fefd32c33441023b42d2da921b5d4cebff71d62fb18021c86c1862a468680b23cc7e8412b8
|
7
|
+
data.tar.gz: 6d28d1fedfbfd61e6d838cdaad0a32b602d3ccb4293f8ed94a110721ced57439980b21be3759513b1568c01b5a1ce4e704ae65fb39d475c5b3804153b9e02ed9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha2
|
2
2
|
|
3
|
+
### v0.9.0 (2021-09-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210827
|
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 V1alpha2 of the GKE Hub
|
1
|
+
# Simple REST client for version V1alpha2 of the GKE Hub API
|
2
2
|
|
3
|
-
This is a simple client library for version V1alpha2 of the GKE Hub. It provides:
|
3
|
+
This is a simple client library for version V1alpha2 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::GkehubV1alpha2::GKEHubService class reference docs}.
|
68
|
+
For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1alpha2::GKEHubService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -354,6 +354,13 @@ module Google
|
|
354
354
|
class GkeCluster
|
355
355
|
include Google::Apis::Core::Hashable
|
356
356
|
|
357
|
+
# Output only. If cluster_missing is set then it denotes that the GKE cluster no
|
358
|
+
# longer exists in the GKE Control Plane.
|
359
|
+
# Corresponds to the JSON property `clusterMissing`
|
360
|
+
# @return [Boolean]
|
361
|
+
attr_accessor :cluster_missing
|
362
|
+
alias_method :cluster_missing?, :cluster_missing
|
363
|
+
|
357
364
|
# Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
|
358
365
|
# container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
|
359
366
|
# cluster Zonal clusters are also supported.
|
@@ -367,6 +374,7 @@ module Google
|
|
367
374
|
|
368
375
|
# Update properties of this object
|
369
376
|
def update!(**args)
|
377
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
370
378
|
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
371
379
|
end
|
372
380
|
end
|
@@ -827,6 +835,16 @@ module Google
|
|
827
835
|
# @return [Google::Apis::GkehubV1alpha2::KubernetesResource]
|
828
836
|
attr_accessor :kubernetes_resource
|
829
837
|
|
838
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
839
|
+
# Corresponds to the JSON property `multiCloudCluster`
|
840
|
+
# @return [Google::Apis::GkehubV1alpha2::MultiCloudCluster]
|
841
|
+
attr_accessor :multi_cloud_cluster
|
842
|
+
|
843
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
844
|
+
# Corresponds to the JSON property `onPremCluster`
|
845
|
+
# @return [Google::Apis::GkehubV1alpha2::OnPremCluster]
|
846
|
+
attr_accessor :on_prem_cluster
|
847
|
+
|
830
848
|
def initialize(**args)
|
831
849
|
update!(**args)
|
832
850
|
end
|
@@ -836,6 +854,8 @@ module Google
|
|
836
854
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
837
855
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
838
856
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
857
|
+
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
858
|
+
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
839
859
|
end
|
840
860
|
end
|
841
861
|
|
@@ -858,6 +878,73 @@ module Google
|
|
858
878
|
end
|
859
879
|
end
|
860
880
|
|
881
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
882
|
+
class MultiCloudCluster
|
883
|
+
include Google::Apis::Core::Hashable
|
884
|
+
|
885
|
+
# Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
|
886
|
+
# googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
|
887
|
+
# Corresponds to the JSON property `clusterMissing`
|
888
|
+
# @return [Boolean]
|
889
|
+
attr_accessor :cluster_missing
|
890
|
+
alias_method :cluster_missing?, :cluster_missing
|
891
|
+
|
892
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
|
893
|
+
# example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
|
894
|
+
# a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
|
895
|
+
# locations/us-west1-a/azureClusters/my-cluster
|
896
|
+
# Corresponds to the JSON property `resourceLink`
|
897
|
+
# @return [String]
|
898
|
+
attr_accessor :resource_link
|
899
|
+
|
900
|
+
def initialize(**args)
|
901
|
+
update!(**args)
|
902
|
+
end
|
903
|
+
|
904
|
+
# Update properties of this object
|
905
|
+
def update!(**args)
|
906
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
907
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
912
|
+
class OnPremCluster
|
913
|
+
include Google::Apis::Core::Hashable
|
914
|
+
|
915
|
+
# Immutable. Whether the cluster is an admin cluster.
|
916
|
+
# Corresponds to the JSON property `adminCluster`
|
917
|
+
# @return [Boolean]
|
918
|
+
attr_accessor :admin_cluster
|
919
|
+
alias_method :admin_cluster?, :admin_cluster
|
920
|
+
|
921
|
+
# Output only. If cluster_missing is set then it denotes that API(gkeonprem.
|
922
|
+
# googleapis.com) resource for this GKE On-Prem cluster no longer exists.
|
923
|
+
# Corresponds to the JSON property `clusterMissing`
|
924
|
+
# @return [Boolean]
|
925
|
+
attr_accessor :cluster_missing
|
926
|
+
alias_method :cluster_missing?, :cluster_missing
|
927
|
+
|
928
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
929
|
+
# example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
|
930
|
+
# vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
931
|
+
# locations/us-west1-a/bareMetalClusters/my-cluster
|
932
|
+
# Corresponds to the JSON property `resourceLink`
|
933
|
+
# @return [String]
|
934
|
+
attr_accessor :resource_link
|
935
|
+
|
936
|
+
def initialize(**args)
|
937
|
+
update!(**args)
|
938
|
+
end
|
939
|
+
|
940
|
+
# Update properties of this object
|
941
|
+
def update!(**args)
|
942
|
+
@admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
|
943
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
944
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
861
948
|
# This resource represents a long-running operation that is the result of a
|
862
949
|
# network API call.
|
863
950
|
class Operation
|
@@ -1003,7 +1090,7 @@ module Google
|
|
1003
1090
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1004
1091
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1005
1092
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1006
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1093
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1007
1094
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1008
1095
|
# google.com/iam/docs/).
|
1009
1096
|
class Policy
|
@@ -1156,7 +1243,7 @@ module Google
|
|
1156
1243
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1157
1244
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1158
1245
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1159
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1246
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1160
1247
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1161
1248
|
# google.com/iam/docs/).
|
1162
1249
|
# Corresponds to the JSON property `policy`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha2
|
18
18
|
# Version of the google-apis-gkehub_v1alpha2 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 = "20210827"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,18 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class MultiCloudCluster
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class OnPremCluster
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class Operation
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -287,6 +299,7 @@ module Google
|
|
287
299
|
class GkeCluster
|
288
300
|
# @private
|
289
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :cluster_missing, as: 'clusterMissing'
|
290
303
|
property :resource_link, as: 'resourceLink'
|
291
304
|
end
|
292
305
|
end
|
@@ -409,6 +422,10 @@ module Google
|
|
409
422
|
|
410
423
|
property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1alpha2::KubernetesResource, decorator: Google::Apis::GkehubV1alpha2::KubernetesResource::Representation
|
411
424
|
|
425
|
+
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1alpha2::MultiCloudCluster, decorator: Google::Apis::GkehubV1alpha2::MultiCloudCluster::Representation
|
426
|
+
|
427
|
+
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1alpha2::OnPremCluster, decorator: Google::Apis::GkehubV1alpha2::OnPremCluster::Representation
|
428
|
+
|
412
429
|
end
|
413
430
|
end
|
414
431
|
|
@@ -419,6 +436,23 @@ module Google
|
|
419
436
|
end
|
420
437
|
end
|
421
438
|
|
439
|
+
class MultiCloudCluster
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :cluster_missing, as: 'clusterMissing'
|
443
|
+
property :resource_link, as: 'resourceLink'
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
class OnPremCluster
|
448
|
+
# @private
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
+
property :admin_cluster, as: 'adminCluster'
|
451
|
+
property :cluster_missing, as: 'clusterMissing'
|
452
|
+
property :resource_link, as: 'resourceLink'
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
422
456
|
class Operation
|
423
457
|
# @private
|
424
458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19,17 +19,17 @@ require 'google/apis/gkehub_v1alpha2/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 GkehubV1alpha2
|
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 = 'V1alpha2'
|
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_v1alpha2
|
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-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,13 +30,13 @@ 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 V1alpha2. Simple REST
|
34
|
-
are Ruby client libraries that provide access to Google services via their
|
35
|
-
REST API endpoints. These libraries are generated and updated automatically
|
36
|
-
on the discovery documents published by the service, and they handle most
|
37
|
-
such as authentication, pagination, retry, timeouts, and logging. You can
|
38
|
-
client to access the GKE Hub, but note that some services may provide
|
39
|
-
modern client that is easier to use.
|
33
|
+
description: This is the simple REST client for GKE Hub API V1alpha2. Simple REST
|
34
|
+
clients are Ruby client libraries that provide access to Google services via their
|
35
|
+
HTTP REST API endpoints. These libraries are generated and updated automatically
|
36
|
+
based on the discovery documents published by the service, and they handle most
|
37
|
+
concerns such as authentication, pagination, retry, timeouts, and logging. You can
|
38
|
+
use this client to access the GKE Hub API, but note that some services may provide
|
39
|
+
a separate modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
42
42
|
extensions: []
|
@@ -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_v1alpha2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha2
|
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 V1alpha2
|
81
|
+
summary: Simple REST client for GKE Hub API V1alpha2
|
82
82
|
test_files: []
|