google-apis-gkehub_v1alpha 0.55.0 → 0.57.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: 950cfd629e1a813fbd21c6c34224c380607cac6e1d7e1536f19c83b98d0321f7
4
- data.tar.gz: 180f8952e7d06c88180a304be958e64ecceb666d0741259187fc8c6dbb7862da
3
+ metadata.gz: 0eaf0f17f21e26b2431154d67842b06370f73aef25ba7b90048c2d3f91b3e00f
4
+ data.tar.gz: dfe160aac95ffcd93458c7140596451d71498cb1f9efceb91339279b9df7f816
5
5
  SHA512:
6
- metadata.gz: 81f803f2bf0797f4e2f21140fa4b7e2b75df4989b609f1d92ce2d21c63a8a6371eb9ae4c397712744fa92778fe036af11a04a474795ddd64fe26c6c5d5aa0b47
7
- data.tar.gz: 01f106bba615dab37530106a1c3ceefac155493d0c5d518f1908ca85f76f7c784650f46ab98a7e3d520289f7e742caa4261465b229d5162942a1955f4de1b2de
6
+ metadata.gz: 0f6b8cc1947d5e73c18f0b0c3f878fce714033f69e9f5063b54b66d04799afa4ce8e50ce4ffb82b544bc9951d31215420a001ed10ee6c458723307af2ea820eb
7
+ data.tar.gz: 87e92745f5e01df4ac97fce19e3aa7d35d4c08a9688c81093b2f79de33b67097a0e950ceaf9b6d9814ba5a6df1f5b9491dec9063622a6842425aa2223fb3a945
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.57.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230627
6
+
7
+ ### v0.56.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.55.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230606
@@ -940,11 +940,9 @@ module Google
940
940
 
941
941
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
942
942
  # will be created and the other ConfigSync fields will be applied if exist. If
943
- # set to false and Managed Config Sync is disabled, all other ConfigSync fields
944
- # will be ignored, ConfigSync resources will be deleted. Setting this field to
945
- # false while enabling Managed Config Sync is invalid. If omitted, ConfigSync
946
- # resources will be managed if: * the git or oci field is present; or * Managed
947
- # Config Sync is enabled (i.e., managed.enabled is true).
943
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
944
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
945
+ # depends on the presence of the git or oci field.
948
946
  # Corresponds to the JSON property `enabled`
949
947
  # @return [Boolean]
950
948
  attr_accessor :enabled
@@ -955,17 +953,12 @@ module Google
955
953
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
956
954
  attr_accessor :git
957
955
 
958
- # Configuration for Managed Config Sync.
959
- # Corresponds to the JSON property `managed`
960
- # @return [Google::Apis::GkehubV1alpha::ConfigManagementManaged]
961
- attr_accessor :managed
962
-
963
- # The Email of the GCP Service Account (GSA) used for exporting Config Sync
964
- # metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
956
+ # The Email of the Google Cloud Service Account (GSA) used for exporting Config
957
+ # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
965
958
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
966
959
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
967
960
  # namespace `config-management-monitoring` should be binded to the GSA. This
968
- # field is required when Managed Config Sync is enabled.
961
+ # field is required when automatic Feature management is enabled.
969
962
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
970
963
  # @return [String]
971
964
  attr_accessor :metrics_gcp_service_account_email
@@ -989,6 +982,14 @@ module Google
989
982
  # @return [String]
990
983
  attr_accessor :source_format
991
984
 
985
+ # Set to true to stop syncing configs for a single cluster when automatic
986
+ # Feature management is enabled. Default to false. The field will be ignored
987
+ # when automatic Feature management is disabled.
988
+ # Corresponds to the JSON property `stopSyncing`
989
+ # @return [Boolean]
990
+ attr_accessor :stop_syncing
991
+ alias_method :stop_syncing?, :stop_syncing
992
+
992
993
  def initialize(**args)
993
994
  update!(**args)
994
995
  end
@@ -998,11 +999,11 @@ module Google
998
999
  @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
999
1000
  @enabled = args[:enabled] if args.key?(:enabled)
1000
1001
  @git = args[:git] if args.key?(:git)
1001
- @managed = args[:managed] if args.key?(:managed)
1002
1002
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
1003
1003
  @oci = args[:oci] if args.key?(:oci)
1004
1004
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
1005
1005
  @source_format = args[:source_format] if args.key?(:source_format)
1006
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1006
1007
  end
1007
1008
  end
1008
1009
 
@@ -1244,7 +1245,7 @@ module Google
1244
1245
  class ConfigManagementGitConfig
1245
1246
  include Google::Apis::Core::Hashable
1246
1247
 
1247
- # The GCP Service Account Email used for auth when secret_type is
1248
+ # The Google Cloud Service Account Email used for auth when secret_type is
1248
1249
  # gcpServiceAccount.
1249
1250
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1250
1251
  # @return [String]
@@ -1464,36 +1465,6 @@ module Google
1464
1465
  end
1465
1466
  end
1466
1467
 
1467
- # Configuration for Managed Config Sync.
1468
- class ConfigManagementManaged
1469
- include Google::Apis::Core::Hashable
1470
-
1471
- # Set to true to enable Managed Config Sync. Defaults to false which disables
1472
- # Managed Config Sync. Setting this field to true when configSync.enabled is
1473
- # false is invalid.
1474
- # Corresponds to the JSON property `enabled`
1475
- # @return [Boolean]
1476
- attr_accessor :enabled
1477
- alias_method :enabled?, :enabled
1478
-
1479
- # Set to true to stop syncing configs for a single cluster. Default to false. If
1480
- # set to true, Managed Config Sync will not upgrade Config Sync.
1481
- # Corresponds to the JSON property `stopSyncing`
1482
- # @return [Boolean]
1483
- attr_accessor :stop_syncing
1484
- alias_method :stop_syncing?, :stop_syncing
1485
-
1486
- def initialize(**args)
1487
- update!(**args)
1488
- end
1489
-
1490
- # Update properties of this object
1491
- def update!(**args)
1492
- @enabled = args[:enabled] if args.key?(:enabled)
1493
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1494
- end
1495
- end
1496
-
1497
1468
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
1498
1469
  # parallel the ConfigManagement CR.
1499
1470
  class ConfigManagementMembershipSpec
@@ -1524,6 +1495,11 @@ module Google
1524
1495
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
1525
1496
  attr_accessor :hierarchy_controller
1526
1497
 
1498
+ # Enables automatic Feature management.
1499
+ # Corresponds to the JSON property `management`
1500
+ # @return [String]
1501
+ attr_accessor :management
1502
+
1527
1503
  # Configuration for Policy Controller
1528
1504
  # Corresponds to the JSON property `policyController`
1529
1505
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
@@ -1544,6 +1520,7 @@ module Google
1544
1520
  @cluster = args[:cluster] if args.key?(:cluster)
1545
1521
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1546
1522
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1523
+ @management = args[:management] if args.key?(:management)
1547
1524
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1548
1525
  @version = args[:version] if args.key?(:version)
1549
1526
  end
@@ -1610,7 +1587,7 @@ module Google
1610
1587
  class ConfigManagementOciConfig
1611
1588
  include Google::Apis::Core::Hashable
1612
1589
 
1613
- # The GCP Service Account Email used for auth when secret_type is
1590
+ # The Google Cloud Service Account Email used for auth when secret_type is
1614
1591
  # gcpServiceAccount.
1615
1592
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1616
1593
  # @return [String]
@@ -1739,6 +1716,11 @@ module Google
1739
1716
  attr_accessor :template_library_installed
1740
1717
  alias_method :template_library_installed?, :template_library_installed
1741
1718
 
1719
+ # Output only. Last time this membership spec was updated.
1720
+ # Corresponds to the JSON property `updateTime`
1721
+ # @return [String]
1722
+ attr_accessor :update_time
1723
+
1742
1724
  def initialize(**args)
1743
1725
  update!(**args)
1744
1726
  end
@@ -1753,6 +1735,7 @@ module Google
1753
1735
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
1754
1736
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1755
1737
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1738
+ @update_time = args[:update_time] if args.key?(:update_time)
1756
1739
  end
1757
1740
  end
1758
1741
 
@@ -1760,6 +1743,11 @@ module Google
1760
1743
  class ConfigManagementPolicyControllerMigration
1761
1744
  include Google::Apis::Core::Hashable
1762
1745
 
1746
+ # Last time this membership spec was copied to PoCo feature.
1747
+ # Corresponds to the JSON property `copyTime`
1748
+ # @return [String]
1749
+ attr_accessor :copy_time
1750
+
1763
1751
  # Stage of the migration.
1764
1752
  # Corresponds to the JSON property `stage`
1765
1753
  # @return [String]
@@ -1771,6 +1759,7 @@ module Google
1771
1759
 
1772
1760
  # Update properties of this object
1773
1761
  def update!(**args)
1762
+ @copy_time = args[:copy_time] if args.key?(:copy_time)
1774
1763
  @stage = args[:stage] if args.key?(:stage)
1775
1764
  end
1776
1765
  end
@@ -2341,6 +2330,31 @@ module Google
2341
2330
  end
2342
2331
  end
2343
2332
 
2333
+ # All error details of the fleet observability feature.
2334
+ class FleetObservabilityFeatureError
2335
+ include Google::Apis::Core::Hashable
2336
+
2337
+ # The code of the error.
2338
+ # Corresponds to the JSON property `code`
2339
+ # @return [String]
2340
+ attr_accessor :code
2341
+
2342
+ # A human-readable description of the current status.
2343
+ # Corresponds to the JSON property `description`
2344
+ # @return [String]
2345
+ attr_accessor :description
2346
+
2347
+ def initialize(**args)
2348
+ update!(**args)
2349
+ end
2350
+
2351
+ # Update properties of this object
2352
+ def update!(**args)
2353
+ @code = args[:code] if args.key?(:code)
2354
+ @description = args[:description] if args.key?(:description)
2355
+ end
2356
+ end
2357
+
2344
2358
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
2345
2359
  class FleetObservabilityFeatureSpec
2346
2360
  include Google::Apis::Core::Hashable
@@ -2364,12 +2378,94 @@ module Google
2364
2378
  class FleetObservabilityFeatureState
2365
2379
  include Google::Apis::Core::Hashable
2366
2380
 
2381
+ # Feature state for logging feature.
2382
+ # Corresponds to the JSON property `logging`
2383
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState]
2384
+ attr_accessor :logging
2385
+
2386
+ # Feature state for monitoring feature.
2387
+ # Corresponds to the JSON property `monitoring`
2388
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState]
2389
+ attr_accessor :monitoring
2390
+
2367
2391
  def initialize(**args)
2368
2392
  update!(**args)
2369
2393
  end
2370
2394
 
2371
2395
  # Update properties of this object
2372
2396
  def update!(**args)
2397
+ @logging = args[:logging] if args.key?(:logging)
2398
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
2399
+ end
2400
+ end
2401
+
2402
+ # Base state for fleet observability feature.
2403
+ class FleetObservabilityFleetObservabilityBaseFeatureState
2404
+ include Google::Apis::Core::Hashable
2405
+
2406
+ # The high-level, machine-readable status of this Feature.
2407
+ # Corresponds to the JSON property `code`
2408
+ # @return [String]
2409
+ attr_accessor :code
2410
+
2411
+ # Errors after reconciling the monitoring and logging feature if the code is not
2412
+ # OK.
2413
+ # Corresponds to the JSON property `errors`
2414
+ # @return [Array<Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError>]
2415
+ attr_accessor :errors
2416
+
2417
+ def initialize(**args)
2418
+ update!(**args)
2419
+ end
2420
+
2421
+ # Update properties of this object
2422
+ def update!(**args)
2423
+ @code = args[:code] if args.key?(:code)
2424
+ @errors = args[:errors] if args.key?(:errors)
2425
+ end
2426
+ end
2427
+
2428
+ # Feature state for logging feature.
2429
+ class FleetObservabilityFleetObservabilityLoggingState
2430
+ include Google::Apis::Core::Hashable
2431
+
2432
+ # Base state for fleet observability feature.
2433
+ # Corresponds to the JSON property `defaultLog`
2434
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2435
+ attr_accessor :default_log
2436
+
2437
+ # Base state for fleet observability feature.
2438
+ # Corresponds to the JSON property `scopeLog`
2439
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2440
+ attr_accessor :scope_log
2441
+
2442
+ def initialize(**args)
2443
+ update!(**args)
2444
+ end
2445
+
2446
+ # Update properties of this object
2447
+ def update!(**args)
2448
+ @default_log = args[:default_log] if args.key?(:default_log)
2449
+ @scope_log = args[:scope_log] if args.key?(:scope_log)
2450
+ end
2451
+ end
2452
+
2453
+ # Feature state for monitoring feature.
2454
+ class FleetObservabilityFleetObservabilityMonitoringState
2455
+ include Google::Apis::Core::Hashable
2456
+
2457
+ # Base state for fleet observability feature.
2458
+ # Corresponds to the JSON property `state`
2459
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2460
+ attr_accessor :state
2461
+
2462
+ def initialize(**args)
2463
+ update!(**args)
2464
+ end
2465
+
2466
+ # Update properties of this object
2467
+ def update!(**args)
2468
+ @state = args[:state] if args.key?(:state)
2373
2469
  end
2374
2470
  end
2375
2471
 
@@ -2466,6 +2562,25 @@ module Google
2466
2562
  end
2467
2563
  end
2468
2564
 
2565
+ # Response for GenerateRBACRoleBindingYAML.
2566
+ class GenerateMembershipRbacRoleBindingYamlResponse
2567
+ include Google::Apis::Core::Hashable
2568
+
2569
+ # a yaml text blob including the RBAC policies.
2570
+ # Corresponds to the JSON property `roleBindingsYaml`
2571
+ # @return [String]
2572
+ attr_accessor :role_bindings_yaml
2573
+
2574
+ def initialize(**args)
2575
+ update!(**args)
2576
+ end
2577
+
2578
+ # Update properties of this object
2579
+ def update!(**args)
2580
+ @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
2581
+ end
2582
+ end
2583
+
2469
2584
  # GkeCluster contains information specific to GKE clusters.
2470
2585
  class GkeCluster
2471
2586
  include Google::Apis::Core::Hashable
@@ -3054,6 +3169,33 @@ module Google
3054
3169
  end
3055
3170
  end
3056
3171
 
3172
+ # List of Membership RBACRoleBindings.
3173
+ class ListMembershipRbacRoleBindingsResponse
3174
+ include Google::Apis::Core::Hashable
3175
+
3176
+ # A token to request the next page of resources from the `
3177
+ # ListMembershipRBACRoleBindings` method. The value of an empty string means
3178
+ # that there are no more resources to return.
3179
+ # Corresponds to the JSON property `nextPageToken`
3180
+ # @return [String]
3181
+ attr_accessor :next_page_token
3182
+
3183
+ # The list of Membership RBACRoleBindings.
3184
+ # Corresponds to the JSON property `rbacrolebindings`
3185
+ # @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
3186
+ attr_accessor :rbacrolebindings
3187
+
3188
+ def initialize(**args)
3189
+ update!(**args)
3190
+ end
3191
+
3192
+ # Update properties of this object
3193
+ def update!(**args)
3194
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3195
+ @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
3196
+ end
3197
+ end
3198
+
3057
3199
  # Response message for the `GkeHub.ListMemberships` method.
3058
3200
  class ListMembershipsResponse
3059
3201
  include Google::Apis::Core::Hashable
@@ -3522,12 +3664,6 @@ module Google
3522
3664
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
3523
3665
  attr_accessor :configmanagement
3524
3666
 
3525
- # True if value of `feature_spec` was inherited from a fleet-level default.
3526
- # Corresponds to the JSON property `fleetInherited`
3527
- # @return [Boolean]
3528
- attr_accessor :fleet_inherited
3529
- alias_method :fleet_inherited?, :fleet_inherited
3530
-
3531
3667
  # **FleetObservability**: The membership-specific input for FleetObservability
3532
3668
  # feature.
3533
3669
  # Corresponds to the JSON property `fleetobservability`
@@ -3544,6 +3680,11 @@ module Google
3544
3680
  # @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
3545
3681
  attr_accessor :mesh
3546
3682
 
3683
+ # Origin defines where this MembershipFeatureSpec originated from.
3684
+ # Corresponds to the JSON property `origin`
3685
+ # @return [Google::Apis::GkehubV1alpha::Origin]
3686
+ attr_accessor :origin
3687
+
3547
3688
  # **Policy Controller**: Configuration for a single cluster. Intended to
3548
3689
  # parallel the PolicyController CR.
3549
3690
  # Corresponds to the JSON property `policycontroller`
@@ -3565,10 +3706,10 @@ module Google
3565
3706
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
3566
3707
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
3567
3708
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3568
- @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
3569
3709
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3570
3710
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3571
3711
  @mesh = args[:mesh] if args.key?(:mesh)
3712
+ @origin = args[:origin] if args.key?(:origin)
3572
3713
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3573
3714
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
3574
3715
  end
@@ -4065,6 +4206,25 @@ module Google
4065
4206
  end
4066
4207
  end
4067
4208
 
4209
+ # Origin defines where this MembershipFeatureSpec originated from.
4210
+ class Origin
4211
+ include Google::Apis::Core::Hashable
4212
+
4213
+ # Type specifies which type of origin is set.
4214
+ # Corresponds to the JSON property `type`
4215
+ # @return [String]
4216
+ attr_accessor :type
4217
+
4218
+ def initialize(**args)
4219
+ update!(**args)
4220
+ end
4221
+
4222
+ # Update properties of this object
4223
+ def update!(**args)
4224
+ @type = args[:type] if args.key?(:type)
4225
+ end
4226
+ end
4227
+
4068
4228
  # An Identity and Access Management (IAM) policy, which specifies access
4069
4229
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4070
4230
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -4165,16 +4325,11 @@ module Google
4165
4325
  class PolicyControllerBundleInstallSpec
4166
4326
  include Google::Apis::Core::Hashable
4167
4327
 
4168
- # the set of namespaces to be exempted from the bundle
4328
+ # The set of namespaces to be exempted from the bundle.
4169
4329
  # Corresponds to the JSON property `exemptedNamespaces`
4170
4330
  # @return [Array<String>]
4171
4331
  attr_accessor :exempted_namespaces
4172
4332
 
4173
- # Management specifies how the bundle will be managed by the controller.
4174
- # Corresponds to the JSON property `management`
4175
- # @return [String]
4176
- attr_accessor :management
4177
-
4178
4333
  def initialize(**args)
4179
4334
  update!(**args)
4180
4335
  end
@@ -4182,7 +4337,6 @@ module Google
4182
4337
  # Update properties of this object
4183
4338
  def update!(**args)
4184
4339
  @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
4185
- @management = args[:management] if args.key?(:management)
4186
4340
  end
4187
4341
  end
4188
4342
 
@@ -4253,11 +4407,6 @@ module Google
4253
4407
  attr_accessor :referential_rules_enabled
4254
4408
  alias_method :referential_rules_enabled?, :referential_rules_enabled
4255
4409
 
4256
- # The config specifying which default library templates to install.
4257
- # Corresponds to the JSON property `templateLibraryConfig`
4258
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
4259
- attr_accessor :template_library_config
4260
-
4261
4410
  def initialize(**args)
4262
4411
  update!(**args)
4263
4412
  end
@@ -4274,7 +4423,6 @@ module Google
4274
4423
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
4275
4424
  @policy_content = args[:policy_content] if args.key?(:policy_content)
4276
4425
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
4277
- @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
4278
4426
  end
4279
4427
  end
4280
4428
 
@@ -4314,12 +4462,6 @@ module Google
4314
4462
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
4315
4463
  attr_accessor :component_states
4316
4464
 
4317
- # The state of the template library and any bundles included in the chosen
4318
- # version of the manifest
4319
- # Corresponds to the JSON property `contentStates`
4320
- # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
4321
- attr_accessor :content_states
4322
-
4323
4465
  # The state of the policy controller policy content
4324
4466
  # Corresponds to the JSON property `policyContentState`
4325
4467
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState]
@@ -4338,7 +4480,6 @@ module Google
4338
4480
  # Update properties of this object
4339
4481
  def update!(**args)
4340
4482
  @component_states = args[:component_states] if args.key?(:component_states)
4341
- @content_states = args[:content_states] if args.key?(:content_states)
4342
4483
  @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
4343
4484
  @state = args[:state] if args.key?(:state)
4344
4485
  end
@@ -4428,6 +4569,11 @@ module Google
4428
4569
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
4429
4570
  attr_accessor :bundle_states
4430
4571
 
4572
+ # OnClusterState represents the state of a sub-component of Policy Controller.
4573
+ # Corresponds to the JSON property `referentialSyncConfigState`
4574
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState]
4575
+ attr_accessor :referential_sync_config_state
4576
+
4431
4577
  # OnClusterState represents the state of a sub-component of Policy Controller.
4432
4578
  # Corresponds to the JSON property `templateLibraryState`
4433
4579
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState]
@@ -4440,6 +4586,7 @@ module Google
4440
4586
  # Update properties of this object
4441
4587
  def update!(**args)
4442
4588
  @bundle_states = args[:bundle_states] if args.key?(:bundle_states)
4589
+ @referential_sync_config_state = args[:referential_sync_config_state] if args.key?(:referential_sync_config_state)
4443
4590
  @template_library_state = args[:template_library_state] if args.key?(:template_library_state)
4444
4591
  end
4445
4592
  end
@@ -4453,6 +4600,11 @@ module Google
4453
4600
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements]
4454
4601
  attr_accessor :container_resources
4455
4602
 
4603
+ # Pod affinity configuration.
4604
+ # Corresponds to the JSON property `podAffinity`
4605
+ # @return [String]
4606
+ attr_accessor :pod_affinity
4607
+
4456
4608
  # Pod anti-affinity enablement.
4457
4609
  # Corresponds to the JSON property `podAntiAffinity`
4458
4610
  # @return [Boolean]
@@ -4476,6 +4628,7 @@ module Google
4476
4628
  # Update properties of this object
4477
4629
  def update!(**args)
4478
4630
  @container_resources = args[:container_resources] if args.key?(:container_resources)
4631
+ @pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
4479
4632
  @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
4480
4633
  @pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
4481
4634
  @replica_count = args[:replica_count] if args.key?(:replica_count)
@@ -4536,12 +4689,6 @@ module Google
4536
4689
  class PolicyControllerTemplateLibraryConfig
4537
4690
  include Google::Apis::Core::Hashable
4538
4691
 
4539
- # Whether the standard template library should be installed or not.
4540
- # Corresponds to the JSON property `included`
4541
- # @return [Boolean]
4542
- attr_accessor :included
4543
- alias_method :included?, :included
4544
-
4545
4692
  # Configures the manner in which the template library is installed on the
4546
4693
  # cluster.
4547
4694
  # Corresponds to the JSON property `installation`
@@ -4554,7 +4701,6 @@ module Google
4554
4701
 
4555
4702
  # Update properties of this object
4556
4703
  def update!(**args)
4557
- @included = args[:included] if args.key?(:included)
4558
4704
  @installation = args[:installation] if args.key?(:installation)
4559
4705
  end
4560
4706
  end
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.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 = "20230606"
25
+ REVISION = "20230627"
26
26
  end
27
27
  end
28
28
  end
@@ -286,12 +286,6 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
- class ConfigManagementManaged
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
289
  class ConfigManagementMembershipSpec
296
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
291
 
@@ -418,6 +412,12 @@ module Google
418
412
  include Google::Apis::Core::JsonObjectSupport
419
413
  end
420
414
 
415
+ class FleetObservabilityFeatureError
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
421
  class FleetObservabilityFeatureSpec
422
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
423
 
@@ -430,6 +430,24 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
+ class FleetObservabilityFleetObservabilityBaseFeatureState
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class FleetObservabilityFleetObservabilityLoggingState
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class FleetObservabilityFleetObservabilityMonitoringState
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
433
451
  class FleetObservabilityLoggingConfig
434
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
453
 
@@ -460,6 +478,12 @@ module Google
460
478
  include Google::Apis::Core::JsonObjectSupport
461
479
  end
462
480
 
481
+ class GenerateMembershipRbacRoleBindingYamlResponse
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
463
487
  class GkeCluster
464
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
489
 
@@ -550,6 +574,12 @@ module Google
550
574
  include Google::Apis::Core::JsonObjectSupport
551
575
  end
552
576
 
577
+ class ListMembershipRbacRoleBindingsResponse
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
553
583
  class ListMembershipsResponse
554
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
585
 
@@ -688,6 +718,12 @@ module Google
688
718
  include Google::Apis::Core::JsonObjectSupport
689
719
  end
690
720
 
721
+ class Origin
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
691
727
  class Policy
692
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
729
 
@@ -1210,13 +1246,12 @@ module Google
1210
1246
  property :enabled, as: 'enabled'
1211
1247
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
1212
1248
 
1213
- property :managed, as: 'managed', class: Google::Apis::GkehubV1alpha::ConfigManagementManaged, decorator: Google::Apis::GkehubV1alpha::ConfigManagementManaged::Representation
1214
-
1215
1249
  property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
1216
1250
  property :oci, as: 'oci', class: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig::Representation
1217
1251
 
1218
1252
  property :prevent_drift, as: 'preventDrift'
1219
1253
  property :source_format, as: 'sourceFormat'
1254
+ property :stop_syncing, as: 'stopSyncing'
1220
1255
  end
1221
1256
  end
1222
1257
 
@@ -1352,14 +1387,6 @@ module Google
1352
1387
  end
1353
1388
  end
1354
1389
 
1355
- class ConfigManagementManaged
1356
- # @private
1357
- class Representation < Google::Apis::Core::JsonRepresentation
1358
- property :enabled, as: 'enabled'
1359
- property :stop_syncing, as: 'stopSyncing'
1360
- end
1361
- end
1362
-
1363
1390
  class ConfigManagementMembershipSpec
1364
1391
  # @private
1365
1392
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1370,6 +1397,7 @@ module Google
1370
1397
 
1371
1398
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
1372
1399
 
1400
+ property :management, as: 'management'
1373
1401
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
1374
1402
 
1375
1403
  property :version, as: 'version'
@@ -1428,12 +1456,14 @@ module Google
1428
1456
  property :mutation_enabled, as: 'mutationEnabled'
1429
1457
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1430
1458
  property :template_library_installed, as: 'templateLibraryInstalled'
1459
+ property :update_time, as: 'updateTime'
1431
1460
  end
1432
1461
  end
1433
1462
 
1434
1463
  class ConfigManagementPolicyControllerMigration
1435
1464
  # @private
1436
1465
  class Representation < Google::Apis::Core::JsonRepresentation
1466
+ property :copy_time, as: 'copyTime'
1437
1467
  property :stage, as: 'stage'
1438
1468
  end
1439
1469
  end
@@ -1593,6 +1623,14 @@ module Google
1593
1623
  end
1594
1624
  end
1595
1625
 
1626
+ class FleetObservabilityFeatureError
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ property :code, as: 'code'
1630
+ property :description, as: 'description'
1631
+ end
1632
+ end
1633
+
1596
1634
  class FleetObservabilityFeatureSpec
1597
1635
  # @private
1598
1636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1604,6 +1642,37 @@ module Google
1604
1642
  class FleetObservabilityFeatureState
1605
1643
  # @private
1606
1644
  class Representation < Google::Apis::Core::JsonRepresentation
1645
+ property :logging, as: 'logging', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState::Representation
1646
+
1647
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState::Representation
1648
+
1649
+ end
1650
+ end
1651
+
1652
+ class FleetObservabilityFleetObservabilityBaseFeatureState
1653
+ # @private
1654
+ class Representation < Google::Apis::Core::JsonRepresentation
1655
+ property :code, as: 'code'
1656
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError::Representation
1657
+
1658
+ end
1659
+ end
1660
+
1661
+ class FleetObservabilityFleetObservabilityLoggingState
1662
+ # @private
1663
+ class Representation < Google::Apis::Core::JsonRepresentation
1664
+ property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1665
+
1666
+ property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1667
+
1668
+ end
1669
+ end
1670
+
1671
+ class FleetObservabilityFleetObservabilityMonitoringState
1672
+ # @private
1673
+ class Representation < Google::Apis::Core::JsonRepresentation
1674
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1675
+
1607
1676
  end
1608
1677
  end
1609
1678
 
@@ -1644,6 +1713,13 @@ module Google
1644
1713
  end
1645
1714
  end
1646
1715
 
1716
+ class GenerateMembershipRbacRoleBindingYamlResponse
1717
+ # @private
1718
+ class Representation < Google::Apis::Core::JsonRepresentation
1719
+ property :role_bindings_yaml, as: 'roleBindingsYaml'
1720
+ end
1721
+ end
1722
+
1647
1723
  class GkeCluster
1648
1724
  # @private
1649
1725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1803,6 +1879,15 @@ module Google
1803
1879
  end
1804
1880
  end
1805
1881
 
1882
+ class ListMembershipRbacRoleBindingsResponse
1883
+ # @private
1884
+ class Representation < Google::Apis::Core::JsonRepresentation
1885
+ property :next_page_token, as: 'nextPageToken'
1886
+ collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1887
+
1888
+ end
1889
+ end
1890
+
1806
1891
  class ListMembershipsResponse
1807
1892
  # @private
1808
1893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1935,13 +2020,14 @@ module Google
1935
2020
 
1936
2021
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
1937
2022
 
1938
- property :fleet_inherited, as: 'fleetInherited'
1939
2023
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec::Representation
1940
2024
 
1941
2025
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
1942
2026
 
1943
2027
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
1944
2028
 
2029
+ property :origin, as: 'origin', class: Google::Apis::GkehubV1alpha::Origin, decorator: Google::Apis::GkehubV1alpha::Origin::Representation
2030
+
1945
2031
  property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1946
2032
 
1947
2033
  property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
@@ -2078,6 +2164,13 @@ module Google
2078
2164
  end
2079
2165
  end
2080
2166
 
2167
+ class Origin
2168
+ # @private
2169
+ class Representation < Google::Apis::Core::JsonRepresentation
2170
+ property :type, as: 'type'
2171
+ end
2172
+ end
2173
+
2081
2174
  class Policy
2082
2175
  # @private
2083
2176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2094,7 +2187,6 @@ module Google
2094
2187
  # @private
2095
2188
  class Representation < Google::Apis::Core::JsonRepresentation
2096
2189
  collection :exempted_namespaces, as: 'exemptedNamespaces'
2097
- property :management, as: 'management'
2098
2190
  end
2099
2191
  end
2100
2192
 
@@ -2114,8 +2206,6 @@ module Google
2114
2206
  property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
2115
2207
 
2116
2208
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
2117
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
2118
-
2119
2209
  end
2120
2210
  end
2121
2211
 
@@ -2133,8 +2223,6 @@ module Google
2133
2223
  class Representation < Google::Apis::Core::JsonRepresentation
2134
2224
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2135
2225
 
2136
- hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2137
-
2138
2226
  property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState::Representation
2139
2227
 
2140
2228
  property :state, as: 'state'
@@ -2171,6 +2259,8 @@ module Google
2171
2259
  class Representation < Google::Apis::Core::JsonRepresentation
2172
2260
  hash :bundle_states, as: 'bundleStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2173
2261
 
2262
+ property :referential_sync_config_state, as: 'referentialSyncConfigState', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2263
+
2174
2264
  property :template_library_state, as: 'templateLibraryState', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2175
2265
 
2176
2266
  end
@@ -2181,6 +2271,7 @@ module Google
2181
2271
  class Representation < Google::Apis::Core::JsonRepresentation
2182
2272
  property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements::Representation
2183
2273
 
2274
+ property :pod_affinity, as: 'podAffinity'
2184
2275
  property :pod_anti_affinity, as: 'podAntiAffinity'
2185
2276
  collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1alpha::PolicyControllerToleration, decorator: Google::Apis::GkehubV1alpha::PolicyControllerToleration::Representation
2186
2277
 
@@ -2209,7 +2300,6 @@ module Google
2209
2300
  class PolicyControllerTemplateLibraryConfig
2210
2301
  # @private
2211
2302
  class Representation < Google::Apis::Core::JsonRepresentation
2212
- property :included, as: 'included'
2213
2303
  property :installation, as: 'installation'
2214
2304
  end
2215
2305
  end
@@ -1377,6 +1377,231 @@ module Google
1377
1377
  execute_or_queue_command(command, &block)
1378
1378
  end
1379
1379
 
1380
+ # Creates a Membership RBACRoleBinding.
1381
+ # @param [String] parent
1382
+ # Required. The parent (project and location) where the RBACRoleBinding will be
1383
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
1384
+ # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1385
+ # @param [String] rbacrolebinding_id
1386
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1387
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1388
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1389
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1390
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1391
+ # @param [String] fields
1392
+ # Selector specifying which fields to include in a partial response.
1393
+ # @param [String] quota_user
1394
+ # Available to use for quota purposes for server-side applications. Can be any
1395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1396
+ # @param [Google::Apis::RequestOptions] options
1397
+ # Request-specific options
1398
+ #
1399
+ # @yield [result, err] Result & error if block supplied
1400
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1401
+ # @yieldparam err [StandardError] error object if request failed
1402
+ #
1403
+ # @return [Google::Apis::GkehubV1alpha::Operation]
1404
+ #
1405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1408
+ def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1409
+ command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings', options)
1410
+ command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1411
+ command.request_object = rbac_role_binding_object
1412
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1413
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
1414
+ command.params['parent'] = parent unless parent.nil?
1415
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1416
+ command.query['fields'] = fields unless fields.nil?
1417
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
+ execute_or_queue_command(command, &block)
1419
+ end
1420
+
1421
+ # Deletes a Membership RBACRoleBinding.
1422
+ # @param [String] name
1423
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1424
+ # locations/*/memberships/*/rbacrolebindings/*`.
1425
+ # @param [String] fields
1426
+ # Selector specifying which fields to include in a partial response.
1427
+ # @param [String] quota_user
1428
+ # Available to use for quota purposes for server-side applications. Can be any
1429
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1430
+ # @param [Google::Apis::RequestOptions] options
1431
+ # Request-specific options
1432
+ #
1433
+ # @yield [result, err] Result & error if block supplied
1434
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1435
+ # @yieldparam err [StandardError] error object if request failed
1436
+ #
1437
+ # @return [Google::Apis::GkehubV1alpha::Operation]
1438
+ #
1439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1442
+ def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1443
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1444
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1445
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
1446
+ command.params['name'] = name unless name.nil?
1447
+ command.query['fields'] = fields unless fields.nil?
1448
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1449
+ execute_or_queue_command(command, &block)
1450
+ end
1451
+
1452
+ # Generates a YAML of the RBAC policies for the specified RoleBinding and its
1453
+ # associated impersonation resources.
1454
+ # @param [String] parent
1455
+ # Required. The parent (project and location) where the RBACRoleBinding will be
1456
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
1457
+ # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1458
+ # @param [String] rbacrolebinding_id
1459
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1460
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1461
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1462
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1463
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1464
+ # @param [String] fields
1465
+ # Selector specifying which fields to include in a partial response.
1466
+ # @param [String] quota_user
1467
+ # Available to use for quota purposes for server-side applications. Can be any
1468
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1469
+ # @param [Google::Apis::RequestOptions] options
1470
+ # Request-specific options
1471
+ #
1472
+ # @yield [result, err] Result & error if block supplied
1473
+ # @yieldparam result [Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
1474
+ # @yieldparam err [StandardError] error object if request failed
1475
+ #
1476
+ # @return [Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse]
1477
+ #
1478
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1479
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1480
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1481
+ 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)
1482
+ command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
1483
+ command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1484
+ command.request_object = rbac_role_binding_object
1485
+ command.response_representation = Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse::Representation
1486
+ command.response_class = Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse
1487
+ command.params['parent'] = parent unless parent.nil?
1488
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1489
+ command.query['fields'] = fields unless fields.nil?
1490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1491
+ execute_or_queue_command(command, &block)
1492
+ end
1493
+
1494
+ # Returns the details of a Membership RBACRoleBinding.
1495
+ # @param [String] name
1496
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1497
+ # locations/*/memberships/*/rbacrolebindings/*`.
1498
+ # @param [String] fields
1499
+ # Selector specifying which fields to include in a partial response.
1500
+ # @param [String] quota_user
1501
+ # Available to use for quota purposes for server-side applications. Can be any
1502
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1503
+ # @param [Google::Apis::RequestOptions] options
1504
+ # Request-specific options
1505
+ #
1506
+ # @yield [result, err] Result & error if block supplied
1507
+ # @yieldparam result [Google::Apis::GkehubV1alpha::RbacRoleBinding] parsed result object
1508
+ # @yieldparam err [StandardError] error object if request failed
1509
+ #
1510
+ # @return [Google::Apis::GkehubV1alpha::RbacRoleBinding]
1511
+ #
1512
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1513
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1514
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1515
+ def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1516
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1517
+ command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1518
+ command.response_class = Google::Apis::GkehubV1alpha::RbacRoleBinding
1519
+ command.params['name'] = name unless name.nil?
1520
+ command.query['fields'] = fields unless fields.nil?
1521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1522
+ execute_or_queue_command(command, &block)
1523
+ end
1524
+
1525
+ # Lists all Membership RBACRoleBindings.
1526
+ # @param [String] parent
1527
+ # Required. The parent (project and location) where the Features will be listed.
1528
+ # Specified in the format `projects/*/locations/*/memberships/*`.
1529
+ # @param [Fixnum] page_size
1530
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1531
+ # of resources to return. If unspecified or set to 0, all resources will be
1532
+ # returned.
1533
+ # @param [String] page_token
1534
+ # Optional. Token returned by previous call to `ListMembershipRBACRoleBindings`
1535
+ # which specifies the position in the list from where to continue listing the
1536
+ # resources.
1537
+ # @param [String] fields
1538
+ # Selector specifying which fields to include in a partial response.
1539
+ # @param [String] quota_user
1540
+ # Available to use for quota purposes for server-side applications. Can be any
1541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1542
+ # @param [Google::Apis::RequestOptions] options
1543
+ # Request-specific options
1544
+ #
1545
+ # @yield [result, err] Result & error if block supplied
1546
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse] parsed result object
1547
+ # @yieldparam err [StandardError] error object if request failed
1548
+ #
1549
+ # @return [Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse]
1550
+ #
1551
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1552
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1553
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1554
+ def list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1555
+ command = make_simple_command(:get, 'v1alpha/{+parent}/rbacrolebindings', options)
1556
+ command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse::Representation
1557
+ command.response_class = Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse
1558
+ command.params['parent'] = parent unless parent.nil?
1559
+ command.query['pageSize'] = page_size unless page_size.nil?
1560
+ command.query['pageToken'] = page_token unless page_token.nil?
1561
+ command.query['fields'] = fields unless fields.nil?
1562
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1563
+ execute_or_queue_command(command, &block)
1564
+ end
1565
+
1566
+ # Updates a Membership RBACRoleBinding.
1567
+ # @param [String] name
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``
1572
+ # @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
1573
+ # @param [String] update_mask
1574
+ # Required. The fields to be updated.
1575
+ # @param [String] fields
1576
+ # Selector specifying which fields to include in a partial response.
1577
+ # @param [String] quota_user
1578
+ # Available to use for quota purposes for server-side applications. Can be any
1579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1580
+ # @param [Google::Apis::RequestOptions] options
1581
+ # Request-specific options
1582
+ #
1583
+ # @yield [result, err] Result & error if block supplied
1584
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1585
+ # @yieldparam err [StandardError] error object if request failed
1586
+ #
1587
+ # @return [Google::Apis::GkehubV1alpha::Operation]
1588
+ #
1589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1592
+ def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1593
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1594
+ command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1595
+ command.request_object = rbac_role_binding_object
1596
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1597
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
1598
+ command.params['name'] = name unless name.nil?
1599
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1600
+ command.query['fields'] = fields unless fields.nil?
1601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1602
+ execute_or_queue_command(command, &block)
1603
+ end
1604
+
1380
1605
  # Creates a fleet namespace.
1381
1606
  # @param [String] parent
1382
1607
  # 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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.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-11 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.57.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: []