google-apis-gkehub_v1 0.9.0 → 0.13.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_v1/classes.rb +93 -2
- data/lib/google/apis/gkehub_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1/representations.rb +35 -0
- data/lib/google/apis/gkehub_v1/service.rb +1 -1
- data/lib/google/apis/gkehub_v1.rb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 608e9a472ea5b709996436599312fa0a04b234e519be61c54e9d88814ee5138b
|
4
|
+
data.tar.gz: 9248afb2da24e6ca244efa2f4fb52eda50e6aa0f78a542887a4eb87cc7a518c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a45c8c32b41c0fb8449c68e0683ae59bc9a36b3b77d83d5666cc3dcdf2ff4077e943011848c59a1c14704bcc06c16845592c88515fd0796694c6750c93efc2a
|
7
|
+
data.tar.gz: f4b0c9f8007fbfac11d3eb0ba0a9d2ee0421d71b76772b481d3fee4c0837203d90530ba7cc001ec290570c63fdccafc6bd1927b18d687a84bee075036c070994
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-10-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210927
|
6
|
+
|
7
|
+
### v0.12.0 (2021-09-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210920
|
10
|
+
|
11
|
+
### v0.11.0 (2021-08-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210820
|
14
|
+
|
15
|
+
### v0.10.0 (2021-08-21)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210813
|
18
|
+
|
3
19
|
### v0.9.0 (2021-08-04)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210729
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1 of the GKE Hub
|
1
|
+
# Simple REST client for version V1 of the GKE Hub API
|
2
2
|
|
3
|
-
This is a simple client library for version V1 of the GKE Hub. It provides:
|
3
|
+
This is a simple client library for version V1 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::GkehubV1::GKEHubService class reference docs}.
|
68
|
+
For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1::GKEHubService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -302,6 +302,11 @@ module Google
|
|
302
302
|
class ConfigManagementConfigSyncDeploymentState
|
303
303
|
include Google::Apis::Core::Hashable
|
304
304
|
|
305
|
+
# Deployment state of admission-webhook
|
306
|
+
# Corresponds to the JSON property `admissionWebhook`
|
307
|
+
# @return [String]
|
308
|
+
attr_accessor :admission_webhook
|
309
|
+
|
305
310
|
# Deployment state of the git-sync pod
|
306
311
|
# Corresponds to the JSON property `gitSync`
|
307
312
|
# @return [String]
|
@@ -338,6 +343,7 @@ module Google
|
|
338
343
|
|
339
344
|
# Update properties of this object
|
340
345
|
def update!(**args)
|
346
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
341
347
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
342
348
|
@importer = args[:importer] if args.key?(:importer)
|
343
349
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -382,6 +388,11 @@ module Google
|
|
382
388
|
class ConfigManagementConfigSyncVersion
|
383
389
|
include Google::Apis::Core::Hashable
|
384
390
|
|
391
|
+
# Version of the deployed admission_webhook pod
|
392
|
+
# Corresponds to the JSON property `admissionWebhook`
|
393
|
+
# @return [String]
|
394
|
+
attr_accessor :admission_webhook
|
395
|
+
|
385
396
|
# Version of the deployed git-sync pod
|
386
397
|
# Corresponds to the JSON property `gitSync`
|
387
398
|
# @return [String]
|
@@ -418,6 +429,7 @@ module Google
|
|
418
429
|
|
419
430
|
# Update properties of this object
|
420
431
|
def update!(**args)
|
432
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
421
433
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
422
434
|
@importer = args[:importer] if args.key?(:importer)
|
423
435
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -1688,6 +1700,16 @@ module Google
|
|
1688
1700
|
# @return [Google::Apis::GkehubV1::KubernetesMetadata]
|
1689
1701
|
attr_accessor :kubernetes_metadata
|
1690
1702
|
|
1703
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
1704
|
+
# Corresponds to the JSON property `multiCloudCluster`
|
1705
|
+
# @return [Google::Apis::GkehubV1::MultiCloudCluster]
|
1706
|
+
attr_accessor :multi_cloud_cluster
|
1707
|
+
|
1708
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
1709
|
+
# Corresponds to the JSON property `onPremCluster`
|
1710
|
+
# @return [Google::Apis::GkehubV1::OnPremCluster]
|
1711
|
+
attr_accessor :on_prem_cluster
|
1712
|
+
|
1691
1713
|
def initialize(**args)
|
1692
1714
|
update!(**args)
|
1693
1715
|
end
|
@@ -1696,6 +1718,8 @@ module Google
|
|
1696
1718
|
def update!(**args)
|
1697
1719
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
1698
1720
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
1721
|
+
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
1722
|
+
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
1699
1723
|
end
|
1700
1724
|
end
|
1701
1725
|
|
@@ -1767,6 +1791,36 @@ module Google
|
|
1767
1791
|
end
|
1768
1792
|
end
|
1769
1793
|
|
1794
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
1795
|
+
class MultiCloudCluster
|
1796
|
+
include Google::Apis::Core::Hashable
|
1797
|
+
|
1798
|
+
# Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
|
1799
|
+
# googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
|
1800
|
+
# Corresponds to the JSON property `clusterMissing`
|
1801
|
+
# @return [Boolean]
|
1802
|
+
attr_accessor :cluster_missing
|
1803
|
+
alias_method :cluster_missing?, :cluster_missing
|
1804
|
+
|
1805
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
|
1806
|
+
# example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
|
1807
|
+
# a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
|
1808
|
+
# locations/us-west1-a/azureClusters/my-cluster
|
1809
|
+
# Corresponds to the JSON property `resourceLink`
|
1810
|
+
# @return [String]
|
1811
|
+
attr_accessor :resource_link
|
1812
|
+
|
1813
|
+
def initialize(**args)
|
1814
|
+
update!(**args)
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
# Update properties of this object
|
1818
|
+
def update!(**args)
|
1819
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
1820
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
1821
|
+
end
|
1822
|
+
end
|
1823
|
+
|
1770
1824
|
# **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
|
1771
1825
|
# feature.
|
1772
1826
|
class MultiClusterIngressFeatureSpec
|
@@ -1788,6 +1842,43 @@ module Google
|
|
1788
1842
|
end
|
1789
1843
|
end
|
1790
1844
|
|
1845
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
1846
|
+
class OnPremCluster
|
1847
|
+
include Google::Apis::Core::Hashable
|
1848
|
+
|
1849
|
+
# Immutable. Whether the cluster is an admin cluster.
|
1850
|
+
# Corresponds to the JSON property `adminCluster`
|
1851
|
+
# @return [Boolean]
|
1852
|
+
attr_accessor :admin_cluster
|
1853
|
+
alias_method :admin_cluster?, :admin_cluster
|
1854
|
+
|
1855
|
+
# Output only. If cluster_missing is set then it denotes that API(gkeonprem.
|
1856
|
+
# googleapis.com) resource for this GKE On-Prem cluster no longer exists.
|
1857
|
+
# Corresponds to the JSON property `clusterMissing`
|
1858
|
+
# @return [Boolean]
|
1859
|
+
attr_accessor :cluster_missing
|
1860
|
+
alias_method :cluster_missing?, :cluster_missing
|
1861
|
+
|
1862
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
1863
|
+
# example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
|
1864
|
+
# vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
1865
|
+
# locations/us-west1-a/bareMetalClusters/my-cluster
|
1866
|
+
# Corresponds to the JSON property `resourceLink`
|
1867
|
+
# @return [String]
|
1868
|
+
attr_accessor :resource_link
|
1869
|
+
|
1870
|
+
def initialize(**args)
|
1871
|
+
update!(**args)
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# Update properties of this object
|
1875
|
+
def update!(**args)
|
1876
|
+
@admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
|
1877
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
1878
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1791
1882
|
# This resource represents a long-running operation that is the result of a
|
1792
1883
|
# network API call.
|
1793
1884
|
class Operation
|
@@ -1933,7 +2024,7 @@ module Google
|
|
1933
2024
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1934
2025
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1935
2026
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1936
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2027
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1937
2028
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1938
2029
|
# google.com/iam/docs/).
|
1939
2030
|
class Policy
|
@@ -2027,7 +2118,7 @@ module Google
|
|
2027
2118
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
2028
2119
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
2029
2120
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
2030
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2121
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
2031
2122
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
2032
2123
|
# google.com/iam/docs/).
|
2033
2124
|
# Corresponds to the JSON property `policy`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.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 = "20210927"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,12 +310,24 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class MultiCloudCluster
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class MultiClusterIngressFeatureSpec
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class OnPremCluster
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
319
331
|
class Operation
|
320
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
333
|
|
@@ -429,6 +441,7 @@ module Google
|
|
429
441
|
class ConfigManagementConfigSyncDeploymentState
|
430
442
|
# @private
|
431
443
|
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :admission_webhook, as: 'admissionWebhook'
|
432
445
|
property :git_sync, as: 'gitSync'
|
433
446
|
property :importer, as: 'importer'
|
434
447
|
property :monitor, as: 'monitor'
|
@@ -453,6 +466,7 @@ module Google
|
|
453
466
|
class ConfigManagementConfigSyncVersion
|
454
467
|
# @private
|
455
468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
469
|
+
property :admission_webhook, as: 'admissionWebhook'
|
456
470
|
property :git_sync, as: 'gitSync'
|
457
471
|
property :importer, as: 'importer'
|
458
472
|
property :monitor, as: 'monitor'
|
@@ -814,6 +828,10 @@ module Google
|
|
814
828
|
|
815
829
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
|
816
830
|
|
831
|
+
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1::MultiCloudCluster, decorator: Google::Apis::GkehubV1::MultiCloudCluster::Representation
|
832
|
+
|
833
|
+
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1::OnPremCluster, decorator: Google::Apis::GkehubV1::OnPremCluster::Representation
|
834
|
+
|
817
835
|
end
|
818
836
|
end
|
819
837
|
|
@@ -842,6 +860,14 @@ module Google
|
|
842
860
|
end
|
843
861
|
end
|
844
862
|
|
863
|
+
class MultiCloudCluster
|
864
|
+
# @private
|
865
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
866
|
+
property :cluster_missing, as: 'clusterMissing'
|
867
|
+
property :resource_link, as: 'resourceLink'
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
845
871
|
class MultiClusterIngressFeatureSpec
|
846
872
|
# @private
|
847
873
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -849,6 +875,15 @@ module Google
|
|
849
875
|
end
|
850
876
|
end
|
851
877
|
|
878
|
+
class OnPremCluster
|
879
|
+
# @private
|
880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
881
|
+
property :admin_cluster, as: 'adminCluster'
|
882
|
+
property :cluster_missing, as: 'clusterMissing'
|
883
|
+
property :resource_link, as: 'resourceLink'
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
852
887
|
class Operation
|
853
888
|
# @private
|
854
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19,13 +19,13 @@ require 'google/apis/gkehub_v1/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 GkehubV1
|
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 = 'V1'
|
31
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-10-11 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 V1. Simple REST clients
|
34
|
-
Ruby client libraries that provide access to Google services via their HTTP
|
35
|
-
API endpoints. These libraries are generated and updated automatically based
|
36
|
-
the discovery documents published by the service, and they handle most concerns
|
33
|
+
description: This is the simple REST client for GKE Hub API V1. Simple REST clients
|
34
|
+
are Ruby client libraries that provide access to Google services via their HTTP
|
35
|
+
REST API endpoints. These libraries are generated and updated automatically based
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1
|
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 V1
|
81
|
+
summary: Simple REST client for GKE Hub API V1
|
82
82
|
test_files: []
|