google-apis-gkehub_v1alpha2 0.8.0 → 0.9.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: 784953aa9e75a74738ffa1968042a6452e8fa23d0e51765ca24a3be6e1869cf2
4
- data.tar.gz: c23e0391df648f00db2c78c07ff61514d428e4e29db5437da7e11168769a5d79
3
+ metadata.gz: 9cd320c16472bf8d01fea29c50077b90766b9bc07dbba8e06c123566c39071f4
4
+ data.tar.gz: 28c422882aa278d14bdacb5ac3cc302513e3c552b009e071c09d99b64e75b8af
5
5
  SHA512:
6
- metadata.gz: 1ccfc9e09301a39899ca7e59d796811bf9c16248797b5896441d704179a0aaa2fbc76fce9ba1aea554506a5c84343e448cb9292e463336d3b6d1d0e69c69ae8f
7
- data.tar.gz: 5ae015a0d0c0b5c94dae2c973707df3398ba563eb8b87e16539e371e0a6f70c4657f360fa1933e848e45137ae0777698a040f9cc6f98b8d3af5280842c78efac
6
+ metadata.gz: adc279fd502d379fd89da512342dd379929fffaba240f9f8816f99fefd32c33441023b42d2da921b5d4cebff71d62fb18021c86c1862a468680b23cc7e8412b8
7
+ data.tar.gz: 6d28d1fedfbfd61e6d838cdaad0a32b602d3ccb4293f8ed94a110721ced57439980b21be3759513b1568c01b5a1ce4e704ae65fb39d475c5b3804153b9e02ed9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.8.0 (2021-08-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -835,6 +835,16 @@ module Google
835
835
  # @return [Google::Apis::GkehubV1alpha2::KubernetesResource]
836
836
  attr_accessor :kubernetes_resource
837
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
+
838
848
  def initialize(**args)
839
849
  update!(**args)
840
850
  end
@@ -844,6 +854,8 @@ module Google
844
854
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
845
855
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
846
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)
847
859
  end
848
860
  end
849
861
 
@@ -866,6 +878,73 @@ module Google
866
878
  end
867
879
  end
868
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
+
869
948
  # This resource represents a long-running operation that is the result of a
870
949
  # network API call.
871
950
  class Operation
@@ -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.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 = "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
 
@@ -410,6 +422,10 @@ module Google
410
422
 
411
423
  property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1alpha2::KubernetesResource, decorator: Google::Apis::GkehubV1alpha2::KubernetesResource::Representation
412
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
+
413
429
  end
414
430
  end
415
431
 
@@ -420,6 +436,23 @@ module Google
420
436
  end
421
437
  end
422
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
+
423
456
  class Operation
424
457
  # @private
425
458
  class Representation < Google::Apis::Core::JsonRepresentation
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.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-09-06 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_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.8.0
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: []