google-apis-gkehub_v1alpha 0.60.0 → 0.61.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: b8d5ab9e0222fa48fb602d77a391ce3c331711dcdb142aa27aaca6d55e5a0f87
4
- data.tar.gz: 98ea3d879c99f22f567983da14f40b22278ca5b7202f65b0c7891a6858c4c1fe
3
+ metadata.gz: 4e8e7d87193cf31e594f03aefdde442a1fcfbd71a7689139b209f1e8184f5781
4
+ data.tar.gz: 2f0f89951a9c2d3c14c6fffd77a2ab1210742e1c4d277ab39f7fa8f593a42c21
5
5
  SHA512:
6
- metadata.gz: 989f98309a7591167f67c6914b1d99ef174bf6cdf1e32fbcb3980997fa5dc31139cbdc8bfbc55db8b51a12bd479651e23ecb4fc44153f2db273950361c42aa39
7
- data.tar.gz: ebde720c1f4488b79df465e0fb28212882db54a0fa9ee472f0619f3ff02ee6a6a454afc6dadb1f2283b1235898b55e6d65b52b6a1eb4b67de1e91575814e6f4b
6
+ metadata.gz: c62a6dc87e994435efe690f170e34655d07208427fd77cb13527d124cc3538b0714d7ea161c69b01c6081cb91b8d0b5b9b206df1c6cdfd2beda9c9c7069c25d0
7
+ data.tar.gz: d4fda29c48b2d7ef316d53869a857179937099f413b9e2a67462518a3a7c2af99dc74b023aec2a76476fcdb161ea83feea8c8575b079967846df58091385b3aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.61.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230814
6
+
3
7
  ### v0.60.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -391,6 +391,77 @@ module Google
391
391
  end
392
392
  end
393
393
 
394
+ # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
395
+ # feature.
396
+ class ClusterUpgradeFleetSpec
397
+ include Google::Apis::Core::Hashable
398
+
399
+ # Allow users to override some properties of each GKE upgrade.
400
+ # Corresponds to the JSON property `gkeUpgradeOverrides`
401
+ # @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride>]
402
+ attr_accessor :gke_upgrade_overrides
403
+
404
+ # Post conditional checks after an upgrade has been applied on all eligible
405
+ # clusters.
406
+ # Corresponds to the JSON property `postConditions`
407
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions]
408
+ attr_accessor :post_conditions
409
+
410
+ # This fleet consumes upgrades that have COMPLETE status code in the upstream
411
+ # fleets. See UpgradeStatus.Code for code definitions. The fleet name should be
412
+ # either fleet project number or id. This is defined as repeated for future
413
+ # proof reasons. Initial implementation will enforce at most one upstream fleet.
414
+ # Corresponds to the JSON property `upstreamFleets`
415
+ # @return [Array<String>]
416
+ attr_accessor :upstream_fleets
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @gke_upgrade_overrides = args[:gke_upgrade_overrides] if args.key?(:gke_upgrade_overrides)
425
+ @post_conditions = args[:post_conditions] if args.key?(:post_conditions)
426
+ @upstream_fleets = args[:upstream_fleets] if args.key?(:upstream_fleets)
427
+ end
428
+ end
429
+
430
+ # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
431
+ class ClusterUpgradeFleetState
432
+ include Google::Apis::Core::Hashable
433
+
434
+ # This fleets whose upstream_fleets contain the current fleet. The fleet name
435
+ # should be either fleet project number or id.
436
+ # Corresponds to the JSON property `downstreamFleets`
437
+ # @return [Array<String>]
438
+ attr_accessor :downstream_fleets
439
+
440
+ # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
441
+ # Corresponds to the JSON property `gkeState`
442
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState]
443
+ attr_accessor :gke_state
444
+
445
+ # A list of memberships ignored by the feature. For example, manually upgraded
446
+ # clusters can be ignored if they are newer than the default versions of its
447
+ # release channel. The membership resource is in the format: `projects/`p`/
448
+ # locations/`l`/membership/`m``.
449
+ # Corresponds to the JSON property `ignored`
450
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership>]
451
+ attr_accessor :ignored
452
+
453
+ def initialize(**args)
454
+ update!(**args)
455
+ end
456
+
457
+ # Update properties of this object
458
+ def update!(**args)
459
+ @downstream_fleets = args[:downstream_fleets] if args.key?(:downstream_fleets)
460
+ @gke_state = args[:gke_state] if args.key?(:gke_state)
461
+ @ignored = args[:ignored] if args.key?(:ignored)
462
+ end
463
+ end
464
+
394
465
  # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
395
466
  class ClusterUpgradeGkeUpgrade
396
467
  include Google::Apis::Core::Hashable
@@ -595,6 +666,12 @@ module Google
595
666
  class ClusterUpgradeMembershipState
596
667
  include Google::Apis::Core::Hashable
597
668
 
669
+ # Project number or id of the fleet. It is set only for Memberships that are
670
+ # part of fleet-based Rollout Sequencing.
671
+ # Corresponds to the JSON property `fleet`
672
+ # @return [String]
673
+ attr_accessor :fleet
674
+
598
675
  # IgnoredMembership represents a membership ignored by the feature. A membership
599
676
  # can be ignored because it was manually upgraded to a newer version than RC
600
677
  # default.
@@ -619,6 +696,7 @@ module Google
619
696
 
620
697
  # Update properties of this object
621
698
  def update!(**args)
699
+ @fleet = args[:fleet] if args.key?(:fleet)
622
700
  @ignored = args[:ignored] if args.key?(:ignored)
623
701
  @scopes = args[:scopes] if args.key?(:scopes)
624
702
  @upgrades = args[:upgrades] if args.key?(:upgrades)
@@ -771,6 +849,12 @@ module Google
771
849
  # @return [Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec]
772
850
  attr_accessor :cloudauditlogging
773
851
 
852
+ # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
853
+ # feature.
854
+ # Corresponds to the JSON property `clusterupgrade`
855
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec]
856
+ attr_accessor :clusterupgrade
857
+
774
858
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
775
859
  # Corresponds to the JSON property `fleetobservability`
776
860
  # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec]
@@ -797,6 +881,7 @@ module Google
797
881
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
798
882
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
799
883
  @cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
884
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
800
885
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
801
886
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
802
887
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
@@ -812,6 +897,11 @@ module Google
812
897
  # @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
813
898
  attr_accessor :appdevexperience
814
899
 
900
+ # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
901
+ # Corresponds to the JSON property `clusterupgrade`
902
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState]
903
+ attr_accessor :clusterupgrade
904
+
815
905
  # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
816
906
  # Corresponds to the JSON property `fleetobservability`
817
907
  # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState]
@@ -837,6 +927,7 @@ module Google
837
927
  # Update properties of this object
838
928
  def update!(**args)
839
929
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
930
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
840
931
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
841
932
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
842
933
  @state = args[:state] if args.key?(:state)
@@ -3570,13 +3661,6 @@ module Google
3570
3661
  # @return [String]
3571
3662
  attr_accessor :delete_time
3572
3663
 
3573
- # Whether the membershipbinding is Fleet-wide; true means that this Membership
3574
- # should be bound to all Namespaces in this entire Fleet.
3575
- # Corresponds to the JSON property `fleet`
3576
- # @return [Boolean]
3577
- attr_accessor :fleet
3578
- alias_method :fleet?, :fleet
3579
-
3580
3664
  # Optional. Labels for this MembershipBinding.
3581
3665
  # Corresponds to the JSON property `labels`
3582
3666
  # @return [Hash<String,String>]
@@ -3618,7 +3702,6 @@ module Google
3618
3702
  def update!(**args)
3619
3703
  @create_time = args[:create_time] if args.key?(:create_time)
3620
3704
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3621
- @fleet = args[:fleet] if args.key?(:fleet)
3622
3705
  @labels = args[:labels] if args.key?(:labels)
3623
3706
  @name = args[:name] if args.key?(:name)
3624
3707
  @scope = args[:scope] if args.key?(:scope)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.60.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230804"
25
+ REVISION = "20230814"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,18 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ClusterUpgradeFleetSpec
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ClusterUpgradeFleetState
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class ClusterUpgradeGkeUpgrade
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -1072,6 +1084,28 @@ module Google
1072
1084
  end
1073
1085
  end
1074
1086
 
1087
+ class ClusterUpgradeFleetSpec
1088
+ # @private
1089
+ class Representation < Google::Apis::Core::JsonRepresentation
1090
+ collection :gke_upgrade_overrides, as: 'gkeUpgradeOverrides', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride::Representation
1091
+
1092
+ property :post_conditions, as: 'postConditions', class: Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions::Representation
1093
+
1094
+ collection :upstream_fleets, as: 'upstreamFleets'
1095
+ end
1096
+ end
1097
+
1098
+ class ClusterUpgradeFleetState
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ collection :downstream_fleets, as: 'downstreamFleets'
1102
+ property :gke_state, as: 'gkeState', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState::Representation
1103
+
1104
+ hash :ignored, as: 'ignored', class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership::Representation
1105
+
1106
+ end
1107
+ end
1108
+
1075
1109
  class ClusterUpgradeGkeUpgrade
1076
1110
  # @private
1077
1111
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1142,6 +1176,7 @@ module Google
1142
1176
  class ClusterUpgradeMembershipState
1143
1177
  # @private
1144
1178
  class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :fleet, as: 'fleet'
1145
1180
  property :ignored, as: 'ignored', class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership::Representation
1146
1181
 
1147
1182
  collection :scopes, as: 'scopes'
@@ -1197,6 +1232,8 @@ module Google
1197
1232
 
1198
1233
  property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
1199
1234
 
1235
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec::Representation
1236
+
1200
1237
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec::Representation
1201
1238
 
1202
1239
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
@@ -1211,6 +1248,8 @@ module Google
1211
1248
  class Representation < Google::Apis::Core::JsonRepresentation
1212
1249
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState::Representation
1213
1250
 
1251
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState::Representation
1252
+
1214
1253
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState::Representation
1215
1254
 
1216
1255
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState::Representation
@@ -2005,7 +2044,6 @@ module Google
2005
2044
  class Representation < Google::Apis::Core::JsonRepresentation
2006
2045
  property :create_time, as: 'createTime'
2007
2046
  property :delete_time, as: 'deleteTime'
2008
- property :fleet, as: 'fleet'
2009
2047
  hash :labels, as: 'labels'
2010
2048
  property :name, as: 'name'
2011
2049
  property :scope, as: 'scope'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.61.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: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-27 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/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.61.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha