google-apis-gkehub_v1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61c219dccfc52008bcc4a6ba4c2715786a4f20a0db7d31b5292b8e5a9b075131
4
- data.tar.gz: 6a4c7071c7d49b8aa54cc9de213f1198b7f926c67ca9e6878bc86fefb427662c
3
+ metadata.gz: d3bc363f5aa703d31a1d61ea1961e0402bca121e270e7962124b534b87a1a20d
4
+ data.tar.gz: d65487533140d0045ee673e5a70ec5c2f42e1aa63db78831e6537d21d867480d
5
5
  SHA512:
6
- metadata.gz: 664738fe06c7f05877e442ba7c6e35655c37d38e5ccb4fe52b4ee9ad6de0f04f8cf67e866b6624cfc15e7789e2345263b0cb4ba72ff64d3af23f2aec8c3ffa59
7
- data.tar.gz: 8cfaf0cfc69124f76e4495d5155add897b2a2be5edf7e472f64a12e420de2a248084463a1e1379b22a378593f0325e9ae18c967ea10fa51515da21b548e98348
6
+ metadata.gz: ab2431257e4fa3f5fd19d2812a03fa53986830859f2fa17d67ab6ff1639de8dafa8b3fc0af313062eee719ddc846c62a6569376539d6594b514b490b83875526
7
+ data.tar.gz: a09da86bea27bf5b1120ffa4a844f813ce9a499f55e7cd5573d464f54be90671e451cc533dc6184ca7f945a3d81cb07d2f23e4c104132db82467a8054328596d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.11.0 (2021-08-28)
4
+
5
+ * Regenerated from discovery document revision 20210820
6
+
7
+ ### v0.10.0 (2021-08-21)
8
+
9
+ * Regenerated from discovery document revision 20210813
10
+
11
+ ### v0.9.0 (2021-08-04)
12
+
13
+ * Regenerated from discovery document revision 20210729
14
+
15
+ ### v0.8.0 (2021-07-14)
16
+
17
+ * Regenerated from discovery document revision 20210709
18
+
3
19
  ### v0.7.0 (2021-06-30)
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 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
 
@@ -1144,8 +1144,8 @@ module Google
1144
1144
 
1145
1145
  # Optional. Membership-specific configuration for this Feature. If this Feature
1146
1146
  # does not support any per-Membership configuration, this field may be unused.
1147
- # The keys indicate which Membership the configuration is for, in the form:
1148
- # projects/`p`/locations/`l`/memberships/`m` Where `p` is the project, `l` is a
1147
+ # The keys indicate which Membership the configuration is for, in the form: `
1148
+ # projects/`p`/locations/`l`/memberships/`m`` Where `p` is the project, `l` is a
1149
1149
  # valid location and `m` is a valid Membership in this project at that location.
1150
1150
  # `p` WILL match the Feature's project. `p` will always be returned as the
1151
1151
  # project number, but the project ID is also accepted during input. If the same
@@ -1159,8 +1159,8 @@ module Google
1159
1159
 
1160
1160
  # Output only. Membership-specific Feature status. If this Feature does report
1161
1161
  # any per-Membership status, this field may be unused. The keys indicate which
1162
- # Membership the state is for, in the form: projects/`p`/locations/`l`/
1163
- # memberships/`m` Where `p` is the project number, `l` is a valid location and `
1162
+ # Membership the state is for, in the form: `projects/`p`/locations/`l`/
1163
+ # memberships/`m`` Where `p` is the project number, `l` is a valid location and `
1164
1164
  # m` is a valid Membership in this project at that location. `p` MUST match the
1165
1165
  # Feature's project number.
1166
1166
  # Corresponds to the JSON property `membershipStates`
@@ -1293,6 +1293,13 @@ module Google
1293
1293
  class GkeCluster
1294
1294
  include Google::Apis::Core::Hashable
1295
1295
 
1296
+ # Output only. If cluster_missing is set then it denotes that the GKE cluster no
1297
+ # longer exists in the GKE Control Plane.
1298
+ # Corresponds to the JSON property `clusterMissing`
1299
+ # @return [Boolean]
1300
+ attr_accessor :cluster_missing
1301
+ alias_method :cluster_missing?, :cluster_missing
1302
+
1296
1303
  # Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
1297
1304
  # container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
1298
1305
  # cluster Zonal clusters are also supported.
@@ -1306,6 +1313,7 @@ module Google
1306
1313
 
1307
1314
  # Update properties of this object
1308
1315
  def update!(**args)
1316
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
1309
1317
  @resource_link = args[:resource_link] if args.key?(:resource_link)
1310
1318
  end
1311
1319
  end
@@ -1680,6 +1688,16 @@ module Google
1680
1688
  # @return [Google::Apis::GkehubV1::KubernetesMetadata]
1681
1689
  attr_accessor :kubernetes_metadata
1682
1690
 
1691
+ # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
1692
+ # Corresponds to the JSON property `multiCloudCluster`
1693
+ # @return [Google::Apis::GkehubV1::MultiCloudCluster]
1694
+ attr_accessor :multi_cloud_cluster
1695
+
1696
+ # OnPremCluster contains information specific to GKE On-Prem clusters.
1697
+ # Corresponds to the JSON property `onPremCluster`
1698
+ # @return [Google::Apis::GkehubV1::OnPremCluster]
1699
+ attr_accessor :on_prem_cluster
1700
+
1683
1701
  def initialize(**args)
1684
1702
  update!(**args)
1685
1703
  end
@@ -1688,6 +1706,8 @@ module Google
1688
1706
  def update!(**args)
