google-apis-gkehub_v1beta 0.82.0 → 0.84.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: 9d8ae341eb0525419a8007ca2469709bbb626bd23a59c3691dd82255f54d3caf
4
- data.tar.gz: 9e7a66ebe9ffd18366138b1d273dca22c2d72b84f06e772f99f2aa0973cf6725
3
+ metadata.gz: fa2b0b241fd93d47f62cb1e1ecc508dba98d619bab7825f68ac6c10a33baea18
4
+ data.tar.gz: 4751c4b50e7cadbb307e27cf8e9b08ed73a51084a583ca7f98f651ef5b9825fe
5
5
  SHA512:
6
- metadata.gz: f647314868e962c195a1b726549db4acf493d6e76c337734dd2efbb6b9318be585ec25dd0d5e4cd9b3ac223cb870c73217611c9a1823b6c8fabcaa7231338160
7
- data.tar.gz: 1023792f9fe32d6da8e0392efb9bca086de9e6616af62355a34537ae1134a0d35de73147eec4421d65c1376e7f5b0963497c766d6e8ba5a919e6b85c3c4cd22b
6
+ metadata.gz: a2441f85e510eb1a7e9ac11aef98ccf4f7e6eb7c795fc706ba9f9eb8385f5ac9f96f28547aae87d43469530ec996ec5a56c422359ca2bb2276de25a296b65c7c
7
+ data.tar.gz: 55192b00db591586fd7270c91b3c33265f9a15dc33f38a292b0adb2843f4df55013f3bf6b0e89b5713e2fcce2880fa671ca444d51c6db397170ebd4960e3b320
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.84.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250421
6
+
7
+ ### v0.83.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250324
10
+
3
11
  ### v0.82.0 (2025-03-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20250302
@@ -735,6 +735,12 @@ module Google
735
735
  # @return [Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec]
736
736
  attr_accessor :multiclusteringress
737
737
 
738
+ # **RBAC RoleBinding Actuation**: The Hub-wide input for the
739
+ # RBACRoleBindingActuation feature.
740
+ # Corresponds to the JSON property `rbacrolebindingactuation`
741
+ # @return [Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureSpec]
742
+ attr_accessor :rbacrolebindingactuation
743
+
738
744
  def initialize(**args)
739
745
  update!(**args)
740
746
  end
@@ -746,6 +752,7 @@ module Google
746
752
  @dataplanev2 = args[:dataplanev2] if args.key?(:dataplanev2)
747
753
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
748
754
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
755
+ @rbacrolebindingactuation = args[:rbacrolebindingactuation] if args.key?(:rbacrolebindingactuation)
749
756
  end
750
757
  end
751
758
 
@@ -768,6 +775,12 @@ module Google
768
775
  # @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureState]
769
776
  attr_accessor :fleetobservability
770
777
 
778
+ # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide
779
+ # Feature state.
780
+ # Corresponds to the JSON property `rbacrolebindingactuation`
781
+ # @return [Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureState]
782
+ attr_accessor :rbacrolebindingactuation
783
+
771
784
  # FeatureState describes the high-level state of a Feature. It may be used to
772
785
  # describe a Feature's state at the environ-level, or per-membershop, depending
773
786
  # on the context.
@@ -784,6 +797,7 @@ module Google
784
797
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
785
798
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
786
799
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
800
+ @rbacrolebindingactuation = args[:rbacrolebindingactuation] if args.key?(:rbacrolebindingactuation)
787
801
  @state = args[:state] if args.key?(:state)
788
802
  end
789
803
  end
@@ -4028,7 +4042,9 @@ module Google
4028
4042
  # @return [String]
4029
4043
  attr_accessor :external_id
4030
4044
 
4031
- # Optional. Labels for this membership.
4045
+ # Optional. Labels for this membership. These labels are not leveraged by multi-
4046
+ # cluster features, instead, we prefer cluster labels, which can be set on GKE
4047
+ # cluster or other cluster types.
4032
4048
  # Corresponds to the JSON property `labels`
4033
4049
  # @return [Hash<String,String>]
4034
4050
  attr_accessor :labels
@@ -5459,6 +5475,42 @@ module Google
5459
5475
  end
5460
5476
  end
5461
5477
 
5478
+ # **RBAC RoleBinding Actuation**: The Hub-wide input for the
5479
+ # RBACRoleBindingActuation feature.
5480
+ class RbacRoleBindingActuationFeatureSpec
5481
+ include Google::Apis::Core::Hashable
5482
+
5483
+ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part
5484
+ # of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole
5485
+ # in this list is in use, it cannot be removed from the list.
5486
+ # Corresponds to the JSON property `allowedCustomRoles`
5487
+ # @return [Array<String>]
5488
+ attr_accessor :allowed_custom_roles
5489
+
5490
+ def initialize(**args)
5491
+ update!(**args)
5492
+ end
5493
+
5494
+ # Update properties of this object
5495
+ def update!(**args)
5496
+ @allowed_custom_roles = args[:allowed_custom_roles] if args.key?(:allowed_custom_roles)
5497
+ end
5498
+ end
5499
+
5500
+ # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide
5501
+ # Feature state.
5502
+ class RbacRoleBindingActuationFeatureState
5503
+ include Google::Apis::Core::Hashable
5504
+
5505
+ def initialize(**args)
5506
+ update!(**args)
5507
+ end
5508
+
5509
+ # Update properties of this object
5510
+ def update!(**args)
5511
+ end
5512
+ end
5513
+
5462
5514
  # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
5463
5515
  # resource.
5464
5516
  class RbacRoleBindingLifecycleState
@@ -5550,6 +5602,11 @@ module Google
5550
5602
  class Role
5551
5603
  include Google::Apis::Core::Hashable
5552
5604
 
5605
+ # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
5606
+ # Corresponds to the JSON property `customRole`
5607
+ # @return [String]
5608
+ attr_accessor :custom_role
5609
+
5553
5610
  # predefined_role is the Kubernetes default role to use
5554
5611
  # Corresponds to the JSON property `predefinedRole`
5555
5612
  # @return [String]
@@ -5561,6 +5618,7 @@ module Google
5561
5618
 
5562
5619
  # Update properties of this object
5563
5620
  def update!(**args)
5621
+ @custom_role = args[:custom_role] if args.key?(:custom_role)
5564
5622
  @predefined_role = args[:predefined_role] if args.key?(:predefined_role)
5565
5623
  end
5566
5624
  end
@@ -5712,8 +5770,7 @@ module Google
5712
5770
  end
5713
5771
  end
5714
5772
 
5715
- # Condition being reported. TODO b/395151419: Remove this message once the
5716
- # membership-level conditions field uses the common Condition message.
5773
+ # Condition being reported.
5717
5774
  class ServiceMeshCondition
5718
5775
  include Google::Apis::Core::Hashable
5719
5776
 
@@ -5845,8 +5902,7 @@ module Google
5845
5902
  class ServiceMeshMembershipState
5846
5903
  include Google::Apis::Core::Hashable
5847
5904
 
5848
- # Output only. List of conditions reported for this membership. TODO b/395151419:
5849
- # Use the common Condition message.
5905
+ # Output only. List of conditions reported for this membership.
5850
5906
  # Corresponds to the JSON property `conditions`
5851
5907
  # @return [Array<Google::Apis::GkehubV1beta::ServiceMeshCondition>]
5852
5908
  attr_accessor :conditions
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250302"
25
+ REVISION = "20250421"
26
26
  end
27
27
  end
28
28
  end
@@ -892,6 +892,18 @@ module Google
892
892
  include Google::Apis::Core::JsonObjectSupport
893
893
  end
894
894
 
895
+ class RbacRoleBindingActuationFeatureSpec
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class RbacRoleBindingActuationFeatureState
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
895
907
  class RbacRoleBindingLifecycleState
896
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
909
 
@@ -1215,6 +1227,8 @@ module Google
1215
1227
 
1216
1228
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec::Representation
1217
1229
 
1230
+ property :rbacrolebindingactuation, as: 'rbacrolebindingactuation', class: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureSpec, decorator: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureSpec::Representation
1231
+
1218
1232
  end
1219
1233
  end
1220
1234
 
@@ -1227,6 +1241,8 @@ module Google
1227
1241
 
1228
1242
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1beta::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFeatureState::Representation
1229
1243
 
1244
+ property :rbacrolebindingactuation, as: 'rbacrolebindingactuation', class: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureState, decorator: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureState::Representation
1245
+
1230
1246
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
1231
1247
 
1232
1248
  end
@@ -2539,6 +2555,19 @@ module Google
2539
2555
  end
2540
2556
  end
2541
2557
 
2558
+ class RbacRoleBindingActuationFeatureSpec
2559
+ # @private
2560
+ class Representation < Google::Apis::Core::JsonRepresentation
2561
+ collection :allowed_custom_roles, as: 'allowedCustomRoles'
2562
+ end
2563
+ end
2564
+
2565
+ class RbacRoleBindingActuationFeatureState
2566
+ # @private
2567
+ class Representation < Google::Apis::Core::JsonRepresentation
2568
+ end
2569
+ end
2570
+
2542
2571
  class RbacRoleBindingLifecycleState
2543
2572
  # @private
2544
2573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2566,6 +2595,7 @@ module Google
2566
2595
  class Role
2567
2596
  # @private
2568
2597
  class Representation < Google::Apis::Core::JsonRepresentation
2598
+ property :custom_role, as: 'customRole'
2569
2599
  property :predefined_role, as: 'predefinedRole'
2570
2600
  end
2571
2601
  end
@@ -126,6 +126,9 @@ module Google
126
126
  # Lists information about the supported locations for this service.
127
127
  # @param [String] name
128
128
  # The resource that owns the locations collection, if applicable.
129
+ # @param [Array<String>, String] extra_location_types
130
+ # Optional. A list of extra location types that should be used as conditions for
131
+ # controlling the visibility of the locations.
129
132
  # @param [String] filter
130
133
  # A filter to narrow down results to a preferred subset. The filtering language
131
134
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -153,11 +156,12 @@ module Google
153
156
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
157
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
158
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
157
160
  command = make_simple_command(:get, 'v1beta/{+name}/locations', options)
158
161
  command.response_representation = Google::Apis::GkehubV1beta::ListLocationsResponse::Representation
159
162
  command.response_class = Google::Apis::GkehubV1beta::ListLocationsResponse
160
163
  command.params['name'] = name unless name.nil?
164
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
161
165
  command.query['filter'] = filter unless filter.nil?
162
166
  command.query['pageSize'] = page_size unless page_size.nil?
163
167
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: