google-apis-gkehub_v1alpha 0.67.0 → 0.69.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: 0a33f9b624e8e31532a66a5ae5e3b11fe86e05953be3e6efcfb2de435ff2a775
4
- data.tar.gz: 9685bc2ab5b8034629aeea4ef00f955f1170cfdad647a4e56be80a040627c7b9
3
+ metadata.gz: 0f8844b6b79021297db1fdef2ab5c856395f07900f13aed417fc67971e71f3c8
4
+ data.tar.gz: c4c253bd9aceeb5380dfa7f9c068b2f7de15d5f5e138e34acc0b4777db53c34f
5
5
  SHA512:
6
- metadata.gz: 8f936623091ce7209466244b471598122f5d1a08b7817d906574af19f189491c4a11cc8b3969d65b6ecc13016ab915dbaaabb6897573c24150c738647953ac72
7
- data.tar.gz: 37168f207b442237a7264ca1508af7442c5c4591e9a34a4daae2dcee9627c8cc0bef532cc1636b5545bf0cdeb82e496a6af6e006e60c3c6e90bdcdf016a96151
6
+ metadata.gz: c4e4c955f9b8acc1c4f5331354924e1813c9300164bc14fa77bd730e6fbfad1d98c6e7ef51f4174882e6778334168a8b88ca9c5ea48f7bbd2973a94bd3ef2623
7
+ data.tar.gz: 8daed80718766a87bc6b5d24a42a89a5dc9183730ff6de0d5a1d6c1db077bdde05d8acaf50785f302014e99afd738dac040786230108fb25df48b40b4c4bbb73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.69.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231114
6
+
7
+ ### v0.68.0 (2023-11-12)
8
+
9
+ * Regenerated from discovery document revision 20231103
10
+
3
11
  ### v0.67.0 (2023-11-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20231030
@@ -254,6 +254,32 @@ module Google
254
254
  end
255
255
  end
256
256
 
257
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
258
+ # authorization feature.
259
+ class BinaryAuthorizationConfig
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # Optional. Mode of operation for binauthz policy evaluation.
263
+ # Corresponds to the JSON property `evaluationMode`
264
+ # @return [String]
265
+ attr_accessor :evaluation_mode
266
+
267
+ # Optional. Binauthz policies that apply to this cluster.
268
+ # Corresponds to the JSON property `policyBindings`
269
+ # @return [Array<Google::Apis::GkehubV1alpha::PolicyBinding>]
270
+ attr_accessor :policy_bindings
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
279
+ @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
280
+ end
281
+ end
282
+
257
283
  # Associates `members`, or principals, with a `role`.
258
284
  class Binding
259
285
  include Google::Apis::Core::Hashable
@@ -866,6 +892,12 @@ module Google
866
892
  # @return [Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec]
867
893
  attr_accessor :multiclusteringress
868
894
 
895
+ # An empty spec for actuation feature. This is required since Feature proto
896
+ # requires a spec.
897
+ # Corresponds to the JSON property `namespaceactuation`
898
+ # @return [Google::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec]
899
+ attr_accessor :namespaceactuation
900
+
869
901
  # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate
870
902
  # feature.
871
903
  # Corresponds to the JSON property `workloadcertificate`
@@ -884,6 +916,7 @@ module Google
884
916
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
885
917
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
886
918
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
919
+ @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation)
887
920
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
888
921
  end
889
922
  end
@@ -907,6 +940,11 @@ module Google
907
940
  # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState]
908
941
  attr_accessor :fleetobservability
909
942
 
943
+ # NamespaceActuation Feature State.
944
+ # Corresponds to the JSON property `namespaceactuation`
945
+ # @return [Google::Apis::GkehubV1alpha::NamespaceActuationFeatureState]
946
+ attr_accessor :namespaceactuation
947
+
910
948
  # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
911
949
  # Controller.
912
950
  # Corresponds to the JSON property `servicemesh`
@@ -929,6 +967,7 @@ module Google
929
967
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
930
968
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
931
969
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
970
+ @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation)
932
971
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
933
972
  @state = args[:state] if args.key?(:state)
934
973
  end
@@ -1093,14 +1132,6 @@ module Google
1093
1132
  # @return [String]
1094
1133
  attr_accessor :source_format
1095
1134
 
1096
- # Set to true to stop syncing configs for a single cluster when automatic
1097
- # Feature management is enabled. Default to false. The field will be ignored
1098
- # when automatic Feature management is disabled.
1099
- # Corresponds to the JSON property `stopSyncing`
1100
- # @return [Boolean]
1101
- attr_accessor :stop_syncing
1102
- alias_method :stop_syncing?, :stop_syncing
1103
-
1104
1135
  def initialize(**args)
1105
1136
  update!(**args)
1106
1137
  end
@@ -1114,7 +1145,6 @@ module Google
1114
1145
  @oci = args[:oci] if args.key?(:oci)
1115
1146
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
1116
1147
  @source_format = args[:source_format] if args.key?(:source_format)
1117
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1118
1148
  end
1119
1149
  end
1120
1150
 
@@ -1606,11 +1636,6 @@ module Google
1606
1636
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
1607
1637
  attr_accessor :hierarchy_controller
1608
1638
 