1689
1707
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
1690
1708
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
1709
+ @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
1710
+ @on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
1691
1711
  end
1692
1712
  end
1693
1713
 
@@ -1759,6 +1779,36 @@ module Google
1759
1779
  end
1760
1780
  end
1761
1781
 
1782
+ # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
1783
+ class MultiCloudCluster
1784
+ include Google::Apis::Core::Hashable
1785
+
1786
+ # Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
1787
+ # googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
1788
+ # Corresponds to the JSON property `clusterMissing`
1789
+ # @return [Boolean]
1790
+ attr_accessor :cluster_missing
1791
+ alias_method :cluster_missing?, :cluster_missing
1792
+
1793
+ # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
1794
+ # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
1795
+ # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
1796
+ # locations/us-west1-a/azureClusters/my-cluster
1797
+ # Corresponds to the JSON property `resourceLink`
1798
+ # @return [String]
1799
+ attr_accessor :resource_link
1800
+
1801
+ def initialize(**args)
1802
+ update!(**args)
1803
+ end
1804
+
1805
+ # Update properties of this object
1806
+ def update!(**args)
1807
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
1808
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
1809
+ end
1810
+ end
1811
+
1762
1812
  # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
1763
1813
  # feature.
1764
1814
  class MultiClusterIngressFeatureSpec
@@ -1780,6 +1830,43 @@ module Google
1780
1830
  end
1781
1831
  end
1782
1832
 
1833
+ # OnPremCluster contains information specific to GKE On-Prem clusters.
1834
+ class OnPremCluster
1835
+ include Google::Apis::Core::Hashable
1836
+
1837
+ # Immutable. Whether the cluster is an admin cluster.
1838
+ # Corresponds to the JSON property `adminCluster`
1839
+ # @return [Boolean]
1840
+ attr_accessor :admin_cluster
1841
+ alias_method :admin_cluster?, :admin_cluster
1842
+
1843
+ # Output only. If cluster_missing is set then it denotes that API(gkeonprem.
1844
+ # googleapis.com) resource for this GKE On-Prem cluster no longer exists.
1845
+ # Corresponds to the JSON property `clusterMissing`
1846
+ # @return [Boolean]
1847
+ attr_accessor :cluster_missing
1848
+ alias_method :cluster_missing?, :cluster_missing
1849
+
1850
+ # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
1851
+ # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
1852
+ # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
1853
+ # locations/us-west1-a/bareMetalClusters/my-cluster
1854
+ # Corresponds to the JSON property `resourceLink`
1855
+ # @return [String]
1856
+ attr_accessor :resource_link
1857
+
1858
+ def initialize(**args)
1859
+ update!(**args)
1860
+ end
1861
+
1862
+ # Update properties of this object
1863
+ def update!(**args)
1864
+ @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
1865
+ @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
1866
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
1867
+ end
1868
+ end
1869
+
1783
1870
  # This resource represents a long-running operation that is the result of a
1784
1871
  # network API call.
1785
1872
  class Operation
@@ -1925,7 +2012,7 @@ module Google
1925
2012
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1926
2013
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1927
2014
  # description: Does not grant access after Sep 2020 expression: request.time <
1928
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2015
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1929
2016
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1930
2017
  # google.com/iam/docs/).
1931
2018
  class Policy
@@ -2019,7 +2106,7 @@ module Google
2019
2106
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2020
2107
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2021
2108
  # description: Does not grant access after Sep 2020 expression: request.time <
2022
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2109
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2023
2110
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2024
2111
  # google.com/iam/docs/).
2025
2112
  # 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.7.0"
19
+ GEM_VERSION = "0.11.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 = "20210622"
25
+ REVISION = "20210820"
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
 
@@ -712,6 +724,7 @@ module Google
712
724
  class GkeCluster
713
725
  # @private
714
726
  class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :cluster_missing, as: 'clusterMissing'
715
728
  property :resource_link, as: 'resourceLink'
716
729
  end
717
730
  end
@@ -813,6 +826,10 @@ module Google
813
826
 
814
827
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
815
828
 
829
+ property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1::MultiCloudCluster, decorator: Google::Apis::GkehubV1::MultiCloudCluster::Representation
830
+
831
+ property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1::OnPremCluster, decorator: Google::Apis::GkehubV1::OnPremCluster::Representation
832
+
816
833
  end
817
834
  end
818
835
 
@@ -841,6 +858,14 @@ module Google
841
858
  end
842
859
  end
843
860
 
861
+ class MultiCloudCluster
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :cluster_missing, as: 'clusterMissing'
865
+ property :resource_link, as: 'resourceLink'
866
+ end
867
+ end
868
+
844
869
  class MultiClusterIngressFeatureSpec
845
870
  # @private
846
871
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -848,6 +873,15 @@ module Google
848
873
  end
849
874
  end
850
875
 
876
+ class OnPremCluster
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :admin_cluster, as: 'adminCluster'
880
+ property :cluster_missing, as: 'clusterMissing'
881
+ property :resource_link, as: 'resourceLink'
882
+ end
883
+ end
884
+
851
885
  class Operation
852
886
  # @private
853
887
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GkehubV1
23
- # GKE Hub
23
+ # GKE Hub API
24
24
  #
25
25
  #
26
26
  #
@@ -19,17 +19,17 @@ 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
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.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-07-05 00:00:00.000000000 Z
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 V1. Simple REST clients are
34
- Ruby client libraries that provide access to Google services via their HTTP REST
35
- API endpoints. These libraries are generated and updated automatically based on
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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.11.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: []