google-apis-gkehub_v1beta 0.49.0 → 0.50.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: 7282bb77d0f99e6954e2db5358244dd2e4e49a6e160aebbf107e4afdb288dad4
4
- data.tar.gz: 66d25db01f2900ba3148a93e50b0270893788a01727cc3b9d9b8374c5b5564bf
3
+ metadata.gz: a7b3eea39059255377f15ab4a9c12b2966cb0b36513af014639fbd76556963bb
4
+ data.tar.gz: e45458a3722184fa98df07b0e6a598f13ec60ecf2e6256c9709559692f405d73
5
5
  SHA512:
6
- metadata.gz: 3a3f9a226cb4b613fbcd7fd0f78e58d9077d61f38f110f66ea5654ccc4f04223aeeb023801f2fba9b389757d420bcc81e53e0b8a38c0df844452e2207b4b6415
7
- data.tar.gz: e573d5e82ff428887207b75df51c8d817fa41e88f027a013c928325b12eceaa56823cc27a78e5575dee9caaf8954b4bc04912938046d2e156015502d8ab15df4
6
+ metadata.gz: 076d4bc1b386442538ade736e33e76186a2d222072f44950e9dc39cab133cb43a4985ff70dd3410682d2f15a85fd50ab0a4d70bce8b7a7a100482f2f2c0bae34
7
+ data.tar.gz: dbbdece3321247db9cbfa38cc5725b30cd00d78126af7e3af5caeefb62c82b887a5c44b52f90460e3a22856f0b36f4107d648bc782242effc3099e6d8188d4c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.50.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230620
6
+
3
7
  ### v0.49.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230609
@@ -436,11 +436,9 @@ module Google
436
436
 
437
437
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
438
438
  # will be created and the other ConfigSync fields will be applied if exist. If
439
- # set to false and Managed Config Sync is disabled, all other ConfigSync fields
440
- # will be ignored, ConfigSync resources will be deleted. Setting this field to
441
- # false while enabling Managed Config Sync is invalid. If omitted, ConfigSync
442
- # resources will be managed if: * the git or oci field is present; or * Managed
443
- # Config Sync is enabled (i.e., managed.enabled is true).
439
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
440
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
441
+ # depends on the presence of the git or oci field.
444
442
  # Corresponds to the JSON property `enabled`
445
443
  # @return [Boolean]
446
444
  attr_accessor :enabled
@@ -451,17 +449,12 @@ module Google
451
449
  # @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
452
450
  attr_accessor :git
453
451
 
454
- # Configuration for Managed Config Sync.
455
- # Corresponds to the JSON property `managed`
456
- # @return [Google::Apis::GkehubV1beta::ConfigManagementManaged]
457
- attr_accessor :managed
458
-
459
- # The Email of the GCP Service Account (GSA) used for exporting Config Sync
460
- # metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
452
+ # The Email of the Google Cloud Service Account (GSA) used for exporting Config
453
+ # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
461
454
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
462
455
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
463
456
  # namespace `config-management-monitoring` should be binded to the GSA. This
464
- # field is required when Managed Config Sync is enabled.
457
+ # field is required when automatic Feature management is enabled.
465
458
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
466
459
  # @return [String]
467
460
  attr_accessor :metrics_gcp_service_account_email
@@ -485,6 +478,14 @@ module Google
485
478
  # @return [String]
486
479
  attr_accessor :source_format
487
480
 
481
+ # Set to true to stop syncing configs for a single cluster when automatic
482
+ # Feature management is enabled. Default to false. The field will be ignored
483
+ # when automatic Feature management is disabled.
484
+ # Corresponds to the JSON property `stopSyncing`
485
+ # @return [Boolean]
486
+ attr_accessor :stop_syncing
487
+ alias_method :stop_syncing?, :stop_syncing
488
+
488
489
  def initialize(**args)
489
490
  update!(**args)
490
491
  end
@@ -494,11 +495,11 @@ module Google
494
495
  @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
495
496
  @enabled = args[:enabled] if args.key?(:enabled)
496
497
  @git = args[:git] if args.key?(:git)