1609
- # Enables automatic Feature management.
1610
- # Corresponds to the JSON property `management`
1611
- # @return [String]
1612
- attr_accessor :management
1613
-
1614
1639
  # Configuration for Policy Controller
1615
1640
  # Corresponds to the JSON property `policyController`
1616
1641
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
@@ -1631,7 +1656,6 @@ module Google
1631
1656
  @cluster = args[:cluster] if args.key?(:cluster)
1632
1657
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1633
1658
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1634
- @management = args[:management] if args.key?(:management)
1635
1659
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1636
1660
  @version = args[:version] if args.key?(:version)
1637
1661
  end
@@ -2065,6 +2089,34 @@ module Google
2065
2089
  end
2066
2090
  end
2067
2091
 
2092
+ # DefaultClusterConfig describes the default cluster configurations to be
2093
+ # applied to all clusters born-in-fleet.
2094
+ class DefaultClusterConfig
2095
+ include Google::Apis::Core::Hashable
2096
+
2097
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
2098
+ # authorization feature.
2099
+ # Corresponds to the JSON property `binaryAuthorizationConfig`
2100
+ # @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
2101
+ attr_accessor :binary_authorization_config
2102
+
2103
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
2104
+ # the Security Posture API.
2105
+ # Corresponds to the JSON property `securityPostureConfig`
2106
+ # @return [Google::Apis::GkehubV1alpha::SecurityPostureConfig]
2107
+ attr_accessor :security_posture_config
2108
+
2109
+ def initialize(**args)
2110
+ update!(**args)
2111
+ end
2112
+
2113
+ # Update properties of this object
2114
+ def update!(**args)
2115
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
2116
+ @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
2117
+ end
2118
+ end
2119
+
2068
2120
  # EdgeCluster contains information specific to Google Edge Clusters.
2069
2121
  class EdgeCluster
2070
2122
  include Google::Apis::Core::Hashable
@@ -2369,6 +2421,12 @@ module Google
2369
2421
  # @return [String]
2370
2422
  attr_accessor :create_time
2371
2423
 
2424
+ # DefaultClusterConfig describes the default cluster configurations to be
2425
+ # applied to all clusters born-in-fleet.
2426
+ # Corresponds to the JSON property `defaultClusterConfig`
2427
+ # @return [Google::Apis::GkehubV1alpha::DefaultClusterConfig]
2428
+ attr_accessor :default_cluster_config
2429
+
2372
2430
  # Output only. When the Fleet was deleted.
2373
2431
  # Corresponds to the JSON property `deleteTime`
2374
2432
  # @return [String]
@@ -2418,6 +2476,7 @@ module Google
2418
2476
  # Update properties of this object
2419
2477
  def update!(**args)
2420
2478
  @create_time = args[:create_time] if args.key?(:create_time)
2479
+ @default_cluster_config = args[:default_cluster_config] if args.key?(:default_cluster_config)
2421
2480
  @delete_time = args[:delete_time] if args.key?(:delete_time)
2422
2481
  @display_name = args[:display_name] if args.key?(:display_name)
2423
2482
  @labels = args[:labels] if args.key?(:labels)
@@ -3346,32 +3405,6 @@ module Google
3346
3405
  end
3347
3406
  end
3348
3407
 
3349
- # List of fleet namespaces.
3350
- class ListNamespacesResponse
3351
- include Google::Apis::Core::Hashable
3352
-
3353
- # The list of fleet namespaces
3354
- # Corresponds to the JSON property `namespaces`
3355
- # @return [Array<Google::Apis::GkehubV1alpha::Namespace>]
3356
- attr_accessor :namespaces
3357
-
3358
- # A token to request the next page of resources from the `ListNamespaces` method.
3359
- # The value of an empty string means that there are no more resources to return.
3360
- # Corresponds to the JSON property `nextPageToken`
3361
- # @return [String]
3362
- attr_accessor :next_page_token
3363
-
3364
- def initialize(**args)
3365
- update!(**args)
3366
- end
3367
-
3368
- # Update properties of this object
3369
- def update!(**args)
3370
- @namespaces = args[:namespaces] if args.key?(:namespaces)
3371
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3372
- end
3373
- end
3374
-
3375
3408
  # The response message for Operations.ListOperations.
3376
3409
  class ListOperationsResponse
3377
3410
  include Google::Apis::Core::Hashable
@@ -3397,33 +3430,6 @@ module Google
3397
3430
  end
3398
3431
  end
3399
3432
 
3400
- # List of RBACRoleBindings.
3401
- class ListRbacRoleBindingsResponse
3402
- include Google::Apis::Core::Hashable
3403
-
3404
- # A token to request the next page of resources from the `ListRBACRoleBindings`
3405
- # method. The value of an empty string means that there are no more resources to
3406
- # return.
3407
- # Corresponds to the JSON property `nextPageToken`
3408
- # @return [String]
3409
- attr_accessor :next_page_token
3410
-
3411
- # The list of RBACRoleBindings
3412
- # Corresponds to the JSON property `rbacrolebindings`
3413
- # @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
3414
- attr_accessor :rbacrolebindings
3415
-
3416
- def initialize(**args)
3417
- update!(**args)
3418
- end
3419
-
3420
- # Update properties of this object
3421
- def update!(**args)
3422
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3423
- @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
3424
- end
3425
- end
3426
-
3427
3433
  # List of fleet namespaces.
3428
3434
  class ListScopeNamespacesResponse
3429
3435
  include Google::Apis::Core::Hashable
@@ -3850,6 +3856,12 @@ module Google
3850
3856
  # @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
3851
3857
  attr_accessor :mesh
3852
3858
 
3859
+ # **Namespace Actuation**: The membership-specific input for NamespaceActuation
3860
+ # feature.
3861
+ # Corresponds to the JSON property `namespaceactuation`
3862
+ # @return [Google::Apis::GkehubV1alpha::NamespaceActuationMembershipSpec]
3863
+ attr_accessor :namespaceactuation
3864
+
3853
3865
  # Origin defines where this MembershipFeatureSpec originated from.
3854
3866
  # Corresponds to the JSON property `origin`
3855
3867
  # @return [Google::Apis::GkehubV1alpha::Origin]
@@ -3879,6 +3891,7 @@ module Google
3879
3891
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3880
3892
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3881
3893
  @mesh = args[:mesh] if args.key?(:mesh)
3894
+ @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation)
3882
3895
  @origin = args[:origin] if args.key?(:origin)
3883
3896
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3884
3897
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
@@ -3921,6 +3934,12 @@ module Google
3921
3934
  # @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
3922
3935
  attr_accessor :metering
3923
3936
 
3937
+ # **Namespace Actuation**: An empty state left as an example membership-specific
3938
+ # Feature state.
3939
+ # Corresponds to the JSON property `namespaceactuation`
3940
+ # @return [Google::Apis::GkehubV1alpha::NamespaceActuationMembershipState]
3941
+ attr_accessor :namespaceactuation
3942
+
3924
3943
  # **Policy Controller**: State for a single cluster.
3925
3944
  # Corresponds to the JSON property `policycontroller`
3926
3945
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipState]
@@ -3951,6 +3970,7 @@ module Google
3951
3970
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3952
3971
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3953
3972
  @metering = args[:metering] if args.key?(:metering)
3973
+ @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation)
3954
3974
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3955
3975
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
3956
3976
  @state = args[:state] if args.key?(:state)
@@ -4209,6 +4229,67 @@ module Google
4209
4229
  end
4210
4230
  end
4211
4231
 
4232
+ # An empty spec for actuation feature. This is required since Feature proto
4233
+ # requires a spec.
4234
+ class NamespaceActuationFeatureSpec
4235
+ include Google::Apis::Core::Hashable
4236
+
4237
+ # actuation_mode controls the behavior of the controller
4238
+ # Corresponds to the JSON property `actuationMode`
4239
+ # @return [String]
4240
+ attr_accessor :actuation_mode
4241
+
4242
+ def initialize(**args)
4243
+ update!(**args)
4244
+ end
4245
+
4246
+ # Update properties of this object
4247
+ def update!(**args)
4248
+ @actuation_mode = args[:actuation_mode] if args.key?(:actuation_mode)
4249
+ end
4250
+ end
4251
+
4252
+ # NamespaceActuation Feature State.
4253
+ class NamespaceActuationFeatureState
4254
+ include Google::Apis::Core::Hashable
4255
+
4256
+ def initialize(**args)
4257
+ update!(**args)
4258
+ end
4259
+
4260
+ # Update properties of this object
4261
+ def update!(**args)
4262
+ end
4263
+ end
4264
+
4265
+ # **Namespace Actuation**: The membership-specific input for NamespaceActuation
4266
+ # feature.
4267
+ class NamespaceActuationMembershipSpec
4268
+ include Google::Apis::Core::Hashable
4269
+
4270
+ def initialize(**args)
4271
+ update!(**args)
4272
+ end
4273
+
4274
+ # Update properties of this object
4275
+ def update!(**args)
4276
+ end
4277
+ end
4278
+
4279
+ # **Namespace Actuation**: An empty state left as an example membership-specific
4280
+ # Feature state.
4281
+ class NamespaceActuationMembershipState
4282
+ include Google::Apis::Core::Hashable
4283
+
4284
+ def initialize(**args)
4285
+ update!(**args)
4286
+ end
4287
+
4288
+ # Update properties of this object
4289
+ def update!(**args)
4290
+ end
4291
+ end
4292
+
4212
4293
  # NamespaceLifecycleState describes the state of a Namespace resource.
4213
4294
  class NamespaceLifecycleState
4214
4295
  include Google::Apis::Core::Hashable
@@ -4506,6 +4587,27 @@ module Google
4506
4587
  end
4507
4588
  end
4508
4589
 
4590
+ # Binauthz policy that applies to this cluster.
4591
+ class PolicyBinding
4592
+ include Google::Apis::Core::Hashable
4593
+
4594
+ # The relative resource name of the binauthz platform policy to audit. GKE
4595
+ # platform policies have the following format: `projects/`project_number`/
4596
+ # platforms/gke/policies/`policy_id``.
4597
+ # Corresponds to the JSON property `name`
4598
+ # @return [String]
4599
+ attr_accessor :name
4600
+
4601
+ def initialize(**args)
4602
+ update!(**args)
4603
+ end
4604
+
4605
+ # Update properties of this object
4606
+ def update!(**args)
4607
+ @name = args[:name] if args.key?(:name)
4608
+ end
4609
+ end
4610
+
4509
4611
  # BundleInstallSpec is the specification configuration for a single managed
4510
4612
  # bundle.
4511
4613
  class PolicyControllerBundleInstallSpec
@@ -4953,9 +5055,9 @@ module Google
4953
5055
  attr_accessor :labels
4954
5056
 
4955
5057
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4956
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4957
- # projects/`project`/locations/`location`/memberships/`membership`/
4958
- # rbacrolebindings/`rbacrolebinding``
5058
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
5059
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
5060
+ # rbacrolebinding``
4959
5061
  # Corresponds to the JSON property `name`
4960
5062
  # @return [String]
4961
5063
  attr_accessor :name
@@ -5248,6 +5350,32 @@ module Google
5248
5350
  end
5249
5351
  end
5250
5352
 
5353
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
5354
+ # the Security Posture API.
5355
+ class SecurityPostureConfig
5356
+ include Google::Apis::Core::Hashable
5357
+
5358
+ # Sets which mode to use for Security Posture features.
5359
+ # Corresponds to the JSON property `mode`
5360
+ # @return [String]
5361
+ attr_accessor :mode
5362
+
5363
+ # Sets which mode to use for vulnerability scanning.
5364
+ # Corresponds to the JSON property `vulnerabilityMode`
5365
+ # @return [String]
5366
+ attr_accessor :vulnerability_mode
5367
+
5368
+ def initialize(**args)
5369
+ update!(**args)
5370
+ end
5371
+
5372
+ # Update properties of this object
5373
+ def update!(**args)
5374
+ @mode = args[:mode] if args.key?(:mode)
5375
+ @vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
5376
+ end
5377
+ end
5378
+
5251
5379
  # AnalysisMessage is a single message produced by an analyzer, and it used to
5252
5380
  # communicate to the end user about the state of their Service Mesh
5253
5381
  # configuration.
@@ -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.67.0"
19
+ GEM_VERSION = "0.69.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 = "20231030"
25
+ REVISION = "20231114"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BinaryAuthorizationConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Binding
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class DefaultClusterConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class EdgeCluster
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -598,24 +610,12 @@ module Google
598
610
  include Google::Apis::Core::JsonObjectSupport
599
611
  end
600
612
 
601
- class ListNamespacesResponse
602
- class Representation < Google::Apis::Core::JsonRepresentation; end
603
-
604
- include Google::Apis::Core::JsonObjectSupport
605
- end
606
-
607
613
  class ListOperationsResponse
608
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
615
 
610
616
  include Google::Apis::Core::JsonObjectSupport
611
617
  end
612
618
 
613
- class ListRbacRoleBindingsResponse
614
- class Representation < Google::Apis::Core::JsonRepresentation; end
615
-
616
- include Google::Apis::Core::JsonObjectSupport
617
- end
618
-
619
619
  class ListScopeNamespacesResponse
620
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
621
 
@@ -718,6 +718,30 @@ module Google
718
718
  include Google::Apis::Core::JsonObjectSupport
719
719
  end
720
720
 
721
+ class NamespaceActuationFeatureSpec
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class NamespaceActuationFeatureState
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class NamespaceActuationMembershipSpec
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class NamespaceActuationMembershipState
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
721
745
  class NamespaceLifecycleState
722
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
747
 
@@ -754,6 +778,12 @@ module Google
754
778
  include Google::Apis::Core::JsonObjectSupport
755
779
  end
756
780
 
781
+ class PolicyBinding
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
757
787
  class PolicyControllerBundleInstallSpec
758
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
789
 
@@ -886,6 +916,12 @@ module Google
886
916
  include Google::Apis::Core::JsonObjectSupport
887
917
  end
888
918
 
919
+ class SecurityPostureConfig
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
889
925
  class ServiceMeshAnalysisMessage
890
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
927
 
@@ -1053,6 +1089,15 @@ module Google
1053
1089
  end
1054
1090
  end
1055
1091
 
1092
+ class BinaryAuthorizationConfig
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :evaluation_mode, as: 'evaluationMode'
1096
+ collection :policy_bindings, as: 'policyBindings', class: Google::Apis::GkehubV1alpha::PolicyBinding, decorator: Google::Apis::GkehubV1alpha::PolicyBinding::Representation
1097
+
1098
+ end
1099
+ end
1100
+
1056
1101
  class Binding
1057
1102
  # @private
1058
1103
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1238,6 +1283,8 @@ module Google
1238
1283
 
1239
1284
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
1240
1285
 
1286
+ property :namespaceactuation, as: 'namespaceactuation', class: Google::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec, decorator: Google::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec::Representation
1287
+
1241
1288
  property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::FeatureSpec, decorator: Google::Apis::GkehubV1alpha::FeatureSpec::Representation
1242
1289
 
1243
1290
  end
@@ -1252,6 +1299,8 @@ module Google
1252
1299
 
1253
1300
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState::Representation
1254
1301
 
1302
+ property :namespaceactuation, as: 'namespaceactuation', class: Google::Apis::GkehubV1alpha::NamespaceActuationFeatureState, decorator: Google::Apis::GkehubV1alpha::NamespaceActuationFeatureState::Representation
1303
+
1255
1304
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState::Representation
1256
1305
 
1257
1306
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
@@ -1308,7 +1357,6 @@ module Google
1308
1357
 
1309
1358
  property :prevent_drift, as: 'preventDrift'
1310
1359
  property :source_format, as: 'sourceFormat'
1311
- property :stop_syncing, as: 'stopSyncing'
1312
1360
  end
1313
1361
  end
1314
1362
 
@@ -1454,7 +1502,6 @@ module Google
1454
1502
 
1455
1503
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
1456
1504
 
1457
- property :management, as: 'management'
1458
1505
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
1459
1506
 
1460
1507
  property :version, as: 'version'
@@ -1584,6 +1631,16 @@ module Google
1584
1631
  end
1585
1632
  end
1586
1633
 
1634
+ class DefaultClusterConfig
1635
+ # @private
1636
+ class Representation < Google::Apis::Core::JsonRepresentation
1637
+ property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
1638
+
1639
+ property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
1640
+
1641
+ end
1642
+ end
1643
+
1587
1644
  class EdgeCluster
1588
1645
  # @private
1589
1646
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1663,6 +1720,8 @@ module Google
1663
1720
  # @private
1664
1721
  class Representation < Google::Apis::Core::JsonRepresentation
1665
1722
  property :create_time, as: 'createTime'
1723
+ property :default_cluster_config, as: 'defaultClusterConfig', class: Google::Apis::GkehubV1alpha::DefaultClusterConfig, decorator: Google::Apis::GkehubV1alpha::DefaultClusterConfig::Representation
1724
+
1666
1725
  property :delete_time, as: 'deleteTime'
1667
1726
  property :display_name, as: 'displayName'
1668
1727
  hash :labels, as: 'labels'
@@ -1956,15 +2015,6 @@ module Google
1956
2015
  end
1957
2016
  end
1958
2017
 
1959
- class ListNamespacesResponse
1960
- # @private
1961
- class Representation < Google::Apis::Core::JsonRepresentation
1962
- collection :namespaces, as: 'namespaces', class: Google::Apis::GkehubV1alpha::Namespace, decorator: Google::Apis::GkehubV1alpha::Namespace::Representation
1963
-
1964
- property :next_page_token, as: 'nextPageToken'
1965
- end
1966
- end
1967
-
1968
2018
  class ListOperationsResponse
1969
2019
  # @private
1970
2020
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1974,15 +2024,6 @@ module Google
1974
2024
  end
1975
2025
  end
1976
2026
 
1977
- class ListRbacRoleBindingsResponse
1978
- # @private
1979
- class Representation < Google::Apis::Core::JsonRepresentation
1980
- property :next_page_token, as: 'nextPageToken'
1981
- collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1982
-
1983
- end
1984
- end
1985
-
1986
2027
  class ListScopeNamespacesResponse
1987
2028
  # @private
1988
2029
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2102,6 +2143,8 @@ module Google
2102
2143
 
2103
2144
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
2104
2145
 
2146
+ property :namespaceactuation, as: 'namespaceactuation', class: Google::Apis::GkehubV1alpha::NamespaceActuationMembershipSpec, decorator: Google::Apis::GkehubV1alpha::NamespaceActuationMembershipSpec::Representation
2147
+
2105
2148
  property :origin, as: 'origin', class: Google::Apis::GkehubV1alpha::Origin, decorator: Google::Apis::GkehubV1alpha::Origin::Representation
2106
2149
 
2107
2150
  property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
@@ -2126,6 +2169,8 @@ module Google
2126
2169
 
2127
2170
  property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
2128
2171
 
2172
+ property :namespaceactuation, as: 'namespaceactuation', class: Google::Apis::GkehubV1alpha::NamespaceActuationMembershipState, decorator: Google::Apis::GkehubV1alpha::NamespaceActuationMembershipState::Representation
2173
+
2129
2174
  property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState::Representation
2130
2175
 
2131
2176
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
@@ -2200,6 +2245,31 @@ module Google
2200
2245
  end
2201
2246
  end
2202
2247
 
2248
+ class NamespaceActuationFeatureSpec
2249
+ # @private
2250
+ class Representation < Google::Apis::Core::JsonRepresentation
2251
+ property :actuation_mode, as: 'actuationMode'
2252
+ end
2253
+ end
2254
+
2255
+ class NamespaceActuationFeatureState
2256
+ # @private
2257
+ class Representation < Google::Apis::Core::JsonRepresentation
2258
+ end
2259
+ end
2260
+
2261
+ class NamespaceActuationMembershipSpec
2262
+ # @private
2263
+ class Representation < Google::Apis::Core::JsonRepresentation
2264
+ end
2265
+ end
2266
+
2267
+ class NamespaceActuationMembershipState
2268
+ # @private
2269
+ class Representation < Google::Apis::Core::JsonRepresentation
2270
+ end
2271
+ end
2272
+
2203
2273
  class NamespaceLifecycleState
2204
2274
  # @private
2205
2275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2261,6 +2331,13 @@ module Google
2261
2331
  end
2262
2332
  end
2263
2333
 
2334
+ class PolicyBinding
2335
+ # @private
2336
+ class Representation < Google::Apis::Core::JsonRepresentation
2337
+ property :name, as: 'name'
2338
+ end
2339
+ end
2340
+
2264
2341
  class PolicyControllerBundleInstallSpec
2265
2342
  # @private
2266
2343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2481,6 +2558,14 @@ module Google
2481
2558
  end
2482
2559
  end
2483
2560
 
2561
+ class SecurityPostureConfig
2562
+ # @private
2563
+ class Representation < Google::Apis::Core::JsonRepresentation
2564
+ property :mode, as: 'mode'
2565
+ property :vulnerability_mode, as: 'vulnerabilityMode'
2566
+ end
2567
+ end
2568
+
2484
2569
  class ServiceMeshAnalysisMessage
2485
2570
  # @private
2486
2571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1566,9 +1566,9 @@ module Google
1566
1566
  # Updates a Membership RBACRoleBinding.
1567
1567
  # @param [String] name
1568
1568
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
1569
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
1570
- # projects/`project`/locations/`location`/memberships/`membership`/
1571
- # rbacrolebindings/`rbacrolebinding``
1569
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
1570
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
1571
+ # rbacrolebinding``
1572
1572
  # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1573
1573
  # @param [String] update_mask
1574
1574
  # Required. The fields to be updated.
@@ -1602,369 +1602,6 @@ module Google
1602
1602
  execute_or_queue_command(command, &block)
1603
1603
  end
1604
1604
 
1605
- # Creates a fleet namespace.
1606
- # @param [String] parent
1607
- # Required. The parent (project and location) where the Namespace will be
1608
- # created. Specified in the format `projects/*/locations/*`.
1609
- # @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
1610
- # @param [String] namespace_id
1611
- # Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
1612
- # RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
1613
- # consist of lower case alphanumeric characters or `-` 3. It must start and end
1614
- # with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
1615
- # -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1616
- # @param [String] fields
1617
- # Selector specifying which fields to include in a partial response.
1618
- # @param [String] quota_user
1619
- # Available to use for quota purposes for server-side applications. Can be any
1620
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1621
- # @param [Google::Apis::RequestOptions] options
1622
- # Request-specific options
1623
- #
1624
- # @yield [result, err] Result & error if block supplied
1625
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1626
- # @yieldparam err [StandardError] error object if request failed
1627
- #
1628
- # @return [Google::Apis::GkehubV1alpha::Operation]
1629
- #
1630
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1631
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1632
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1633
- def create_project_location_namespace(parent, namespace_object = nil, namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1634
- command = make_simple_command(:post, 'v1alpha/{+parent}/namespaces', options)
1635
- command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
1636
- command.request_object = namespace_object
1637
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1638
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1639
- command.params['parent'] = parent unless parent.nil?
1640
- command.query['namespaceId'] = namespace_id unless namespace_id.nil?
1641
- command.query['fields'] = fields unless fields.nil?
1642
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1643
- execute_or_queue_command(command, &block)
1644
- end
1645
-
1646
- # Deletes a fleet namespace.
1647
- # @param [String] name
1648
- # Required. The Namespace resource name in the format `projects/*/locations/*/
1649
- # namespaces/*`.
1650
- # @param [String] fields
1651
- # Selector specifying which fields to include in a partial response.
1652
- # @param [String] quota_user
1653
- # Available to use for quota purposes for server-side applications. Can be any
1654
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1655
- # @param [Google::Apis::RequestOptions] options
1656
- # Request-specific options
1657
- #
1658
- # @yield [result, err] Result & error if block supplied
1659
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1660
- # @yieldparam err [StandardError] error object if request failed
1661
- #
1662
- # @return [Google::Apis::GkehubV1alpha::Operation]
1663
- #
1664
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1665
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1666
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1667
- def delete_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
1668
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1669
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1670
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1671
- command.params['name'] = name unless name.nil?
1672
- command.query['fields'] = fields unless fields.nil?
1673
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1674
- execute_or_queue_command(command, &block)
1675
- end
1676
-
1677
- # Returns the details of a fleet namespace.
1678
- # @param [String] name
1679
- # Required. The Namespace resource name in the format `projects/*/locations/*/
1680
- # namespaces/*`.
1681
- # @param [String] fields
1682
- # Selector specifying which fields to include in a partial response.
1683
- # @param [String] quota_user
1684
- # Available to use for quota purposes for server-side applications. Can be any
1685
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1686
- # @param [Google::Apis::RequestOptions] options
1687
- # Request-specific options
1688
- #
1689
- # @yield [result, err] Result & error if block supplied
1690
- # @yieldparam result [Google::Apis::GkehubV1alpha::Namespace] parsed result object
1691
- # @yieldparam err [StandardError] error object if request failed
1692
- #
1693
- # @return [Google::Apis::GkehubV1alpha::Namespace]
1694
- #
1695
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1696
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1697
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1698
- def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
1699
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
1700
- command.response_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
1701
- command.response_class = Google::Apis::GkehubV1alpha::Namespace
1702
- command.params['name'] = name unless name.nil?
1703
- command.query['fields'] = fields unless fields.nil?
1704
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1705
- execute_or_queue_command(command, &block)
1706
- end
1707
-
1708
- # Lists fleet namespaces.
1709
- # @param [String] parent
1710
- # Required. The parent (project and location) where the Features will be listed.
1711
- # Specified in the format `projects/*/locations/*`.
1712
- # @param [Fixnum] page_size
1713
- # Optional. When requesting a 'page' of resources, `page_size` specifies number
1714
- # of resources to return. If unspecified or set to 0, all resources will be
1715
- # returned.
1716
- # @param [String] page_token
1717
- # Optional. Token returned by previous call to `ListFeatures` which specifies
1718
- # the position in the list from where to continue listing the resources.
1719
- # @param [String] fields
1720
- # Selector specifying which fields to include in a partial response.
1721
- # @param [String] quota_user
1722
- # Available to use for quota purposes for server-side applications. Can be any
1723
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1724
- # @param [Google::Apis::RequestOptions] options
1725
- # Request-specific options
1726
- #
1727
- # @yield [result, err] Result & error if block supplied
1728
- # @yieldparam result [Google::Apis::GkehubV1alpha::ListNamespacesResponse] parsed result object
1729
- # @yieldparam err [StandardError] error object if request failed
1730
- #
1731
- # @return [Google::Apis::GkehubV1alpha::ListNamespacesResponse]
1732
- #
1733
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1734
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1735
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1736
- def list_project_location_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1737
- command = make_simple_command(:get, 'v1alpha/{+parent}/namespaces', options)
1738
- command.response_representation = Google::Apis::GkehubV1alpha::ListNamespacesResponse::Representation
1739
- command.response_class = Google::Apis::GkehubV1alpha::ListNamespacesResponse
1740
- command.params['parent'] = parent unless parent.nil?
1741
- command.query['pageSize'] = page_size unless page_size.nil?
1742
- command.query['pageToken'] = page_token unless page_token.nil?
1743
- command.query['fields'] = fields unless fields.nil?
1744
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1745
- execute_or_queue_command(command, &block)
1746
- end
1747
-
1748
- # Updates a fleet namespace.
1749
- # @param [String] name
1750
- # The resource name for the namespace `projects/`project`/locations/`location`/
1751
- # namespaces/`namespace``
1752
- # @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
1753
- # @param [String] update_mask
1754
- # Required. The fields to be updated.
1755
- # @param [String] fields
1756
- # Selector specifying which fields to include in a partial response.
1757
- # @param [String] quota_user
1758
- # Available to use for quota purposes for server-side applications. Can be any
1759
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1760
- # @param [Google::Apis::RequestOptions] options
1761
- # Request-specific options
1762
- #
1763
- # @yield [result, err] Result & error if block supplied
1764
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1765
- # @yieldparam err [StandardError] error object if request failed
1766
- #
1767
- # @return [Google::Apis::GkehubV1alpha::Operation]
1768
- #
1769
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1770
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1771
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1772
- def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1773
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1774
- command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
1775
- command.request_object = namespace_object
1776
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1777
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1778
- command.params['name'] = name unless name.nil?
1779
- command.query['updateMask'] = update_mask unless update_mask.nil?
1780
- command.query['fields'] = fields unless fields.nil?
1781
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1782
- execute_or_queue_command(command, &block)
1783
- end
1784
-
1785
- # Creates a RBACRoleBinding.
1786
- # @param [String] parent
1787
- # Required. The parent (project and location) where the RBACRoleBinding will be
1788
- # created. Specified in the format `projects/*/locations/*/namespaces/*`.
1789
- # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1790
- # @param [String] rbacrolebinding_id
1791
- # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1792
- # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1793
- # It must consist of lower case alphanumeric characters or `-` 3. It must start
1794
- # and end with an alphanumeric character Which can be expressed as the regex: `[
1795
- # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1796
- # @param [String] fields
1797
- # Selector specifying which fields to include in a partial response.
1798
- # @param [String] quota_user
1799
- # Available to use for quota purposes for server-side applications. Can be any
1800
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1801
- # @param [Google::Apis::RequestOptions] options
1802
- # Request-specific options
1803
- #
1804
- # @yield [result, err] Result & error if block supplied
1805
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1806
- # @yieldparam err [StandardError] error object if request failed
1807
- #
1808
- # @return [Google::Apis::GkehubV1alpha::Operation]
1809
- #
1810
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1811
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1812
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1813
- def create_project_location_namespace_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1814
- command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings', options)
1815
- command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1816
- command.request_object = rbac_role_binding_object
1817
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1818
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1819
- command.params['parent'] = parent unless parent.nil?
1820
- command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1821
- command.query['fields'] = fields unless fields.nil?
1822
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1823
- execute_or_queue_command(command, &block)
1824
- end
1825
-
1826
- # Deletes a RBACRoleBinding.
1827
- # @param [String] name
1828
- # Required. The RBACRoleBinding resource name in the format `projects/*/
1829
- # locations/*/namespaces/*/rbacrolebindings/*`.
1830
- # @param [String] fields
1831
- # Selector specifying which fields to include in a partial response.
1832
- # @param [String] quota_user
1833
- # Available to use for quota purposes for server-side applications. Can be any
1834
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1835
- # @param [Google::Apis::RequestOptions] options
1836
- # Request-specific options
1837
- #
1838
- # @yield [result, err] Result & error if block supplied
1839
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1840
- # @yieldparam err [StandardError] error object if request failed
1841
- #
1842
- # @return [Google::Apis::GkehubV1alpha::Operation]
1843
- #
1844
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1845
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1846
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1847
- def delete_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1848
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1849
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1850
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1851
- command.params['name'] = name unless name.nil?
1852
- command.query['fields'] = fields unless fields.nil?
1853
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1854
- execute_or_queue_command(command, &block)
1855
- end
1856
-
1857
- # Returns the details of a RBACRoleBinding.
1858
- # @param [String] name
1859
- # Required. The RBACRoleBinding resource name in the format `projects/*/
1860
- # locations/*/namespaces/*/rbacrolebindings/*`.
1861
- # @param [String] fields
1862
- # Selector specifying which fields to include in a partial response.
1863
- # @param [String] quota_user
1864
- # Available to use for quota purposes for server-side applications. Can be any
1865
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1866
- # @param [Google::Apis::RequestOptions] options
1867
- # Request-specific options
1868
- #
1869
- # @yield [result, err] Result & error if block supplied
1870
- # @yieldparam result [Google::Apis::GkehubV1alpha::RbacRoleBinding] parsed result object
1871
- # @yieldparam err [StandardError] error object if request failed
1872
- #
1873
- # @return [Google::Apis::GkehubV1alpha::RbacRoleBinding]
1874
- #
1875
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1876
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1877
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1878
- def get_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1879
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
1880
- command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1881
- command.response_class = Google::Apis::GkehubV1alpha::RbacRoleBinding
1882
- command.params['name'] = name unless name.nil?
1883
- command.query['fields'] = fields unless fields.nil?
1884
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1885
- execute_or_queue_command(command, &block)
1886
- end
1887
-
1888
- # Lists RBACRoleBinding.
1889
- # @param [String] parent
1890
- # Required. The parent (project and location) where the Features will be listed.
1891
- # Specified in the format `projects/*/locations/*/namespaces/*`.
1892
- # @param [Fixnum] page_size
1893
- # Optional. When requesting a 'page' of resources, `page_size` specifies number
1894
- # of resources to return. If unspecified or set to 0, all resources will be
1895
- # returned.
1896
- # @param [String] page_token
1897
- # Optional. Token returned by previous call to `ListRBACRoleBindings` which
1898
- # specifies the position in the list from where to continue listing the
1899
- # resources.
1900
- # @param [String] fields
1901
- # Selector specifying which fields to include in a partial response.
1902
- # @param [String] quota_user
1903
- # Available to use for quota purposes for server-side applications. Can be any
1904
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1905
- # @param [Google::Apis::RequestOptions] options
1906
- # Request-specific options
1907
- #
1908
- # @yield [result, err] Result & error if block supplied
1909
- # @yieldparam result [Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse] parsed result object
1910
- # @yieldparam err [StandardError] error object if request failed
1911
- #
1912
- # @return [Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse]
1913
- #
1914
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1915
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1916
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1917
- def list_project_location_namespace_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1918
- command = make_simple_command(:get, 'v1alpha/{+parent}/rbacrolebindings', options)
1919
- command.response_representation = Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse::Representation
1920
- command.response_class = Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse
1921
- command.params['parent'] = parent unless parent.nil?
1922
- command.query['pageSize'] = page_size unless page_size.nil?
1923
- command.query['pageToken'] = page_token unless page_token.nil?
1924
- command.query['fields'] = fields unless fields.nil?
1925
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1926
- execute_or_queue_command(command, &block)
1927
- end
1928
-
1929
- # Updates a RBACRoleBinding.
1930
- # @param [String] name
1931
- # The resource name for the rbacrolebinding `projects/`project`/locations/`
1932
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
1933
- # projects/`project`/locations/`location`/memberships/`membership`/
1934
- # rbacrolebindings/`rbacrolebinding``
1935
- # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1936
- # @param [String] update_mask
1937
- # Required. The fields to be updated.
1938
- # @param [String] fields
1939
- # Selector specifying which fields to include in a partial response.
1940
- # @param [String] quota_user
1941
- # Available to use for quota purposes for server-side applications. Can be any
1942
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1943
- # @param [Google::Apis::RequestOptions] options
1944
- # Request-specific options
1945
- #
1946
- # @yield [result, err] Result & error if block supplied
1947
- # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1948
- # @yieldparam err [StandardError] error object if request failed
1949
- #
1950
- # @return [Google::Apis::GkehubV1alpha::Operation]
1951
- #
1952
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1953
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1954
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1955
- def patch_project_location_namespace_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1956
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1957
- command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1958
- command.request_object = rbac_role_binding_object
1959
- command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1960
- command.response_class = Google::Apis::GkehubV1alpha::Operation
1961
- command.params['name'] = name unless name.nil?
1962
- command.query['updateMask'] = update_mask unless update_mask.nil?
1963
- command.query['fields'] = fields unless fields.nil?
1964
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1965
- execute_or_queue_command(command, &block)
1966
- end
1967
-
1968
1605
  # Starts asynchronous cancellation on a long-running operation. The server makes
1969
1606
  # a best effort to cancel the operation, but success is not guaranteed. If the
1970
1607
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -2733,9 +2370,9 @@ module Google
2733
2370
  # Updates a Scope RBACRoleBinding.
2734
2371
  # @param [String] name
2735
2372
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
2736
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
2737
- # projects/`project`/locations/`location`/memberships/`membership`/
2738
- # rbacrolebindings/`rbacrolebinding``
2373
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
2374
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
2375
+ # rbacrolebinding``
2739
2376
  # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
2740
2377
  # @param [String] update_mask
2741
2378
  # Required. The fields to be updated.
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.67.0
4
+ version: 0.69.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-11-05 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.69.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: []