google-apis-gkehub_v1alpha 0.57.0 → 0.59.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: 0eaf0f17f21e26b2431154d67842b06370f73aef25ba7b90048c2d3f91b3e00f
4
- data.tar.gz: dfe160aac95ffcd93458c7140596451d71498cb1f9efceb91339279b9df7f816
3
+ metadata.gz: 99d1c0726ea8519773f90b1d69e57b23d8cf42eb8bde62fc24bf118d6138692a
4
+ data.tar.gz: 6a6589bd69d04c0177ff9bf40d1041f0eabc21c6df3bcb30503b11ed923b8b20
5
5
  SHA512:
6
- metadata.gz: 0f6b8cc1947d5e73c18f0b0c3f878fce714033f69e9f5063b54b66d04799afa4ce8e50ce4ffb82b544bc9951d31215420a001ed10ee6c458723307af2ea820eb
7
- data.tar.gz: 87e92745f5e01df4ac97fce19e3aa7d35d4c08a9688c81093b2f79de33b67097a0e950ceaf9b6d9814ba5a6df1f5b9491dec9063622a6842425aa2223fb3a945
6
+ metadata.gz: e2fd27a21c3c4050109bea548e0225025bdc09b5a780cbb838a54579164ecb5778ebed8779d744b04bd7be5f679e9df185ee4fa897bb4b9ed8139eaf66c7e3cd
7
+ data.tar.gz: 26dcc629ed2b36afccb03f366b8a638d97c8b4b2cc69762eae4e811bd3af507fd20baff672c6c663c1f95dd1459571812ba05e8ea1a14b7f308b71ff41032bb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.59.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230720
6
+
7
+ ### v0.58.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230707
10
+
3
11
  ### v0.57.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230627
@@ -470,6 +470,11 @@ module Google
470
470
  # @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState>]
471
471
  attr_accessor :state
472
472
 
473
+ # Upgrade state. It will eventually replace `state`.
474
+ # Corresponds to the JSON property `upgradeState`
475
+ # @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState>]
476
+ attr_accessor :upgrade_state
477
+
473
478
  def initialize(**args)
474
479
  update!(**args)
475
480
  end
@@ -478,6 +483,7 @@ module Google
478
483
  def update!(**args)
479
484
  @conditions = args[:conditions] if args.key?(:conditions)
480
485
  @state = args[:state] if args.key?(:state)
486
+ @upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
481
487
  end
482
488
  end
483
489
 
@@ -508,6 +514,37 @@ module Google
508
514
  end
509
515
  end
510
516
 
517
+ # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
518
+ class ClusterUpgradeGkeUpgradeState
519
+ include Google::Apis::Core::Hashable
520
+
521
+ # Number of GKE clusters in each status code.
522
+ # Corresponds to the JSON property `stats`
523
+ # @return [Hash<String,Fixnum>]
524
+ attr_accessor :stats
525
+
526
+ # UpgradeStatus provides status information for each upgrade.
527
+ # Corresponds to the JSON property `status`
528
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus]
529
+ attr_accessor :status
530
+
531
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
532
+ # Corresponds to the JSON property `upgrade`
533
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade]
534
+ attr_accessor :upgrade
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @stats = args[:stats] if args.key?(:stats)
543
+ @status = args[:status] if args.key?(:status)
544
+ @upgrade = args[:upgrade] if args.key?(:upgrade)
545
+ end
546
+ end
547
+
511
548
  # IgnoredMembership represents a membership ignored by the feature. A membership
512
549
  # can be ignored because it was manually upgraded to a newer version than RC
513
550
  # default.
@@ -957,7 +994,7 @@ module Google
957
994
  # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
958
995
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
959
996
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
960
- # namespace `config-management-monitoring` should be binded to the GSA. This
997
+ # namespace `config-management-monitoring` should be bound to the GSA. This
961
998
  # field is required when automatic Feature management is enabled.
962
999
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
963
1000
  # @return [String]
@@ -2271,6 +2308,11 @@ module Google
2271
2308
  # @return [String]
2272
2309
  attr_accessor :display_name
2273
2310
 
2311
+ # Optional. Labels for this Fleet.
2312
+ # Corresponds to the JSON property `labels`
2313
+ # @return [Hash<String,String>]
2314
+ attr_accessor :labels
2315
+
2274
2316
  # Output only. The full, unique resource name of this fleet in the format of `
2275
2317
  # projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
2276
2318
  # project can have at most one fleet resource, named "default".
@@ -2304,6 +2346,7 @@ module Google
2304
2346
  @create_time = args[:create_time] if args.key?(:create_time)
2305
2347
  @delete_time = args[:delete_time] if args.key?(:delete_time)
2306
2348
  @display_name = args[:display_name] if args.key?(:display_name)
2349
+ @labels = args[:labels] if args.key?(:labels)
2307
2350
  @name = args[:name] if args.key?(:name)
2308
2351
  @state = args[:state] if args.key?(:state)
2309
2352
  @uid = args[:uid] if args.key?(:uid)
@@ -3512,6 +3555,11 @@ module Google
3512
3555
  attr_accessor :fleet
3513
3556
  alias_method :fleet?, :fleet
3514
3557
 
3558
+ # Optional. Labels for this MembershipBinding.
3559
+ # Corresponds to the JSON property `labels`
3560
+ # @return [Hash<String,String>]
3561
+ attr_accessor :labels
3562
+
3515
3563
  # The resource name for the membershipbinding itself `projects/`project`/
3516
3564
  # locations/`location`/memberships/`membership`/bindings/`membershipbinding``
3517
3565
  # Corresponds to the JSON property `name`
@@ -3549,6 +3597,7 @@ module Google
3549
3597
  @create_time = args[:create_time] if args.key?(:create_time)
3550
3598
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3551
3599
  @fleet = args[:fleet] if args.key?(:fleet)
3600
+ @labels = args[:labels] if args.key?(:labels)
3552
3601
  @name = args[:name] if args.key?(:name)
3553
3602
  @scope = args[:scope] if args.key?(:scope)
3554
3603
  @state = args[:state] if args.key?(:state)
@@ -3979,6 +4028,11 @@ module Google
3979
4028
  # @return [String]
3980
4029
  attr_accessor :delete_time
3981
4030
 
4031
+ # Optional. Labels for this Namespace.
4032
+ # Corresponds to the JSON property `labels`
4033
+ # @return [Hash<String,String>]
4034
+ attr_accessor :labels
4035
+
3982
4036
  # The resource name for the namespace `projects/`project`/locations/`location`/
3983
4037
  # namespaces/`namespace``
3984
4038
  # Corresponds to the JSON property `name`
@@ -4015,6 +4069,7 @@ module Google
4015
4069
  def update!(**args)
4016
4070
  @create_time = args[:create_time] if args.key?(:create_time)
4017
4071
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4072
+ @labels = args[:labels] if args.key?(:labels)
4018
4073
  @name = args[:name] if args.key?(:name)
4019
4074
  @scope = args[:scope] if args.key?(:scope)
4020
4075
  @state = args[:state] if args.key?(:state)
@@ -4761,6 +4816,11 @@ module Google
4761
4816
  # @return [String]
4762
4817
  attr_accessor :group
4763
4818
 
4819
+ # Optional. Labels for this RBACRolebinding.
4820
+ # Corresponds to the JSON property `labels`
4821
+ # @return [Hash<String,String>]
4822
+ attr_accessor :labels
4823
+
4764
4824
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4765
4825
  # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4766
4826
  # projects/`project`/locations/`location`/memberships/`membership`/
@@ -4807,6 +4867,7 @@ module Google
4807
4867
  @create_time = args[:create_time] if args.key?(:create_time)
4808
4868
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4809
4869
  @group = args[:group] if args.key?(:group)
4870
+ @labels = args[:labels] if args.key?(:labels)
4810
4871
  @name = args[:name] if args.key?(:name)
4811
4872
  @role = args[:role] if args.key?(:role)
4812
4873
  @state = args[:state] if args.key?(:state)
@@ -4942,6 +5003,11 @@ module Google
4942
5003
  # @return [String]
4943
5004
  attr_accessor :delete_time
4944
5005
 
5006
+ # Optional. Labels for this Scope.
5007
+ # Corresponds to the JSON property `labels`
5008
+ # @return [Hash<String,String>]
5009
+ attr_accessor :labels
5010
+
4945
5011
  # The resource name for the scope `projects/`project`/locations/`location`/
4946
5012
  # scopes/`scope``
4947
5013
  # Corresponds to the JSON property `name`
@@ -4974,6 +5040,7 @@ module Google
4974
5040
  @all_memberships = args[:all_memberships] if args.key?(:all_memberships)
4975
5041
  @create_time = args[:create_time] if args.key?(:create_time)
4976
5042
  @delete_time = args[:delete_time] if args.key?(:delete_time)
5043
+ @labels = args[:labels] if args.key?(:labels)
4977
5044
  @name = args[:name] if args.key?(:name)
4978
5045
  @state = args[:state] if args.key?(:state)
4979
5046
  @uid = args[:uid] if args.key?(:uid)
@@ -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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20230627"
25
+ REVISION = "20230720"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ClusterUpgradeGkeUpgradeState
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ClusterUpgradeIgnoredMembership
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -1085,6 +1091,8 @@ module Google
1085
1091
 
1086
1092
  collection :state, as: 'state', class: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState::Representation
1087
1093
 
1094
+ collection :upgrade_state, as: 'upgradeState', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState::Representation
1095
+
1088
1096
  end
1089
1097
  end
1090
1098
 
@@ -1098,6 +1106,17 @@ module Google
1098
1106
  end
1099
1107
  end
1100
1108
 
1109
+ class ClusterUpgradeGkeUpgradeState
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ hash :stats, as: 'stats'
1113
+ property :status, as: 'status', class: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus::Representation
1114
+
1115
+ property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade::Representation
1116
+
1117
+ end
1118
+ end
1119
+
1101
1120
  class ClusterUpgradeIgnoredMembership
1102
1121
  # @private
1103
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1608,6 +1627,7 @@ module Google
1608
1627
  property :create_time, as: 'createTime'
1609
1628
  property :delete_time, as: 'deleteTime'
1610
1629
  property :display_name, as: 'displayName'
1630
+ hash :labels, as: 'labels'
1611
1631
  property :name, as: 'name'
1612
1632
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1613
1633
 
@@ -1974,6 +1994,7 @@ module Google
1974
1994
  property :create_time, as: 'createTime'
1975
1995
  property :delete_time, as: 'deleteTime'
1976
1996
  property :fleet, as: 'fleet'
1997
+ hash :labels, as: 'labels'
1977
1998
  property :name, as: 'name'
1978
1999
  property :scope, as: 'scope'
1979
2000
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState, decorator: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState::Representation
@@ -2113,6 +2134,7 @@ module Google
2113
2134
  class Representation < Google::Apis::Core::JsonRepresentation
2114
2135
  property :create_time, as: 'createTime'
2115
2136
  property :delete_time, as: 'deleteTime'
2137
+ hash :labels, as: 'labels'
2116
2138
  property :name, as: 'name'
2117
2139
  property :scope, as: 'scope'
2118
2140
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1alpha::NamespaceLifecycleState::Representation
@@ -2320,6 +2342,7 @@ module Google
2320
2342
  property :create_time, as: 'createTime'
2321
2343
  property :delete_time, as: 'deleteTime'
2322
2344
  property :group, as: 'group'
2345
+ hash :labels, as: 'labels'
2323
2346
  property :name, as: 'name'
2324
2347
  property :role, as: 'role', class: Google::Apis::GkehubV1alpha::Role, decorator: Google::Apis::GkehubV1alpha::Role::Representation
2325
2348
 
@@ -2368,6 +2391,7 @@ module Google
2368
2391
  property :all_memberships, as: 'allMemberships'
2369
2392
  property :create_time, as: 'createTime'
2370
2393
  property :delete_time, as: 'deleteTime'
2394
+ hash :labels, as: 'labels'
2371
2395
  property :name, as: 'name'
2372
2396
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::ScopeLifecycleState, decorator: Google::Apis::GkehubV1alpha::ScopeLifecycleState::Representation
2373
2397
 
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.57.0
4
+ version: 0.59.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-08-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/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.59.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: []