497
- @managed = args[:managed] if args.key?(:managed)
498
498
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
499
499
  @oci = args[:oci] if args.key?(:oci)
500
500
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
501
501
  @source_format = args[:source_format] if args.key?(:source_format)
502
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
502
503
  end
503
504
  end
504
505
 
@@ -740,7 +741,7 @@ module Google
740
741
  class ConfigManagementGitConfig
741
742
  include Google::Apis::Core::Hashable
742
743
 
743
- # The GCP Service Account Email used for auth when secret_type is
744
+ # The Google Cloud Service Account Email used for auth when secret_type is
744
745
  # gcpServiceAccount.
745
746
  # Corresponds to the JSON property `gcpServiceAccountEmail`
746
747
  # @return [String]
@@ -960,36 +961,6 @@ module Google
960
961
  end
961
962
  end
962
963
 
963
- # Configuration for Managed Config Sync.
964
- class ConfigManagementManaged
965
- include Google::Apis::Core::Hashable
966
-
967
- # Set to true to enable Managed Config Sync. Defaults to false which disables
968
- # Managed Config Sync. Setting this field to true when configSync.enabled is
969
- # false is invalid.
970
- # Corresponds to the JSON property `enabled`
971
- # @return [Boolean]
972
- attr_accessor :enabled
973
- alias_method :enabled?, :enabled
974
-
975
- # Set to true to stop syncing configs for a single cluster. Default to false. If
976
- # set to true, Managed Config Sync will not upgrade Config Sync.
977
- # Corresponds to the JSON property `stopSyncing`
978
- # @return [Boolean]
979
- attr_accessor :stop_syncing
980
- alias_method :stop_syncing?, :stop_syncing
981
-
982
- def initialize(**args)
983
- update!(**args)
984
- end
985
-
986
- # Update properties of this object
987
- def update!(**args)
988
- @enabled = args[:enabled] if args.key?(:enabled)
989
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
990
- end
991
- end
992
-
993
964
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
994
965
  # parallel the ConfigManagement CR.
995
966
  class ConfigManagementMembershipSpec
@@ -1020,6 +991,11 @@ module Google
1020
991
  # @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
1021
992
  attr_accessor :hierarchy_controller
1022
993
 
994
+ # Enables automatic Feature management.
995
+ # Corresponds to the JSON property `management`
996
+ # @return [String]
997
+ attr_accessor :management
998
+
1023
999
  # Configuration for Policy Controller
1024
1000
  # Corresponds to the JSON property `policyController`
1025
1001
  # @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyController]
@@ -1040,6 +1016,7 @@ module Google
1040
1016
  @cluster = args[:cluster] if args.key?(:cluster)
1041
1017
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1042
1018
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1019
+ @management = args[:management] if args.key?(:management)
1043
1020
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1044
1021
  @version = args[:version] if args.key?(:version)
1045
1022
  end
@@ -1106,7 +1083,7 @@ module Google
1106
1083
  class ConfigManagementOciConfig
1107
1084
  include Google::Apis::Core::Hashable
1108
1085
 
1109
- # The GCP Service Account Email used for auth when secret_type is
1086
+ # The Google Cloud Service Account Email used for auth when secret_type is
1110
1087
  # gcpServiceAccount.
1111
1088
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1112
1089
  # @return [String]
@@ -1878,6 +1855,25 @@ module Google
1878
1855
  end
1879
1856
  end
1880
1857
 
1858
+ # Response for GenerateRBACRoleBindingYAML.
1859
+ class GenerateMembershipRbacRoleBindingYamlResponse
1860
+ include Google::Apis::Core::Hashable
1861
+
1862
+ # a yaml text blob including the RBAC policies.
1863
+ # Corresponds to the JSON property `roleBindingsYaml`
1864
+ # @return [String]
1865
+ attr_accessor :role_bindings_yaml
1866
+
1867
+ def initialize(**args)
1868
+ update!(**args)
1869
+ end
1870
+
1871
+ # Update properties of this object
1872
+ def update!(**args)
1873
+ @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
1874
+ end
1875
+ end
1876
+
1881
1877
  # The `Status` type defines a logical error model that is suitable for different
1882
1878
  # programming environments, including REST APIs and RPC APIs. It is used by [
1883
1879
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2293,6 +2289,33 @@ module Google
2293
2289
  end
2294
2290
  end
2295
2291
 
2292
+ # List of Membership RBACRoleBindings.
2293
+ class ListMembershipRbacRoleBindingsResponse
2294
+ include Google::Apis::Core::Hashable
2295
+
2296
+ # A token to request the next page of resources from the `
2297
+ # ListMembershipRBACRoleBindings` method. The value of an empty string means
2298
+ # that there are no more resources to return.
2299
+ # Corresponds to the JSON property `nextPageToken`
2300
+ # @return [String]
2301
+ attr_accessor :next_page_token
2302
+
2303
+ # The list of Membership RBACRoleBindings.
2304
+ # Corresponds to the JSON property `rbacrolebindings`
2305
+ # @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
2306
+ attr_accessor :rbacrolebindings
2307
+
2308
+ def initialize(**args)
2309
+ update!(**args)
2310
+ end
2311
+
2312
+ # Update properties of this object
2313
+ def update!(**args)
2314
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2315
+ @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
2316
+ end
2317
+ end
2318
+
2296
2319
  # List of fleet namespaces.
2297
2320
  class ListNamespacesResponse
2298
2321
  include Google::Apis::Core::Hashable
@@ -2551,12 +2574,6 @@ module Google
2551
2574
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
2552
2575
  attr_accessor :configmanagement
2553
2576
 
2554
- # True if value of `feature_spec` was inherited from a fleet-level default.
2555
- # Corresponds to the JSON property `fleetInherited`
2556
- # @return [Boolean]
2557
- attr_accessor :fleet_inherited
2558
- alias_method :fleet_inherited?, :fleet_inherited
2559
-
2560
2577
  # **FleetObservability**: The membership-specific input for FleetObservability
2561
2578
  # feature.
2562
2579
  # Corresponds to the JSON property `fleetobservability`
@@ -2573,6 +2590,11 @@ module Google
2573
2590
  # @return [Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec]
2574
2591
  attr_accessor :mesh
2575
2592
 
2593
+ # Origin defines where this MembershipFeatureSpec originated from.
2594
+ # Corresponds to the JSON property `origin`
2595
+ # @return [Google::Apis::GkehubV1beta::Origin]
2596
+ attr_accessor :origin
2597
+
2576
2598
  # **Policy Controller**: Configuration for a single cluster. Intended to
2577
2599
  # parallel the PolicyController CR.
2578
2600
  # Corresponds to the JSON property `policycontroller`
@@ -2588,10 +2610,10 @@ module Google
2588
2610
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
2589
2611
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
2590
2612
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2591
- @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
2592
2613
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
2593
2614
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2594
2615
  @mesh = args[:mesh] if args.key?(:mesh)
2616
+ @origin = args[:origin] if args.key?(:origin)
2595
2617
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
2596
2618
  end
2597
2619
  end
@@ -2940,6 +2962,25 @@ module Google
2940
2962
  end
2941
2963
  end
2942
2964
 
2965
+ # Origin defines where this MembershipFeatureSpec originated from.
2966
+ class Origin
2967
+ include Google::Apis::Core::Hashable
2968
+
2969
+ # Type specifies which type of origin is set.
2970
+ # Corresponds to the JSON property `type`
2971
+ # @return [String]
2972
+ attr_accessor :type
2973
+
2974
+ def initialize(**args)
2975
+ update!(**args)
2976
+ end
2977
+
2978
+ # Update properties of this object
2979
+ def update!(**args)
2980
+ @type = args[:type] if args.key?(:type)
2981
+ end
2982
+ end
2983
+
2943
2984
  # An Identity and Access Management (IAM) policy, which specifies access
2944
2985
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2945
2986
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.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 = "20230609"
25
+ REVISION = "20230620"
26
26
  end
27
27
  end
28
28
  end
@@ -190,12 +190,6 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class ConfigManagementManaged
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
193
  class ConfigManagementMembershipSpec
200
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
195
 
@@ -340,6 +334,12 @@ module Google
340
334
  include Google::Apis::Core::JsonObjectSupport
341
335
  end
342
336
 
337
+ class GenerateMembershipRbacRoleBindingYamlResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
343
  class GoogleRpcStatus
344
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
345
 
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class ListMembershipRbacRoleBindingsResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class ListNamespacesResponse
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -502,6 +508,12 @@ module Google
502
508
  include Google::Apis::Core::JsonObjectSupport
503
509
  end
504
510
 
511
+ class Origin
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
505
517
  class Policy
506
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
519
 
@@ -810,13 +822,12 @@ module Google
810
822
  property :enabled, as: 'enabled'
811
823
  property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
812
824
 
813
- property :managed, as: 'managed', class: Google::Apis::GkehubV1beta::ConfigManagementManaged, decorator: Google::Apis::GkehubV1beta::ConfigManagementManaged::Representation
814
-
815
825
  property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
816
826
  property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
817
827
 
818
828
  property :prevent_drift, as: 'preventDrift'
819
829
  property :source_format, as: 'sourceFormat'
830
+ property :stop_syncing, as: 'stopSyncing'
820
831
  end
821
832
  end
822
833
 
@@ -952,14 +963,6 @@ module Google
952
963
  end
953
964
  end
954
965
 
955
- class ConfigManagementManaged
956
- # @private
957
- class Representation < Google::Apis::Core::JsonRepresentation
958
- property :enabled, as: 'enabled'
959
- property :stop_syncing, as: 'stopSyncing'
960
- end
961
- end
962
-
963
966
  class ConfigManagementMembershipSpec
964
967
  # @private
965
968
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -970,6 +973,7 @@ module Google
970
973
 
971
974
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig::Representation
972
975
 
976
+ property :management, as: 'management'
973
977
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyController::Representation
974
978
 
975
979
  property :version, as: 'version'
@@ -1213,6 +1217,13 @@ module Google
1213
1217
  end
1214
1218
  end
1215
1219
 
1220
+ class GenerateMembershipRbacRoleBindingYamlResponse
1221
+ # @private
1222
+ class Representation < Google::Apis::Core::JsonRepresentation
1223
+ property :role_bindings_yaml, as: 'roleBindingsYaml'
1224
+ end
1225
+ end
1226
+
1216
1227
  class GoogleRpcStatus
1217
1228
  # @private
1218
1229
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1329,6 +1340,15 @@ module Google
1329
1340
  end
1330
1341
  end
1331
1342
 
1343
+ class ListMembershipRbacRoleBindingsResponse
1344
+ # @private
1345
+ class Representation < Google::Apis::Core::JsonRepresentation
1346
+ property :next_page_token, as: 'nextPageToken'
1347
+ collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1beta::RbacRoleBinding, decorator: Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1348
+
1349
+ end
1350
+ end
1351
+
1332
1352
  class ListNamespacesResponse
1333
1353
  # @private
1334
1354
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1407,13 +1427,14 @@ module Google
1407
1427
 
1408
1428
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
1409
1429
 
1410
- property :fleet_inherited, as: 'fleetInherited'
1411
1430
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec::Representation
1412
1431
 
1413
1432
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
1414
1433
 
1415
1434
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec::Representation
1416
1435
 
1436
+ property :origin, as: 'origin', class: Google::Apis::GkehubV1beta::Origin, decorator: Google::Apis::GkehubV1beta::Origin::Representation
1437
+
1417
1438
  property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
1418
1439
 
1419
1440
  end
@@ -1511,6 +1532,13 @@ module Google
1511
1532
  end
1512
1533
  end
1513
1534
 
1535
+ class Origin
1536
+ # @private
1537
+ class Representation < Google::Apis::Core::JsonRepresentation
1538
+ property :type, as: 'type'
1539
+ end
1540
+ end
1541
+
1514
1542
  class Policy
1515
1543
  # @private
1516
1544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -991,6 +991,231 @@ module Google
991
991
  execute_or_queue_command(command, &block)
992
992
  end
993
993
 
994
+ # Creates a Membership RBACRoleBinding.
995
+ # @param [String] parent
996
+ # Required. The parent (project and location) where the RBACRoleBinding will be
997
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
998
+ # @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
999
+ # @param [String] rbacrolebinding_id
1000
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1001
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1002
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1003
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1004
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1005
+ # @param [String] fields
1006
+ # Selector specifying which fields to include in a partial response.
1007
+ # @param [String] quota_user
1008
+ # Available to use for quota purposes for server-side applications. Can be any
1009
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1010
+ # @param [Google::Apis::RequestOptions] options
1011
+ # Request-specific options
1012
+ #
1013
+ # @yield [result, err] Result & error if block supplied
1014
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
1015
+ # @yieldparam err [StandardError] error object if request failed
1016
+ #
1017
+ # @return [Google::Apis::GkehubV1beta::Operation]
1018
+ #
1019
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1020
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1021
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1022
+ def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1023
+ command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', options)
1024
+ command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1025
+ command.request_object = rbac_role_binding_object
1026
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
1027
+ command.response_class = Google::Apis::GkehubV1beta::Operation
1028
+ command.params['parent'] = parent unless parent.nil?
1029
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1030
+ command.query['fields'] = fields unless fields.nil?
1031
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1032
+ execute_or_queue_command(command, &block)
1033
+ end
1034
+
1035
+ # Deletes a Membership RBACRoleBinding.
1036
+ # @param [String] name
1037
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1038
+ # locations/*/memberships/*/rbacrolebindings/*`.
1039
+ # @param [String] fields
1040
+ # Selector specifying which fields to include in a partial response.
1041
+ # @param [String] quota_user
1042
+ # Available to use for quota purposes for server-side applications. Can be any
1043
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1044
+ # @param [Google::Apis::RequestOptions] options
1045
+ # Request-specific options
1046
+ #
1047
+ # @yield [result, err] Result & error if block supplied
1048
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
1049
+ # @yieldparam err [StandardError] error object if request failed
1050
+ #
1051
+ # @return [Google::Apis::GkehubV1beta::Operation]
1052
+ #
1053
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1054
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1055
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1056
+ def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1057
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1058
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
1059
+ command.response_class = Google::Apis::GkehubV1beta::Operation
1060
+ command.params['name'] = name unless name.nil?
1061
+ command.query['fields'] = fields unless fields.nil?
1062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1063
+ execute_or_queue_command(command, &block)
1064
+ end
1065
+
1066
+ # Generates a YAML of the RBAC policies for the specified RoleBinding and its
1067
+ # associated impersonation resources.
1068
+ # @param [String] parent
1069
+ # Required. The parent (project and location) where the RBACRoleBinding will be
1070
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
1071
+ # @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
1072
+ # @param [String] rbacrolebinding_id
1073
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1074
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1075
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1076
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1077
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1078
+ # @param [String] fields
1079
+ # Selector specifying which fields to include in a partial response.
1080
+ # @param [String] quota_user
1081
+ # Available to use for quota purposes for server-side applications. Can be any
1082
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1083
+ # @param [Google::Apis::RequestOptions] options
1084
+ # Request-specific options
1085
+ #
1086
+ # @yield [result, err] Result & error if block supplied
1087
+ # @yieldparam result [Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
1088
+ # @yieldparam err [StandardError] error object if request failed
1089
+ #
1090
+ # @return [Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse]
1091
+ #
1092
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1093
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1094
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1095
+ def generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1096
+ command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
1097
+ command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1098
+ command.request_object = rbac_role_binding_object
1099
+ command.response_representation = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse::Representation
1100
+ command.response_class = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse
1101
+ command.params['parent'] = parent unless parent.nil?
1102
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1103
+ command.query['fields'] = fields unless fields.nil?
1104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1105
+ execute_or_queue_command(command, &block)
1106
+ end
1107
+
1108
+ # Returns the details of a Membership RBACRoleBinding.
1109
+ # @param [String] name
1110
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1111
+ # locations/*/memberships/*/rbacrolebindings/*`.
1112
+ # @param [String] fields
1113
+ # Selector specifying which fields to include in a partial response.
1114
+ # @param [String] quota_user
1115
+ # Available to use for quota purposes for server-side applications. Can be any
1116
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1117
+ # @param [Google::Apis::RequestOptions] options
1118
+ # Request-specific options
1119
+ #
1120
+ # @yield [result, err] Result & error if block supplied
1121
+ # @yieldparam result [Google::Apis::GkehubV1beta::RbacRoleBinding] parsed result object
1122
+ # @yieldparam err [StandardError] error object if request failed
1123
+ #
1124
+ # @return [Google::Apis::GkehubV1beta::RbacRoleBinding]
1125
+ #
1126
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1127
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1128
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1129
+ def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1130
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
1131
+ command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1132
+ command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding
1133
+ command.params['name'] = name unless name.nil?
1134
+ command.query['fields'] = fields unless fields.nil?
1135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1136
+ execute_or_queue_command(command, &block)
1137
+ end
1138
+
1139
+ # Lists all Membership RBACRoleBindings.
1140
+ # @param [String] parent
1141
+ # Required. The parent (project and location) where the Features will be listed.
1142
+ # Specified in the format `projects/*/locations/*/memberships/*`.
1143
+ # @param [Fixnum] page_size
1144
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1145
+ # of resources to return. If unspecified or set to 0, all resources will be
1146
+ # returned.
1147
+ # @param [String] page_token
1148
+ # Optional. Token returned by previous call to `ListMembershipRBACRoleBindings`
1149
+ # which specifies the position in the list from where to continue listing the
1150
+ # resources.
1151
+ # @param [String] fields
1152
+ # Selector specifying which fields to include in a partial response.
1153
+ # @param [String] quota_user
1154
+ # Available to use for quota purposes for server-side applications. Can be any
1155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1156
+ # @param [Google::Apis::RequestOptions] options
1157
+ # Request-specific options
1158
+ #
1159
+ # @yield [result, err] Result & error if block supplied
1160
+ # @yieldparam result [Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse] parsed result object
1161
+ # @yieldparam err [StandardError] error object if request failed
1162
+ #
1163
+ # @return [Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse]
1164
+ #
1165
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1166
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1167
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1168
+ def list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1169
+ command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', options)
1170
+ command.response_representation = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse::Representation
1171
+ command.response_class = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse
1172
+ command.params['parent'] = parent unless parent.nil?
1173
+ command.query['pageSize'] = page_size unless page_size.nil?
1174
+ command.query['pageToken'] = page_token unless page_token.nil?
1175
+ command.query['fields'] = fields unless fields.nil?
1176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1177
+ execute_or_queue_command(command, &block)
1178
+ end
1179
+
1180
+ # Updates a Membership RBACRoleBinding.
1181
+ # @param [String] name
1182
+ # The resource name for the rbacrolebinding `projects/`project`/locations/`
1183
+ # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
1184
+ # projects/`project`/locations/`location`/memberships/`membership`/
1185
+ # rbacrolebindings/`rbacrolebinding``
1186
+ # @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
1187
+ # @param [String] update_mask
1188
+ # Required. The fields to be updated.
1189
+ # @param [String] fields
1190
+ # Selector specifying which fields to include in a partial response.
1191
+ # @param [String] quota_user
1192
+ # Available to use for quota purposes for server-side applications. Can be any
1193
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1194
+ # @param [Google::Apis::RequestOptions] options
1195
+ # Request-specific options
1196
+ #
1197
+ # @yield [result, err] Result & error if block supplied
1198
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
1199
+ # @yieldparam err [StandardError] error object if request failed
1200
+ #
1201
+ # @return [Google::Apis::GkehubV1beta::Operation]
1202
+ #
1203
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1204
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1205
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1206
+ def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1207
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
1208
+ command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1209
+ command.request_object = rbac_role_binding_object
1210
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
1211
+ command.response_class = Google::Apis::GkehubV1beta::Operation
1212
+ command.params['name'] = name unless name.nil?
1213
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1214
+ command.query['fields'] = fields unless fields.nil?
1215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1216
+ execute_or_queue_command(command, &block)
1217
+ end
1218
+
994
1219
  # Creates a fleet namespace.
995
1220
  # @param [String] parent
996
1221
  # Required. The parent (project and location) where the Namespace will be
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-06-25 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []