google-apis-gkehub_v1alpha 0.57.0 → 0.58.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: e2d571db75c05df5a951c2c4f41f2abf273510350aaee2e8585e2bc663cc4205
4
+ data.tar.gz: d28d44f577a5a372cc88fa30f44a5b18c79684c090c7e70aa8d344dec64f21b5
5
5
  SHA512:
6
- metadata.gz: 0f6b8cc1947d5e73c18f0b0c3f878fce714033f69e9f5063b54b66d04799afa4ce8e50ce4ffb82b544bc9951d31215420a001ed10ee6c458723307af2ea820eb
7
- data.tar.gz: 87e92745f5e01df4ac97fce19e3aa7d35d4c08a9688c81093b2f79de33b67097a0e950ceaf9b6d9814ba5a6df1f5b9491dec9063622a6842425aa2223fb3a945
6
+ metadata.gz: c6d6ffe6fbfd0208d27525486822e254fe2727934c9f4a2bb2d737503af0d1cc86bdd9349b7d441bcb5937b296d4169c0a730aa38471755ad2581c2dc7eb4b8f
7
+ data.tar.gz: 9eb972ee998f18851ac7b317d4c43486cb9db3f42fb24de97738e9e4ecd6f8162a35d1098bc5466b24d9d871bcee231a3d62ac749c036cba6d3c7a5ba8709bf6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.58.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230707
6
+
3
7
  ### v0.57.0 (2023-07-02)
4
8
 
5
9
  * 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.
@@ -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)
@@ -2726,6 +2769,11 @@ module Google
2726
2769
  # @return [String]
2727
2770
  attr_accessor :tenant
2728
2771
 
2772
+ # Optional. Claim in the AzureAD ID Token that holds the user details.
2773
+ # Corresponds to the JSON property `userClaim`
2774
+ # @return [String]
2775
+ attr_accessor :user_claim
2776
+
2729
2777
  def initialize(**args)
2730
2778
  update!(**args)
2731
2779
  end
@@ -2737,6 +2785,7 @@ module Google
2737
2785
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2738
2786
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2739
2787
  @tenant = args[:tenant] if args.key?(:tenant)
2788
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
2740
2789
  end
2741
2790
  end
2742
2791
 
@@ -3512,6 +3561,11 @@ module Google
3512
3561
  attr_accessor :fleet
3513
3562
  alias_method :fleet?, :fleet
3514
3563
 
3564
+ # Optional. Labels for this MembershipBinding.
3565
+ # Corresponds to the JSON property `labels`
3566
+ # @return [Hash<String,String>]
3567
+ attr_accessor :labels
3568
+
3515
3569
  # The resource name for the membershipbinding itself `projects/`project`/
3516
3570
  # locations/`location`/memberships/`membership`/bindings/`membershipbinding``
3517
3571
  # Corresponds to the JSON property `name`
@@ -3549,6 +3603,7 @@ module Google
3549
3603
  @create_time = args[:create_time] if args.key?(:create_time)
3550
3604
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3551
3605
  @fleet = args[:fleet] if args.key?(:fleet)
3606
+ @labels = args[:labels] if args.key?(:labels)
3552
3607
  @name = args[:name] if args.key?(:name)
3553
3608
  @scope = args[:scope] if args.key?(:scope)
3554
3609
  @state = args[:state] if args.key?(:state)
@@ -3979,6 +4034,11 @@ module Google
3979
4034
  # @return [String]
3980
4035
  attr_accessor :delete_time
3981
4036
 
4037
+ # Optional. Labels for this Namespace.
4038
+ # Corresponds to the JSON property `labels`
4039
+ # @return [Hash<String,String>]
4040
+ attr_accessor :labels
4041
+
3982
4042
  # The resource name for the namespace `projects/`project`/locations/`location`/
3983
4043
  # namespaces/`namespace``
3984
4044
  # Corresponds to the JSON property `name`
@@ -4015,6 +4075,7 @@ module Google
4015
4075
  def update!(**args)
4016
4076
  @create_time = args[:create_time] if args.key?(:create_time)
4017
4077
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4078
+ @labels = args[:labels] if args.key?(:labels)
4018
4079
  @name = args[:name] if args.key?(:name)
4019
4080
  @scope = args[:scope] if args.key?(:scope)
4020
4081
  @state = args[:state] if args.key?(:state)
@@ -4761,6 +4822,11 @@ module Google
4761
4822
  # @return [String]
4762
4823
  attr_accessor :group
4763
4824
 
4825
+ # Optional. Labels for this RBACRolebinding.
4826
+ # Corresponds to the JSON property `labels`
4827
+ # @return [Hash<String,String>]
4828
+ attr_accessor :labels
4829
+
4764
4830
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4765
4831
  # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4766
4832
  # projects/`project`/locations/`location`/memberships/`membership`/
@@ -4807,6 +4873,7 @@ module Google
4807
4873
  @create_time = args[:create_time] if args.key?(:create_time)
4808
4874
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4809
4875
  @group = args[:group] if args.key?(:group)
4876
+ @labels = args[:labels] if args.key?(:labels)
4810
4877
  @name = args[:name] if args.key?(:name)
4811
4878
  @role = args[:role] if args.key?(:role)
4812
4879
  @state = args[:state] if args.key?(:state)
@@ -4942,6 +5009,11 @@ module Google
4942
5009
  # @return [String]
4943
5010
  attr_accessor :delete_time
4944
5011
 
5012
+ # Optional. Labels for this Scope.
5013
+ # Corresponds to the JSON property `labels`
5014
+ # @return [Hash<String,String>]
5015
+ attr_accessor :labels
5016
+
4945
5017
  # The resource name for the scope `projects/`project`/locations/`location`/
4946
5018
  # scopes/`scope``
4947
5019
  # Corresponds to the JSON property `name`
@@ -4974,6 +5046,7 @@ module Google
4974
5046
  @all_memberships = args[:all_memberships] if args.key?(:all_memberships)
4975
5047
  @create_time = args[:create_time] if args.key?(:create_time)
4976
5048
  @delete_time = args[:delete_time] if args.key?(:delete_time)
5049
+ @labels = args[:labels] if args.key?(:labels)
4977
5050
  @name = args[:name] if args.key?(:name)
4978
5051
  @state = args[:state] if args.key?(:state)
4979
5052
  @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.58.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 = "20230707"
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
 
@@ -1759,6 +1779,7 @@ module Google
1759
1779
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1760
1780
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1761
1781
  property :tenant, as: 'tenant'
1782
+ property :user_claim, as: 'userClaim'
1762
1783
  end
1763
1784
  end
1764
1785
 
@@ -1974,6 +1995,7 @@ module Google
1974
1995
  property :create_time, as: 'createTime'
1975
1996
  property :delete_time, as: 'deleteTime'
1976
1997
  property :fleet, as: 'fleet'
1998
+ hash :labels, as: 'labels'
1977
1999
  property :name, as: 'name'
1978
2000
  property :scope, as: 'scope'
1979
2001
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState, decorator: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState::Representation
@@ -2113,6 +2135,7 @@ module Google
2113
2135
  class Representation < Google::Apis::Core::JsonRepresentation
2114
2136
  property :create_time, as: 'createTime'
2115
2137
  property :delete_time, as: 'deleteTime'
2138
+ hash :labels, as: 'labels'
2116
2139
  property :name, as: 'name'
2117
2140
  property :scope, as: 'scope'
2118
2141
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1alpha::NamespaceLifecycleState::Representation
@@ -2320,6 +2343,7 @@ module Google
2320
2343
  property :create_time, as: 'createTime'
2321
2344
  property :delete_time, as: 'deleteTime'
2322
2345
  property :group, as: 'group'
2346
+ hash :labels, as: 'labels'
2323
2347
  property :name, as: 'name'
2324
2348
  property :role, as: 'role', class: Google::Apis::GkehubV1alpha::Role, decorator: Google::Apis::GkehubV1alpha::Role::Representation
2325
2349
 
@@ -2368,6 +2392,7 @@ module Google
2368
2392
  property :all_memberships, as: 'allMemberships'
2369
2393
  property :create_time, as: 'createTime'
2370
2394
  property :delete_time, as: 'deleteTime'
2395
+ hash :labels, as: 'labels'
2371
2396
  property :name, as: 'name'
2372
2397
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::ScopeLifecycleState, decorator: Google::Apis::GkehubV1alpha::ScopeLifecycleState::Representation
2373
2398
 
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.58.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-07-16 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.58.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: []