google-apis-gkehub_v1alpha 0.56.0 → 0.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6419161ce67364e458af313d7f47a9d7c39c693ad5e83971564e8a6943271e41
4
- data.tar.gz: 0dd36387fcd5e123af8d367f8dc805a9e54d3995c07bfae0734784a0f7d6d6c7
3
+ metadata.gz: e2d571db75c05df5a951c2c4f41f2abf273510350aaee2e8585e2bc663cc4205
4
+ data.tar.gz: d28d44f577a5a372cc88fa30f44a5b18c79684c090c7e70aa8d344dec64f21b5
5
5
  SHA512:
6
- metadata.gz: 106dd4f86bf68898c1c78ee619fe09c29dc164dbca928eff9e09e625b2c35487bb08497ef962e62391ff40a9d6dfd47e4fea7d8ccc01575dece68a07a631757e
7
- data.tar.gz: c94c5fdab355602446a7ea8eccef6e651fe3554cffa918509667122ce62f9c4d466a2157d13d3aebfa4b154215b46bd3a55ca961e307facde1fa4ad9caef9cbf
6
+ metadata.gz: c6d6ffe6fbfd0208d27525486822e254fe2727934c9f4a2bb2d737503af0d1cc86bdd9349b7d441bcb5937b296d4169c0a730aa38471755ad2581c2dc7eb4b8f
7
+ data.tar.gz: 9eb972ee998f18851ac7b317d4c43486cb9db3f42fb24de97738e9e4ecd6f8162a35d1098bc5466b24d9d871bcee231a3d62ac749c036cba6d3c7a5ba8709bf6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.58.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230707
6
+
7
+ ### v0.57.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230627
10
+
3
11
  ### v0.56.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230609
@@ -470,6 +470,11 @@ module Google
470
470
  # @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState>]
471
471
  attr_accessor :state
472
472
 
473
+ # Upgrade state. It will eventually replace `state`.
474
+ # Corresponds to the JSON property `upgradeState`
475
+ # @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState>]
476
+ attr_accessor :upgrade_state
477
+
473
478
  def initialize(**args)
474
479
  update!(**args)
475
480
  end
@@ -478,6 +483,7 @@ module Google
478
483
  def update!(**args)
479
484
  @conditions = args[:conditions] if args.key?(:conditions)
480
485
  @state = args[:state] if args.key?(:state)
486
+ @upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
481
487
  end
482
488
  end
483
489
 
@@ -508,6 +514,37 @@ module Google
508
514
  end
509
515
  end
510
516
 
517
+ # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
518
+ class ClusterUpgradeGkeUpgradeState
519
+ include Google::Apis::Core::Hashable
520
+
521
+ # Number of GKE clusters in each status code.
522
+ # Corresponds to the JSON property `stats`
523
+ # @return [Hash<String,Fixnum>]
524
+ attr_accessor :stats
525
+
526
+ # UpgradeStatus provides status information for each upgrade.
527
+ # Corresponds to the JSON property `status`
528
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus]
529
+ attr_accessor :status
530
+
531
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
532
+ # Corresponds to the JSON property `upgrade`
533
+ # @return [Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade]
534
+ attr_accessor :upgrade
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @stats = args[:stats] if args.key?(:stats)
543
+ @status = args[:status] if args.key?(:status)
544
+ @upgrade = args[:upgrade] if args.key?(:upgrade)
545
+ end
546
+ end
547
+
511
548
  # IgnoredMembership represents a membership ignored by the feature. A membership
512
549
  # can be ignored because it was manually upgraded to a newer version than RC
513
550
  # default.
@@ -940,11 +977,9 @@ module Google
940
977
 
941
978
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
942
979
  # 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).
980
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
981
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
982
+ # depends on the presence of the git or oci field.
948
983
  # Corresponds to the JSON property `enabled`
949
984
  # @return [Boolean]
950
985
  attr_accessor :enabled
@@ -955,17 +990,12 @@ module Google
955
990
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
956
991
  attr_accessor :git
957
992
 
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
993
+ # The Email of the Google Cloud Service Account (GSA) used for exporting Config
994
+ # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
965
995
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
966
996
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
967
997
  # namespace `config-management-monitoring` should be binded to the GSA. This
968
- # field is required when Managed Config Sync is enabled.
998
+ # field is required when automatic Feature management is enabled.
969
999
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
970
1000
  # @return [String]
971
1001
  attr_accessor :metrics_gcp_service_account_email
@@ -989,6 +1019,14 @@ module Google
989
1019
  # @return [String]
990
1020
  attr_accessor :source_format
991
1021
 
1022
+ # Set to true to stop syncing configs for a single cluster when automatic
1023
+ # Feature management is enabled. Default to false. The field will be ignored
1024
+ # when automatic Feature management is disabled.
1025
+ # Corresponds to the JSON property `stopSyncing`
1026
+ # @return [Boolean]
1027
+ attr_accessor :stop_syncing
1028
+ alias_method :stop_syncing?, :stop_syncing
1029
+
992
1030
  def initialize(**args)
993
1031
  update!(**args)
994
1032
  end
@@ -998,11 +1036,11 @@ module Google
998
1036
  @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
999
1037
  @enabled = args[:enabled] if args.key?(:enabled)
1000
1038
  @git = args[:git] if args.key?(:git)
1001
- @managed = args[:managed] if args.key?(:managed)
1002
1039
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
1003
1040
  @oci = args[:oci] if args.key?(:oci)
1004
1041
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
1005
1042
  @source_format = args[:source_format] if args.key?(:source_format)
1043
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1006
1044
  end
1007
1045
  end
1008
1046
 
@@ -1244,7 +1282,7 @@ module Google
1244
1282
  class ConfigManagementGitConfig
1245
1283
  include Google::Apis::Core::Hashable
1246
1284
 
1247
- # The GCP Service Account Email used for auth when secret_type is
1285
+ # The Google Cloud Service Account Email used for auth when secret_type is
1248
1286
  # gcpServiceAccount.
1249
1287
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1250
1288
  # @return [String]
@@ -1464,36 +1502,6 @@ module Google
1464
1502
  end
1465
1503
  end
1466
1504
 
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
1505
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
1498
1506
  # parallel the ConfigManagement CR.
1499
1507
  class ConfigManagementMembershipSpec
@@ -1524,6 +1532,11 @@ module Google
1524
1532
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
1525
1533
  attr_accessor :hierarchy_controller
1526
1534
 
1535
+ # Enables automatic Feature management.
1536
+ # Corresponds to the JSON property `management`
1537
+ # @return [String]
1538
+ attr_accessor :management
1539
+
1527
1540
  # Configuration for Policy Controller
1528
1541
  # Corresponds to the JSON property `policyController`
1529
1542
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
@@ -1544,6 +1557,7 @@ module Google
1544
1557
  @cluster = args[:cluster] if args.key?(:cluster)
1545
1558
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1546
1559
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1560
+ @management = args[:management] if args.key?(:management)
1547
1561
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1548
1562
  @version = args[:version] if args.key?(:version)
1549
1563
  end
@@ -1610,7 +1624,7 @@ module Google
1610
1624
  class ConfigManagementOciConfig
1611
1625
  include Google::Apis::Core::Hashable
1612
1626
 
1613
- # The GCP Service Account Email used for auth when secret_type is
1627
+ # The Google Cloud Service Account Email used for auth when secret_type is
1614
1628
  # gcpServiceAccount.
1615
1629
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1616
1630
  # @return [String]
@@ -2294,6 +2308,11 @@ module Google
2294
2308
  # @return [String]
2295
2309
  attr_accessor :display_name
2296
2310
 
2311
+ # Optional. Labels for this Fleet.
2312
+ # Corresponds to the JSON property `labels`
2313
+ # @return [Hash<String,String>]
2314
+ attr_accessor :labels
2315
+
2297
2316
  # Output only. The full, unique resource name of this fleet in the format of `
2298
2317
  # projects/`project`/locations/`location`/fleets/`fleet``. Each Google Cloud
2299
2318
  # project can have at most one fleet resource, named "default".
@@ -2327,6 +2346,7 @@ module Google
2327
2346
  @create_time = args[:create_time] if args.key?(:create_time)
2328
2347
  @delete_time = args[:delete_time] if args.key?(:delete_time)
2329
2348
  @display_name = args[:display_name] if args.key?(:display_name)
2349
+ @labels = args[:labels] if args.key?(:labels)
2330
2350
  @name = args[:name] if args.key?(:name)
2331
2351
  @state = args[:state] if args.key?(:state)
2332
2352
  @uid = args[:uid] if args.key?(:uid)
@@ -2353,6 +2373,31 @@ module Google
2353
2373
  end
2354
2374
  end
2355
2375
 
2376
+ # All error details of the fleet observability feature.
2377
+ class FleetObservabilityFeatureError
2378
+ include Google::Apis::Core::Hashable
2379
+
2380
+ # The code of the error.
2381
+ # Corresponds to the JSON property `code`
2382
+ # @return [String]
2383
+ attr_accessor :code
2384
+
2385
+ # A human-readable description of the current status.
2386
+ # Corresponds to the JSON property `description`
2387
+ # @return [String]
2388
+ attr_accessor :description
2389
+
2390
+ def initialize(**args)
2391
+ update!(**args)
2392
+ end
2393
+
2394
+ # Update properties of this object
2395
+ def update!(**args)
2396
+ @code = args[:code] if args.key?(:code)
2397
+ @description = args[:description] if args.key?(:description)
2398
+ end
2399
+ end
2400
+
2356
2401
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
2357
2402
  class FleetObservabilityFeatureSpec
2358
2403
  include Google::Apis::Core::Hashable
@@ -2376,12 +2421,94 @@ module Google
2376
2421
  class FleetObservabilityFeatureState
2377
2422
  include Google::Apis::Core::Hashable
2378
2423
 
2424
+ # Feature state for logging feature.
2425
+ # Corresponds to the JSON property `logging`
2426
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState]
2427
+ attr_accessor :logging
2428
+
2429
+ # Feature state for monitoring feature.
2430
+ # Corresponds to the JSON property `monitoring`
2431
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState]
2432
+ attr_accessor :monitoring
2433
+
2434
+ def initialize(**args)
2435
+ update!(**args)
2436
+ end
2437
+
2438
+ # Update properties of this object
2439
+ def update!(**args)
2440
+ @logging = args[:logging] if args.key?(:logging)
2441
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
2442
+ end
2443
+ end
2444
+
2445
+ # Base state for fleet observability feature.
2446
+ class FleetObservabilityFleetObservabilityBaseFeatureState
2447
+ include Google::Apis::Core::Hashable
2448
+
2449
+ # The high-level, machine-readable status of this Feature.
2450
+ # Corresponds to the JSON property `code`
2451
+ # @return [String]
2452
+ attr_accessor :code
2453
+
2454
+ # Errors after reconciling the monitoring and logging feature if the code is not
2455
+ # OK.
2456
+ # Corresponds to the JSON property `errors`
2457
+ # @return [Array<Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError>]
2458
+ attr_accessor :errors
2459
+
2379
2460
  def initialize(**args)
2380
2461
  update!(**args)
2381
2462
  end
2382
2463
 
2383
2464
  # Update properties of this object
2384
2465
  def update!(**args)
2466
+ @code = args[:code] if args.key?(:code)
2467
+ @errors = args[:errors] if args.key?(:errors)
2468
+ end
2469
+ end
2470
+
2471
+ # Feature state for logging feature.
2472
+ class FleetObservabilityFleetObservabilityLoggingState
2473
+ include Google::Apis::Core::Hashable
2474
+
2475
+ # Base state for fleet observability feature.
2476
+ # Corresponds to the JSON property `defaultLog`
2477
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2478
+ attr_accessor :default_log
2479
+
2480
+ # Base state for fleet observability feature.
2481
+ # Corresponds to the JSON property `scopeLog`
2482
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2483
+ attr_accessor :scope_log
2484
+
2485
+ def initialize(**args)
2486
+ update!(**args)
2487
+ end
2488
+
2489
+ # Update properties of this object
2490
+ def update!(**args)
2491
+ @default_log = args[:default_log] if args.key?(:default_log)
2492
+ @scope_log = args[:scope_log] if args.key?(:scope_log)
2493
+ end
2494
+ end
2495
+
2496
+ # Feature state for monitoring feature.
2497
+ class FleetObservabilityFleetObservabilityMonitoringState
2498
+ include Google::Apis::Core::Hashable
2499
+
2500
+ # Base state for fleet observability feature.
2501
+ # Corresponds to the JSON property `state`
2502
+ # @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
2503
+ attr_accessor :state
2504
+
2505
+ def initialize(**args)
2506
+ update!(**args)
2507
+ end
2508
+
2509
+ # Update properties of this object
2510
+ def update!(**args)
2511
+ @state = args[:state] if args.key?(:state)
2385
2512
  end
2386
2513
  end
2387
2514
 
@@ -2478,6 +2605,25 @@ module Google
2478
2605
  end
2479
2606
  end
2480
2607
 
2608
+ # Response for GenerateRBACRoleBindingYAML.
2609
+ class GenerateMembershipRbacRoleBindingYamlResponse
2610
+ include Google::Apis::Core::Hashable
2611
+
2612
+ # a yaml text blob including the RBAC policies.
2613
+ # Corresponds to the JSON property `roleBindingsYaml`
2614
+ # @return [String]
2615
+ attr_accessor :role_bindings_yaml
2616
+
2617
+ def initialize(**args)
2618
+ update!(**args)
2619
+ end
2620
+
2621
+ # Update properties of this object
2622
+ def update!(**args)
2623
+ @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
2624
+ end
2625
+ end
2626
+
2481
2627
  # GkeCluster contains information specific to GKE clusters.
2482
2628
  class GkeCluster
2483
2629
  include Google::Apis::Core::Hashable
@@ -2623,6 +2769,11 @@ module Google
2623
2769
  # @return [String]
2624
2770
  attr_accessor :tenant
2625
2771
 
2772
+ # Optional. Claim in the AzureAD ID Token that holds the user details.
2773
+ # Corresponds to the JSON property `userClaim`
2774
+ # @return [String]
2775
+ attr_accessor :user_claim
2776
+
2626
2777
  def initialize(**args)
2627
2778
  update!(**args)
2628
2779
  end
@@ -2634,6 +2785,7 @@ module Google
2634
2785
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2635
2786
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2636
2787
  @tenant = args[:tenant] if args.key?(:tenant)
2788
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
2637
2789
  end
2638
2790
  end
2639
2791
 
@@ -3066,6 +3218,33 @@ module Google
3066
3218
  end
3067
3219
  end
3068
3220
 
3221
+ # List of Membership RBACRoleBindings.
3222
+ class ListMembershipRbacRoleBindingsResponse
3223
+ include Google::Apis::Core::Hashable
3224
+
3225
+ # A token to request the next page of resources from the `
3226
+ # ListMembershipRBACRoleBindings` method. The value of an empty string means
3227
+ # that there are no more resources to return.
3228
+ # Corresponds to the JSON property `nextPageToken`
3229
+ # @return [String]
3230
+ attr_accessor :next_page_token
3231
+
3232
+ # The list of Membership RBACRoleBindings.
3233
+ # Corresponds to the JSON property `rbacrolebindings`
3234
+ # @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
3235
+ attr_accessor :rbacrolebindings
3236
+
3237
+ def initialize(**args)
3238
+ update!(**args)
3239
+ end
3240
+
3241
+ # Update properties of this object
3242
+ def update!(**args)
3243
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3244
+ @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
3245
+ end
3246
+ end
3247
+
3069
3248
  # Response message for the `GkeHub.ListMemberships` method.
3070
3249
  class ListMembershipsResponse
3071
3250
  include Google::Apis::Core::Hashable
@@ -3382,6 +3561,11 @@ module Google
3382
3561
  attr_accessor :fleet
3383
3562
  alias_method :fleet?, :fleet
3384
3563
 
3564
+ # Optional. Labels for this MembershipBinding.
3565
+ # Corresponds to the JSON property `labels`
3566
+ # @return [Hash<String,String>]
3567
+ attr_accessor :labels
3568
+
3385
3569
  # The resource name for the membershipbinding itself `projects/`project`/
3386
3570
  # locations/`location`/memberships/`membership`/bindings/`membershipbinding``
3387
3571
  # Corresponds to the JSON property `name`
@@ -3419,6 +3603,7 @@ module Google
3419
3603
  @create_time = args[:create_time] if args.key?(:create_time)
3420
3604
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3421
3605
  @fleet = args[:fleet] if args.key?(:fleet)
3606
+ @labels = args[:labels] if args.key?(:labels)
3422
3607
  @name = args[:name] if args.key?(:name)
3423
3608
  @scope = args[:scope] if args.key?(:scope)
3424
3609
  @state = args[:state] if args.key?(:state)
@@ -3534,12 +3719,6 @@ module Google
3534
3719
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
3535
3720
  attr_accessor :configmanagement
3536
3721
 
3537
- # True if value of `feature_spec` was inherited from a fleet-level default.
3538
- # Corresponds to the JSON property `fleetInherited`
3539
- # @return [Boolean]
3540
- attr_accessor :fleet_inherited
3541
- alias_method :fleet_inherited?, :fleet_inherited
3542
-
3543
3722
  # **FleetObservability**: The membership-specific input for FleetObservability
3544
3723
  # feature.
3545
3724
  # Corresponds to the JSON property `fleetobservability`
@@ -3556,6 +3735,11 @@ module Google
3556
3735
  # @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
3557
3736
  attr_accessor :mesh
3558
3737
 
3738
+ # Origin defines where this MembershipFeatureSpec originated from.
3739
+ # Corresponds to the JSON property `origin`
3740
+ # @return [Google::Apis::GkehubV1alpha::Origin]
3741
+ attr_accessor :origin
3742
+
3559
3743
  # **Policy Controller**: Configuration for a single cluster. Intended to
3560
3744
  # parallel the PolicyController CR.
3561
3745
  # Corresponds to the JSON property `policycontroller`
@@ -3577,10 +3761,10 @@ module Google
3577
3761
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
3578
3762
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
3579
3763
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3580
- @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
3581
3764
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3582
3765
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3583
3766
  @mesh = args[:mesh] if args.key?(:mesh)
3767
+ @origin = args[:origin] if args.key?(:origin)
3584
3768
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3585
3769
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
3586
3770
  end
@@ -3850,6 +4034,11 @@ module Google
3850
4034
  # @return [String]
3851
4035
  attr_accessor :delete_time
3852
4036
 
4037
+ # Optional. Labels for this Namespace.
4038
+ # Corresponds to the JSON property `labels`
4039
+ # @return [Hash<String,String>]
4040
+ attr_accessor :labels
4041
+
3853
4042
  # The resource name for the namespace `projects/`project`/locations/`location`/
3854
4043
  # namespaces/`namespace``
3855
4044
  # Corresponds to the JSON property `name`
@@ -3886,6 +4075,7 @@ module Google
3886
4075
  def update!(**args)
3887
4076
  @create_time = args[:create_time] if args.key?(:create_time)
3888
4077
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4078
+ @labels = args[:labels] if args.key?(:labels)
3889
4079
  @name = args[:name] if args.key?(:name)
3890
4080
  @scope = args[:scope] if args.key?(:scope)
3891
4081
  @state = args[:state] if args.key?(:state)
@@ -4077,6 +4267,25 @@ module Google
4077
4267
  end
4078
4268
  end
4079
4269
 
4270
+ # Origin defines where this MembershipFeatureSpec originated from.
4271
+ class Origin
4272
+ include Google::Apis::Core::Hashable
4273
+
4274
+ # Type specifies which type of origin is set.
4275
+ # Corresponds to the JSON property `type`
4276
+ # @return [String]
4277
+ attr_accessor :type
4278
+
4279
+ def initialize(**args)
4280
+ update!(**args)
4281
+ end
4282
+
4283
+ # Update properties of this object
4284
+ def update!(**args)
4285
+ @type = args[:type] if args.key?(:type)
4286
+ end
4287
+ end
4288
+
4080
4289
  # An Identity and Access Management (IAM) policy, which specifies access
4081
4290
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4082
4291
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -4177,16 +4386,11 @@ module Google
4177
4386
  class PolicyControllerBundleInstallSpec
4178
4387
  include Google::Apis::Core::Hashable
4179
4388
 
4180
- # the set of namespaces to be exempted from the bundle
4389
+ # The set of namespaces to be exempted from the bundle.
4181
4390
  # Corresponds to the JSON property `exemptedNamespaces`
4182
4391
  # @return [Array<String>]
4183
4392
  attr_accessor :exempted_namespaces
4184
4393
 
4185
- # Management specifies how the bundle will be managed by the controller.
4186
- # Corresponds to the JSON property `management`
4187
- # @return [String]
4188
- attr_accessor :management
4189
-
4190
4394
  def initialize(**args)
4191
4395
  update!(**args)
4192
4396
  end
@@ -4194,7 +4398,6 @@ module Google
4194
4398
  # Update properties of this object
4195
4399
  def update!(**args)
4196
4400
  @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
4197
- @management = args[:management] if args.key?(:management)
4198
4401
  end
4199
4402
  end
4200
4403
 
@@ -4265,11 +4468,6 @@ module Google
4265
4468
  attr_accessor :referential_rules_enabled
4266
4469
  alias_method :referential_rules_enabled?, :referential_rules_enabled
4267
4470
 
4268
- # The config specifying which default library templates to install.
4269
- # Corresponds to the JSON property `templateLibraryConfig`
4270
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
4271
- attr_accessor :template_library_config
4272
-
4273
4471
  def initialize(**args)
4274
4472
  update!(**args)
4275
4473
  end
@@ -4286,7 +4484,6 @@ module Google
4286
4484
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
4287
4485
  @policy_content = args[:policy_content] if args.key?(:policy_content)
4288
4486
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
4289
- @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
4290
4487
  end
4291
4488
  end
4292
4489
 
@@ -4326,12 +4523,6 @@ module Google
4326
4523
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
4327
4524
  attr_accessor :component_states
4328
4525
 
4329
- # The state of the template library and any bundles included in the chosen
4330
- # version of the manifest
4331
- # Corresponds to the JSON property `contentStates`
4332
- # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
4333
- attr_accessor :content_states
4334
-
4335
4526
  # The state of the policy controller policy content
4336
4527
  # Corresponds to the JSON property `policyContentState`
4337
4528
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState]
@@ -4350,7 +4541,6 @@ module Google
4350
4541
  # Update properties of this object
4351
4542
  def update!(**args)
4352
4543
  @component_states = args[:component_states] if args.key?(:component_states)
4353
- @content_states = args[:content_states] if args.key?(:content_states)
4354
4544
  @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
4355
4545
  @state = args[:state] if args.key?(:state)
4356
4546
  end
@@ -4471,6 +4661,11 @@ module Google
4471
4661
  # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements]
4472
4662
  attr_accessor :container_resources
4473
4663
 
4664
+ # Pod affinity configuration.
4665
+ # Corresponds to the JSON property `podAffinity`
4666
+ # @return [String]
4667
+ attr_accessor :pod_affinity
4668
+
4474
4669
  # Pod anti-affinity enablement.
4475
4670
  # Corresponds to the JSON property `podAntiAffinity`
4476
4671
  # @return [Boolean]
@@ -4494,6 +4689,7 @@ module Google
4494
4689
  # Update properties of this object
4495
4690
  def update!(**args)
4496
4691
  @container_resources = args[:container_resources] if args.key?(:container_resources)
4692
+ @pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
4497
4693
  @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
4498
4694
  @pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
4499
4695
  @replica_count = args[:replica_count] if args.key?(:replica_count)
@@ -4554,12 +4750,6 @@ module Google
4554
4750
  class PolicyControllerTemplateLibraryConfig
4555
4751
  include Google::Apis::Core::Hashable
4556
4752
 
4557
- # Whether the standard template library should be installed or not.
4558
- # Corresponds to the JSON property `included`
4559
- # @return [Boolean]
4560
- attr_accessor :included
4561
- alias_method :included?, :included
4562
-
4563
4753
  # Configures the manner in which the template library is installed on the
4564
4754
  # cluster.
4565
4755
  # Corresponds to the JSON property `installation`
@@ -4572,7 +4762,6 @@ module Google
4572
4762
 
4573
4763
  # Update properties of this object
4574
4764
  def update!(**args)
4575
- @included = args[:included] if args.key?(:included)
4576
4765
  @installation = args[:installation] if args.key?(:installation)
4577
4766
  end
4578
4767
  end
@@ -4633,6 +4822,11 @@ module Google
4633
4822
  # @return [String]
4634
4823
  attr_accessor :group
4635
4824
 
4825
+ # Optional. Labels for this RBACRolebinding.
4826
+ # Corresponds to the JSON property `labels`
4827
+ # @return [Hash<String,String>]
4828
+ attr_accessor :labels
4829
+
4636
4830
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4637
4831
  # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4638
4832
  # projects/`project`/locations/`location`/memberships/`membership`/
@@ -4679,6 +4873,7 @@ module Google
4679
4873
  @create_time = args[:create_time] if args.key?(:create_time)
4680
4874
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4681
4875
  @group = args[:group] if args.key?(:group)
4876
+ @labels = args[:labels] if args.key?(:labels)
4682
4877
  @name = args[:name] if args.key?(:name)
4683
4878
  @role = args[:role] if args.key?(:role)
4684
4879
  @state = args[:state] if args.key?(:state)
@@ -4814,6 +5009,11 @@ module Google
4814
5009
  # @return [String]
4815
5010
  attr_accessor :delete_time
4816
5011
 
5012
+ # Optional. Labels for this Scope.
5013
+ # Corresponds to the JSON property `labels`
5014
+ # @return [Hash<String,String>]
5015
+ attr_accessor :labels
5016
+
4817
5017
  # The resource name for the scope `projects/`project`/locations/`location`/
4818
5018
  # scopes/`scope``
4819
5019
  # Corresponds to the JSON property `name`
@@ -4846,6 +5046,7 @@ module Google
4846
5046
  @all_memberships = args[:all_memberships] if args.key?(:all_memberships)
4847
5047
  @create_time = args[:create_time] if args.key?(:create_time)
4848
5048
  @delete_time = args[:delete_time] if args.key?(:delete_time)
5049
+ @labels = args[:labels] if args.key?(:labels)
4849
5050
  @name = args[:name] if args.key?(:name)
4850
5051
  @state = args[:state] if args.key?(:state)
4851
5052
  @uid = args[:uid] if args.key?(:uid)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230609"
25
+ REVISION = "20230707"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ClusterUpgradeGkeUpgradeState
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ClusterUpgradeIgnoredMembership
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -286,12 +292,6 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
289
- class ConfigManagementManaged
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
295
  class ConfigManagementMembershipSpec
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class FleetObservabilityFeatureError
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class FleetObservabilityFeatureSpec
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -430,6 +436,24 @@ module Google
430
436
  include Google::Apis::Core::JsonObjectSupport
431
437
  end
432
438
 
439
+ class FleetObservabilityFleetObservabilityBaseFeatureState
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class FleetObservabilityFleetObservabilityLoggingState
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class FleetObservabilityFleetObservabilityMonitoringState
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class FleetObservabilityLoggingConfig
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -460,6 +484,12 @@ module Google
460
484
  include Google::Apis::Core::JsonObjectSupport
461
485
  end
462
486
 
487
+ class GenerateMembershipRbacRoleBindingYamlResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
463
493
  class GkeCluster
464
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
495
 
@@ -550,6 +580,12 @@ module Google
550
580
  include Google::Apis::Core::JsonObjectSupport
551
581
  end
552
582
 
583
+ class ListMembershipRbacRoleBindingsResponse
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
553
589
  class ListMembershipsResponse
554
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
591
 
@@ -688,6 +724,12 @@ module Google
688
724
  include Google::Apis::Core::JsonObjectSupport
689
725
  end
690
726
 
727
+ class Origin
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
691
733
  class Policy
692
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
735
 
@@ -1049,6 +1091,8 @@ module Google
1049
1091
 
1050
1092
  collection :state, as: 'state', class: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState::Representation
1051
1093
 
1094
+ collection :upgrade_state, as: 'upgradeState', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState::Representation
1095
+
1052
1096
  end
1053
1097
  end
1054
1098
 
@@ -1062,6 +1106,17 @@ module Google
1062
1106
  end
1063
1107
  end
1064
1108
 
1109
+ class ClusterUpgradeGkeUpgradeState
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ hash :stats, as: 'stats'
1113
+ property :status, as: 'status', class: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus::Representation
1114
+
1115
+ property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade::Representation
1116
+
1117
+ end
1118
+ end
1119
+
1065
1120
  class ClusterUpgradeIgnoredMembership
1066
1121
  # @private
1067
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1210,13 +1265,12 @@ module Google
1210
1265
  property :enabled, as: 'enabled'
1211
1266
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
1212
1267
 
1213
- property :managed, as: 'managed', class: Google::Apis::GkehubV1alpha::ConfigManagementManaged, decorator: Google::Apis::GkehubV1alpha::ConfigManagementManaged::Representation
1214
-
1215
1268
  property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
1216
1269
  property :oci, as: 'oci', class: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig::Representation
1217
1270
 
1218
1271
  property :prevent_drift, as: 'preventDrift'
1219
1272
  property :source_format, as: 'sourceFormat'
1273
+ property :stop_syncing, as: 'stopSyncing'
1220
1274
  end
1221
1275
  end
1222
1276
 
@@ -1352,14 +1406,6 @@ module Google
1352
1406
  end
1353
1407
  end
1354
1408
 
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
1409
  class ConfigManagementMembershipSpec
1364
1410
  # @private
1365
1411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1370,6 +1416,7 @@ module Google
1370
1416
 
1371
1417
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
1372
1418
 
1419
+ property :management, as: 'management'
1373
1420
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
1374
1421
 
1375
1422
  property :version, as: 'version'
@@ -1580,6 +1627,7 @@ module Google
1580
1627
  property :create_time, as: 'createTime'
1581
1628
  property :delete_time, as: 'deleteTime'
1582
1629
  property :display_name, as: 'displayName'
1630
+ hash :labels, as: 'labels'
1583
1631
  property :name, as: 'name'
1584
1632
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1585
1633
 
@@ -1595,6 +1643,14 @@ module Google
1595
1643
  end
1596
1644
  end
1597
1645
 
1646
+ class FleetObservabilityFeatureError
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ property :code, as: 'code'
1650
+ property :description, as: 'description'
1651
+ end
1652
+ end
1653
+
1598
1654
  class FleetObservabilityFeatureSpec
1599
1655
  # @private
1600
1656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1606,6 +1662,37 @@ module Google
1606
1662
  class FleetObservabilityFeatureState
1607
1663
  # @private
1608
1664
  class Representation < Google::Apis::Core::JsonRepresentation
1665
+ property :logging, as: 'logging', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState::Representation
1666
+
1667
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState::Representation
1668
+
1669
+ end
1670
+ end
1671
+
1672
+ class FleetObservabilityFleetObservabilityBaseFeatureState
1673
+ # @private
1674
+ class Representation < Google::Apis::Core::JsonRepresentation
1675
+ property :code, as: 'code'
1676
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError::Representation
1677
+
1678
+ end
1679
+ end
1680
+
1681
+ class FleetObservabilityFleetObservabilityLoggingState
1682
+ # @private
1683
+ class Representation < Google::Apis::Core::JsonRepresentation
1684
+ property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1685
+
1686
+ property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1687
+
1688
+ end
1689
+ end
1690
+
1691
+ class FleetObservabilityFleetObservabilityMonitoringState
1692
+ # @private
1693
+ class Representation < Google::Apis::Core::JsonRepresentation
1694
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1695
+
1609
1696
  end
1610
1697
  end
1611
1698
 
@@ -1646,6 +1733,13 @@ module Google
1646
1733
  end
1647
1734
  end
1648
1735
 
1736
+ class GenerateMembershipRbacRoleBindingYamlResponse
1737
+ # @private
1738
+ class Representation < Google::Apis::Core::JsonRepresentation
1739
+ property :role_bindings_yaml, as: 'roleBindingsYaml'
1740
+ end
1741
+ end
1742
+
1649
1743
  class GkeCluster
1650
1744
  # @private
1651
1745
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1685,6 +1779,7 @@ module Google
1685
1779
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1686
1780
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1687
1781
  property :tenant, as: 'tenant'
1782
+ property :user_claim, as: 'userClaim'
1688
1783
  end
1689
1784
  end
1690
1785
 
@@ -1805,6 +1900,15 @@ module Google
1805
1900
  end
1806
1901
  end
1807
1902
 
1903
+ class ListMembershipRbacRoleBindingsResponse
1904
+ # @private
1905
+ class Representation < Google::Apis::Core::JsonRepresentation
1906
+ property :next_page_token, as: 'nextPageToken'
1907
+ collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
1908
+
1909
+ end
1910
+ end
1911
+
1808
1912
  class ListMembershipsResponse
1809
1913
  # @private
1810
1914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1891,6 +1995,7 @@ module Google
1891
1995
  property :create_time, as: 'createTime'
1892
1996
  property :delete_time, as: 'deleteTime'
1893
1997
  property :fleet, as: 'fleet'
1998
+ hash :labels, as: 'labels'
1894
1999
  property :name, as: 'name'
1895
2000
  property :scope, as: 'scope'
1896
2001
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState, decorator: Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState::Representation
@@ -1937,13 +2042,14 @@ module Google
1937
2042
 
1938
2043
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
1939
2044
 
1940
- property :fleet_inherited, as: 'fleetInherited'
1941
2045
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec::Representation
1942
2046
 
1943
2047
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
1944
2048
 
1945
2049
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
1946
2050
 
2051
+ property :origin, as: 'origin', class: Google::Apis::GkehubV1alpha::Origin, decorator: Google::Apis::GkehubV1alpha::Origin::Representation
2052
+
1947
2053
  property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1948
2054
 
1949
2055
  property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
@@ -2029,6 +2135,7 @@ module Google
2029
2135
  class Representation < Google::Apis::Core::JsonRepresentation
2030
2136
  property :create_time, as: 'createTime'
2031
2137
  property :delete_time, as: 'deleteTime'
2138
+ hash :labels, as: 'labels'
2032
2139
  property :name, as: 'name'
2033
2140
  property :scope, as: 'scope'
2034
2141
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1alpha::NamespaceLifecycleState::Representation
@@ -2080,6 +2187,13 @@ module Google
2080
2187
  end
2081
2188
  end
2082
2189
 
2190
+ class Origin
2191
+ # @private
2192
+ class Representation < Google::Apis::Core::JsonRepresentation
2193
+ property :type, as: 'type'
2194
+ end
2195
+ end
2196
+
2083
2197
  class Policy
2084
2198
  # @private
2085
2199
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2096,7 +2210,6 @@ module Google
2096
2210
  # @private
2097
2211
  class Representation < Google::Apis::Core::JsonRepresentation
2098
2212
  collection :exempted_namespaces, as: 'exemptedNamespaces'
2099
- property :management, as: 'management'
2100
2213
  end
2101
2214
  end
2102
2215
 
@@ -2116,8 +2229,6 @@ module Google
2116
2229
  property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
2117
2230
 
2118
2231
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
2119
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
2120
-
2121
2232
  end
2122
2233
  end
2123
2234
 
@@ -2135,8 +2246,6 @@ module Google
2135
2246
  class Representation < Google::Apis::Core::JsonRepresentation
2136
2247
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2137
2248
 
2138
- hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
2139
-
2140
2249
  property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState::Representation
2141
2250
 
2142
2251
  property :state, as: 'state'
@@ -2185,6 +2294,7 @@ module Google
2185
2294
  class Representation < Google::Apis::Core::JsonRepresentation
2186
2295
  property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements::Representation
2187
2296
 
2297
+ property :pod_affinity, as: 'podAffinity'
2188
2298
  property :pod_anti_affinity, as: 'podAntiAffinity'
2189
2299
  collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1alpha::PolicyControllerToleration, decorator: Google::Apis::GkehubV1alpha::PolicyControllerToleration::Representation
2190
2300
 
@@ -2213,7 +2323,6 @@ module Google
2213
2323
  class PolicyControllerTemplateLibraryConfig
2214
2324
  # @private
2215
2325
  class Representation < Google::Apis::Core::JsonRepresentation
2216
- property :included, as: 'included'
2217
2326
  property :installation, as: 'installation'
2218
2327
  end
2219
2328
  end
@@ -2234,6 +2343,7 @@ module Google
2234
2343
  property :create_time, as: 'createTime'
2235
2344
  property :delete_time, as: 'deleteTime'
2236
2345
  property :group, as: 'group'
2346
+ hash :labels, as: 'labels'
2237
2347
  property :name, as: 'name'
2238
2348
  property :role, as: 'role', class: Google::Apis::GkehubV1alpha::Role, decorator: Google::Apis::GkehubV1alpha::Role::Representation
2239
2349
 
@@ -2282,6 +2392,7 @@ module Google
2282
2392
  property :all_memberships, as: 'allMemberships'
2283
2393
  property :create_time, as: 'createTime'
2284
2394
  property :delete_time, as: 'deleteTime'
2395
+ hash :labels, as: 'labels'
2285
2396
  property :name, as: 'name'
2286
2397
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::ScopeLifecycleState, decorator: Google::Apis::GkehubV1alpha::ScopeLifecycleState::Representation
2287
2398
 
@@ -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.56.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.58.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []