google-apis-gkehub_v1beta1 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a655ba5e3ba0f35e629c3aa4fe105bc3efbdc16e45cf989106ad01fbda5eb9a4
4
- data.tar.gz: c4e40fce21146871164e7d46763069fc2cb2478d7335930c3ac203e9937fc36f
3
+ metadata.gz: 709bf683834d9dc181a380ec1da4724aa076a511f1b071a08f36d893e6e5d3e5
4
+ data.tar.gz: 836cd4114657e68062ee697d8f23a44ac1f06b5401434f43666b27fe2c5b9642
5
5
  SHA512:
6
- metadata.gz: bfcc6170387870b30328e4ee6a6cefc60939cc6028637b6f8d70b5f34be016715f6036a2c22990d6008994b1685f3d7dfeab8488afe47d560723f9eed985c6f7
7
- data.tar.gz: 50f0fee536cc7d36e2d47ad6d47aff1bd15d0905cb810a80979e59dd913ef6bc5bdbabc0aee1d72a07f0e8040dcb4311e34ffedf8a1b22a6068246663a16246a
6
+ metadata.gz: 9eeb18bc09db5e3a68c59085a4cae14b8d42ccfbcb1c9c0f7259a26c617234f2783af33727b47470233228c16e8e0dab49670c6bc82d4dddb2cfc3974eaab4d4
7
+ data.tar.gz: 4391a3e3ea63a3733230c6d822a26925552125a686aeff8df9f58a8df528c9f4b6fe6fe7184e832421d90c343abc2dce12920ad991fadead1cbe6ec594de929c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.8.0 (2021-08-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -820,6 +820,16 @@ module Google
820
820
  # @return [Google::Apis::GkehubV1beta1::KubernetesResource]
821
821
  attr_accessor :kubernetes_resource
822
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
+
823
833
  def initialize(**args)
824
834
  update!(**args)
825
835
  end
@@ -829,6 +839,8 @@ module Google
829
839
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
830
840
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
831
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)
832
844
  end
833
845
  end
834
846
 
@@ -863,6 +875,73 @@ module Google
863
875
  end
864
876
  end
865
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
+
866
945
  # This resource represents a long-running operation that is the result of a
867
946
  # network API call.
868
947
  class Operation
@@ -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.8.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 = "20210813"
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
 
@@ -404,6 +416,10 @@ module Google
404
416
 
405
417
  property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1beta1::KubernetesResource, decorator: Google::Apis::GkehubV1beta1::KubernetesResource::Representation
406
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
+
407
423
  end
408
424
  end
409
425
 
@@ -416,6 +432,23 @@ module Google
416
432
  end
417
433
  end
418
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
+
419
452
  class Operation
420
453
  # @private
421
454
  class Representation < Google::Apis::Core::JsonRepresentation
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.8.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-08-23 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
@@ -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.8.0
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: []