google-apis-gkehub_v1alpha 0.59.0 → 0.61.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e8e7d87193cf31e594f03aefdde442a1fcfbd71a7689139b209f1e8184f5781
|
4
|
+
data.tar.gz: 2f0f89951a9c2d3c14c6fffd77a2ab1210742e1c4d277ab39f7fa8f593a42c21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c62a6dc87e994435efe690f170e34655d07208427fd77cb13527d124cc3538b0714d7ea161c69b01c6081cb91b8d0b5b9b206df1c6cdfd2beda9c9c7069c25d0
|
7
|
+
data.tar.gz: d4fda29c48b2d7ef316d53869a857179937099f413b9e2a67462518a3a7c2af99dc74b023aec2a76476fcdb161ea83feea8c8575b079967846df58091385b3aa
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.61.0 (2023-08-27)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230814
|
6
|
+
|
7
|
+
### v0.60.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230804
|
10
|
+
|
11
|
+
### v0.59.0 (2023-08-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20230728
|
6
14
|
|
7
15
|
### v0.58.0 (2023-07-16)
|
8
16
|
|
@@ -391,6 +391,77 @@ module Google
|
|
391
391
|
end
|
392
392
|
end
|
393
393
|
|
394
|
+
# **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
|
395
|
+
# feature.
|
396
|
+
class ClusterUpgradeFleetSpec
|
397
|
+
include Google::Apis::Core::Hashable
|
398
|
+
|
399
|
+
# Allow users to override some properties of each GKE upgrade.
|
400
|
+
# Corresponds to the JSON property `gkeUpgradeOverrides`
|
401
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride>]
|
402
|
+
attr_accessor :gke_upgrade_overrides
|
403
|
+
|
404
|
+
# Post conditional checks after an upgrade has been applied on all eligible
|
405
|
+
# clusters.
|
406
|
+
# Corresponds to the JSON property `postConditions`
|
407
|
+
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions]
|
408
|
+
attr_accessor :post_conditions
|
409
|
+
|
410
|
+
# This fleet consumes upgrades that have COMPLETE status code in the upstream
|
411
|
+
# fleets. See UpgradeStatus.Code for code definitions. The fleet name should be
|
412
|
+
# either fleet project number or id. This is defined as repeated for future
|
413
|
+
# proof reasons. Initial implementation will enforce at most one upstream fleet.
|
414
|
+
# Corresponds to the JSON property `upstreamFleets`
|
415
|
+
# @return [Array<String>]
|
416
|
+
attr_accessor :upstream_fleets
|
417
|
+
|
418
|
+
def initialize(**args)
|
419
|
+
update!(**args)
|
420
|
+
end
|
421
|
+
|
422
|
+
# Update properties of this object
|
423
|
+
def update!(**args)
|
424
|
+
@gke_upgrade_overrides = args[:gke_upgrade_overrides] if args.key?(:gke_upgrade_overrides)
|
425
|
+
@post_conditions = args[:post_conditions] if args.key?(:post_conditions)
|
426
|
+
@upstream_fleets = args[:upstream_fleets] if args.key?(:upstream_fleets)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
# **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
|
431
|
+
class ClusterUpgradeFleetState
|
432
|
+
include Google::Apis::Core::Hashable
|
433
|
+
|
434
|
+
# This fleets whose upstream_fleets contain the current fleet. The fleet name
|
435
|
+
# should be either fleet project number or id.
|
436
|
+
# Corresponds to the JSON property `downstreamFleets`
|
437
|
+
# @return [Array<String>]
|
438
|
+
attr_accessor :downstream_fleets
|
439
|
+
|
440
|
+
# GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
|
441
|
+
# Corresponds to the JSON property `gkeState`
|
442
|
+
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState]
|
443
|
+
attr_accessor :gke_state
|
444
|
+
|
445
|
+
# A list of memberships ignored by the feature. For example, manually upgraded
|
446
|
+
# clusters can be ignored if they are newer than the default versions of its
|
447
|
+
# release channel. The membership resource is in the format: `projects/`p`/
|
448
|
+
# locations/`l`/membership/`m``.
|
449
|
+
# Corresponds to the JSON property `ignored`
|
450
|
+
# @return [Hash<String,Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership>]
|
451
|
+
attr_accessor :ignored
|
452
|
+
|
453
|
+
def initialize(**args)
|
454
|
+
update!(**args)
|
455
|
+
end
|
456
|
+
|
457
|
+
# Update properties of this object
|
458
|
+
def update!(**args)
|
459
|
+
@downstream_fleets = args[:downstream_fleets] if args.key?(:downstream_fleets)
|
460
|
+
@gke_state = args[:gke_state] if args.key?(:gke_state)
|
461
|
+
@ignored = args[:ignored] if args.key?(:ignored)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
394
465
|
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
395
466
|
class ClusterUpgradeGkeUpgrade
|
396
467
|
include Google::Apis::Core::Hashable
|
@@ -465,11 +536,6 @@ module Google
|
|
465
536
|
# @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureCondition>]
|
466
537
|
attr_accessor :conditions
|
467
538
|
|
468
|
-
# Scope-level upgrade state.
|
469
|
-
# Corresponds to the JSON property `state`
|
470
|
-
# @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState>]
|
471
|
-
attr_accessor :state
|
472
|
-
|
473
539
|
# Upgrade state. It will eventually replace `state`.
|
474
540
|
# Corresponds to the JSON property `upgradeState`
|
475
541
|
# @return [Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState>]
|
@@ -482,7 +548,6 @@ module Google
|
|
482
548
|
# Update properties of this object
|
483
549
|
def update!(**args)
|
484
550
|
@conditions = args[:conditions] if args.key?(:conditions)
|
485
|
-
@state = args[:state] if args.key?(:state)
|
486
551
|
@upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
|
487
552
|
end
|
488
553
|
end
|
@@ -601,6 +666,12 @@ module Google
|
|
601
666
|
class ClusterUpgradeMembershipState
|
602
667
|
include Google::Apis::Core::Hashable
|
603
668
|
|
669
|
+
# Project number or id of the fleet. It is set only for Memberships that are
|
670
|
+
# part of fleet-based Rollout Sequencing.
|
671
|
+
# Corresponds to the JSON property `fleet`
|
672
|
+
# @return [String]
|
673
|
+
attr_accessor :fleet
|
674
|
+
|
604
675
|
# IgnoredMembership represents a membership ignored by the feature. A membership
|
605
676
|
# can be ignored because it was manually upgraded to a newer version than RC
|
606
677
|
# default.
|
@@ -625,6 +696,7 @@ module Google
|
|
625
696
|
|
626
697
|
# Update properties of this object
|
627
698
|
def update!(**args)
|
699
|
+
@fleet = args[:fleet] if args.key?(:fleet)
|
628
700
|
@ignored = args[:ignored] if args.key?(:ignored)
|
629
701
|
@scopes = args[:scopes] if args.key?(:scopes)
|
630
702
|
@upgrades = args[:upgrades] if args.key?(:upgrades)
|
@@ -652,37 +724,6 @@ module Google
|
|
652
724
|
end
|
653
725
|
end
|
654
726
|
|
655
|
-
# ScopeGKEUpgradeState is a GKEUpgrade and its state at the scope level.
|
656
|
-
class ClusterUpgradeScopeGkeUpgradeState
|
657
|
-
include Google::Apis::Core::Hashable
|
658
|
-
|
659
|
-
# Number of GKE clusters in each status code.
|
660
|
-
# Corresponds to the JSON property `stats`
|
661
|
-
# @return [Hash<String,Fixnum>]
|
662
|
-
attr_accessor :stats
|
663
|
-
|
664
|
-
# UpgradeStatus provides status information for each upgrade.
|
665
|
-
# Corresponds to the JSON property `status`
|
666
|
-
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus]
|
667
|
-
attr_accessor :status
|
668
|
-
|
669
|
-
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
670
|
-
# Corresponds to the JSON property `upgrade`
|
671
|
-
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade]
|
672
|
-
attr_accessor :upgrade
|
673
|
-
|
674
|
-
def initialize(**args)
|
675
|
-
update!(**args)
|
676
|
-
end
|
677
|
-
|
678
|
-
# Update properties of this object
|
679
|
-
def update!(**args)
|
680
|
-
@stats = args[:stats] if args.key?(:stats)
|
681
|
-
@status = args[:status] if args.key?(:status)
|
682
|
-
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
727
|
# **ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade
|
687
728
|
# feature.
|
688
729
|
class ClusterUpgradeScopeSpec
|
@@ -808,6 +849,12 @@ module Google
|
|
808
849
|
# @return [Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec]
|
809
850
|
attr_accessor :cloudauditlogging
|
810
851
|
|
852
|
+
# **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
|
853
|
+
# feature.
|
854
|
+
# Corresponds to the JSON property `clusterupgrade`
|
855
|
+
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec]
|
856
|
+
attr_accessor :clusterupgrade
|
857
|
+
|
811
858
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
812
859
|
# Corresponds to the JSON property `fleetobservability`
|
813
860
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec]
|
@@ -834,6 +881,7 @@ module Google
|
|
834
881
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
835
882
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
836
883
|
@cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
|
884
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
837
885
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
838
886
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
839
887
|
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
|
@@ -849,6 +897,11 @@ module Google
|
|
849
897
|
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
|
850
898
|
attr_accessor :appdevexperience
|
851
899
|
|
900
|
+
# **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
|
901
|
+
# Corresponds to the JSON property `clusterupgrade`
|
902
|
+
# @return [Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState]
|
903
|
+
attr_accessor :clusterupgrade
|
904
|
+
|
852
905
|
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
853
906
|
# Corresponds to the JSON property `fleetobservability`
|
854
907
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState]
|
@@ -874,6 +927,7 @@ module Google
|
|
874
927
|
# Update properties of this object
|
875
928
|
def update!(**args)
|
876
929
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
930
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
877
931
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
878
932
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
879
933
|
@state = args[:state] if args.key?(:state)
|
@@ -2769,6 +2823,11 @@ module Google
|
|
2769
2823
|
# @return [String]
|
2770
2824
|
attr_accessor :tenant
|
2771
2825
|
|
2826
|
+
# Optional. Claim in the AzureAD ID Token that holds the user details.
|
2827
|
+
# Corresponds to the JSON property `userClaim`
|
2828
|
+
# @return [String]
|
2829
|
+
attr_accessor :user_claim
|
2830
|
+
|
2772
2831
|
def initialize(**args)
|
2773
2832
|
update!(**args)
|
2774
2833
|
end
|
@@ -2780,6 +2839,7 @@ module Google
|
|
2780
2839
|
@encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
|
2781
2840
|
@kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
|
2782
2841
|
@tenant = args[:tenant] if args.key?(:tenant)
|
2842
|
+
@user_claim = args[:user_claim] if args.key?(:user_claim)
|
2783
2843
|
end
|
2784
2844
|
end
|
2785
2845
|
|
@@ -3350,6 +3410,59 @@ module Google
|
|
3350
3410
|
end
|
3351
3411
|
end
|
3352
3412
|
|
3413
|
+
# List of fleet namespaces.
|
3414
|
+
class ListScopeNamespacesResponse
|
3415
|
+
include Google::Apis::Core::Hashable
|
3416
|
+
|
3417
|
+
# A token to request the next page of resources from the `ListNamespaces` method.
|
3418
|
+
# The value of an empty string means that there are no more resources to return.
|
3419
|
+
# Corresponds to the JSON property `nextPageToken`
|
3420
|
+
# @return [String]
|
3421
|
+
attr_accessor :next_page_token
|
3422
|
+
|
3423
|
+
# The list of fleet namespaces
|
3424
|
+
# Corresponds to the JSON property `scopeNamespaces`
|
3425
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Namespace>]
|
3426
|
+
attr_accessor :scope_namespaces
|
3427
|
+
|
3428
|
+
def initialize(**args)
|
3429
|
+
update!(**args)
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
# Update properties of this object
|
3433
|
+
def update!(**args)
|
3434
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3435
|
+
@scope_namespaces = args[:scope_namespaces] if args.key?(:scope_namespaces)
|
3436
|
+
end
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
# List of Scope RBACRoleBindings.
|
3440
|
+
class ListScopeRbacRoleBindingsResponse
|
3441
|
+
include Google::Apis::Core::Hashable
|
3442
|
+
|
3443
|
+
# A token to request the next page of resources from the `
|
3444
|
+
# ListScopeRBACRoleBindings` method. The value of an empty string means that
|
3445
|
+
# there are no more resources to return.
|
3446
|
+
# Corresponds to the JSON property `nextPageToken`
|
3447
|
+
# @return [String]
|
3448
|
+
attr_accessor :next_page_token
|
3449
|
+
|
3450
|
+
# The list of Scope RBACRoleBindings.
|
3451
|
+
# Corresponds to the JSON property `rbacrolebindings`
|
3452
|
+
# @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
|
3453
|
+
attr_accessor :rbacrolebindings
|
3454
|
+
|
3455
|
+
def initialize(**args)
|
3456
|
+
update!(**args)
|
3457
|
+
end
|
3458
|
+
|
3459
|
+
# Update properties of this object
|
3460
|
+
def update!(**args)
|
3461
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3462
|
+
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
3463
|
+
end
|
3464
|
+
end
|
3465
|
+
|
3353
3466
|
# List of Scopes.
|
3354
3467
|
class ListScopesResponse
|
3355
3468
|
include Google::Apis::Core::Hashable
|
@@ -3548,13 +3661,6 @@ module Google
|
|
3548
3661
|
# @return [String]
|
3549
3662
|
attr_accessor :delete_time
|
3550
3663
|
|
3551
|
-
# Whether the membershipbinding is Fleet-wide; true means that this Membership
|
3552
|
-
# should be bound to all Namespaces in this entire Fleet.
|
3553
|
-
# Corresponds to the JSON property `fleet`
|
3554
|
-
# @return [Boolean]
|
3555
|
-
attr_accessor :fleet
|
3556
|
-
alias_method :fleet?, :fleet
|
3557
|
-
|
3558
3664
|
# Optional. Labels for this MembershipBinding.
|
3559
3665
|
# Corresponds to the JSON property `labels`
|
3560
3666
|
# @return [Hash<String,String>]
|
@@ -3596,7 +3702,6 @@ module Google
|
|
3596
3702
|
def update!(**args)
|
3597
3703
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3598
3704
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
3599
|
-
@fleet = args[:fleet] if args.key?(:fleet)
|
3600
3705
|
@labels = args[:labels] if args.key?(:labels)
|
3601
3706
|
@name = args[:name] if args.key?(:name)
|
3602
3707
|
@scope = args[:scope] if args.key?(:scope)
|
@@ -4039,6 +4144,15 @@ module Google
|
|
4039
4144
|
# @return [String]
|
4040
4145
|
attr_accessor :name
|
4041
4146
|
|
4147
|
+
# Optional. Namespace-level cluster namespace labels. These labels are applied
|
4148
|
+
# to the related namespace of the member clusters bound to the parent Scope.
|
4149
|
+
# Scope-level labels (`namespace_labels` in the Fleet Scope resource) take
|
4150
|
+
# precedence over Namespace-level labels if they share a key. Keys and values
|
4151
|
+
# must be Kubernetes-conformant.
|
4152
|
+
# Corresponds to the JSON property `namespaceLabels`
|
4153
|
+
# @return [Hash<String,String>]
|
4154
|
+
attr_accessor :namespace_labels
|
4155
|
+
|
4042
4156
|
# Required. Scope associated with the namespace
|
4043
4157
|
# Corresponds to the JSON property `scope`
|
4044
4158
|
# @return [String]
|
@@ -4071,6 +4185,7 @@ module Google
|
|
4071
4185
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
4072
4186
|
@labels = args[:labels] if args.key?(:labels)
|
4073
4187
|
@name = args[:name] if args.key?(:name)
|
4188
|
+
@namespace_labels = args[:namespace_labels] if args.key?(:namespace_labels)
|
4074
4189
|
@scope = args[:scope] if args.key?(:scope)
|
4075
4190
|
@state = args[:state] if args.key?(:state)
|
4076
4191
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -4177,13 +4292,13 @@ module Google
|
|
4177
4292
|
# @return [String]
|
4178
4293
|
attr_accessor :name
|
4179
4294
|
|
4180
|
-
# The normal response of the operation
|
4181
|
-
#
|
4182
|
-
#
|
4183
|
-
#
|
4184
|
-
#
|
4185
|
-
#
|
4186
|
-
#
|
4295
|
+
# The normal, successful response of the operation. If the original method
|
4296
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
4297
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
4298
|
+
# response should be the resource. For other methods, the response should have
|
4299
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
4300
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
4301
|
+
# `TakeSnapshotResponse`.
|
4187
4302
|
# Corresponds to the JSON property `response`
|
4188
4303
|
# @return [Hash<String,Object>]
|
4189
4304
|
attr_accessor :response
|
@@ -4291,22 +4406,22 @@ module Google
|
|
4291
4406
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
4292
4407
|
# the request, the resource, or both. To learn which resources support
|
4293
4408
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
4294
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
4409
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
4295
4410
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
4296
4411
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
4297
4412
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
4298
4413
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
4299
4414
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
4300
4415
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
4301
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
4302
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
4303
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
4304
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
4305
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
4306
|
-
# access description: Does not grant access after Sep 2020
|
4307
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
4308
|
-
# a description of IAM and its features, see the
|
4309
|
-
# cloud.google.com/iam/docs/).
|
4416
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
4417
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
4418
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
4419
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
4420
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
4421
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
4422
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
4423
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
4424
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
4310
4425
|
class Policy
|
4311
4426
|
include Google::Apis::Core::Hashable
|
4312
4427
|
|
@@ -5014,6 +5129,15 @@ module Google
|
|
5014
5129
|
# @return [String]
|
5015
5130
|
attr_accessor :name
|
5016
5131
|
|
5132
|
+
# Optional. Scope-level cluster namespace labels. For the member clusters bound
|
5133
|
+
# to the Scope, these labels are applied to each namespace under the Scope.
|
5134
|
+
# Scope-level labels take precedence over Namespace-level labels (`
|
5135
|
+
# namespace_labels` in the Fleet Namespace resource) if they share a key. Keys
|
5136
|
+
# and values must be Kubernetes-conformant.
|
5137
|
+
# Corresponds to the JSON property `namespaceLabels`
|
5138
|
+
# @return [Hash<String,String>]
|
5139
|
+
attr_accessor :namespace_labels
|
5140
|
+
|
5017
5141
|
# ScopeLifecycleState describes the state of a Scope resource.
|
5018
5142
|
# Corresponds to the JSON property `state`
|
5019
5143
|
# @return [Google::Apis::GkehubV1alpha::ScopeLifecycleState]
|
@@ -5042,6 +5166,7 @@ module Google
|
|
5042
5166
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
5043
5167
|
@labels = args[:labels] if args.key?(:labels)
|
5044
5168
|
@name = args[:name] if args.key?(:name)
|
5169
|
+
@namespace_labels = args[:namespace_labels] if args.key?(:namespace_labels)
|
5045
5170
|
@state = args[:state] if args.key?(:state)
|
5046
5171
|
@uid = args[:uid] if args.key?(:uid)
|
5047
5172
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -5411,22 +5536,22 @@ module Google
|
|
5411
5536
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
5412
5537
|
# the request, the resource, or both. To learn which resources support
|
5413
5538
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
5414
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
5539
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
5415
5540
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
5416
5541
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
5417
5542
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
5418
5543
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
5419
5544
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
5420
5545
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
5421
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
5422
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
5423
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
5424
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
5425
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
5426
|
-
# access description: Does not grant access after Sep 2020
|
5427
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
5428
|
-
# a description of IAM and its features, see the
|
5429
|
-
# cloud.google.com/iam/docs/).
|
5546
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
5547
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
5548
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
5549
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
5550
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
5551
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
5552
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
5553
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
5554
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
5430
5555
|
# Corresponds to the JSON property `policy`
|
5431
5556
|
# @return [Google::Apis::GkehubV1alpha::Policy]
|
5432
5557
|
attr_accessor :policy
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.61.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 = "
|
25
|
+
REVISION = "20230814"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,18 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class ClusterUpgradeFleetSpec
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ClusterUpgradeFleetState
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class ClusterUpgradeGkeUpgrade
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -148,12 +160,6 @@ module Google
|
|
148
160
|
include Google::Apis::Core::JsonObjectSupport
|
149
161
|
end
|
150
162
|
|
151
|
-
class ClusterUpgradeScopeGkeUpgradeState
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
163
|
class ClusterUpgradeScopeSpec
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -610,6 +616,18 @@ module Google
|
|
610
616
|
include Google::Apis::Core::JsonObjectSupport
|
611
617
|
end
|
612
618
|
|
619
|
+
class ListScopeNamespacesResponse
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class ListScopeRbacRoleBindingsResponse
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
613
631
|
class ListScopesResponse
|
614
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
633
|
|
@@ -1066,6 +1084,28 @@ module Google
|
|
1066
1084
|
end
|
1067
1085
|
end
|
1068
1086
|
|
1087
|
+
class ClusterUpgradeFleetSpec
|
1088
|
+
# @private
|
1089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1090
|
+
collection :gke_upgrade_overrides, as: 'gkeUpgradeOverrides', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeOverride::Representation
|
1091
|
+
|
1092
|
+
property :post_conditions, as: 'postConditions', class: Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions::Representation
|
1093
|
+
|
1094
|
+
collection :upstream_fleets, as: 'upstreamFleets'
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
class ClusterUpgradeFleetState
|
1099
|
+
# @private
|
1100
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1101
|
+
collection :downstream_fleets, as: 'downstreamFleets'
|
1102
|
+
property :gke_state, as: 'gkeState', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState::Representation
|
1103
|
+
|
1104
|
+
hash :ignored, as: 'ignored', class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership::Representation
|
1105
|
+
|
1106
|
+
end
|
1107
|
+
end
|
1108
|
+
|
1069
1109
|
class ClusterUpgradeGkeUpgrade
|
1070
1110
|
# @private
|
1071
1111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1089,8 +1129,6 @@ module Google
|
|
1089
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1090
1130
|
collection :conditions, as: 'conditions', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureCondition, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureCondition::Representation
|
1091
1131
|
|
1092
|
-
collection :state, as: 'state', class: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeGkeUpgradeState::Representation
|
1093
|
-
|
1094
1132
|
collection :upgrade_state, as: 'upgradeState', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState::Representation
|
1095
1133
|
|
1096
1134
|
end
|
@@ -1138,6 +1176,7 @@ module Google
|
|
1138
1176
|
class ClusterUpgradeMembershipState
|
1139
1177
|
# @private
|
1140
1178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1179
|
+
property :fleet, as: 'fleet'
|
1141
1180
|
property :ignored, as: 'ignored', class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership::Representation
|
1142
1181
|
|
1143
1182
|
collection :scopes, as: 'scopes'
|
@@ -1153,17 +1192,6 @@ module Google
|
|
1153
1192
|
end
|
1154
1193
|
end
|
1155
1194
|
|
1156
|
-
class ClusterUpgradeScopeGkeUpgradeState
|
1157
|
-
# @private
|
1158
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1159
|
-
hash :stats, as: 'stats'
|
1160
|
-
property :status, as: 'status', class: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeUpgradeStatus::Representation
|
1161
|
-
|
1162
|
-
property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgrade::Representation
|
1163
|
-
|
1164
|
-
end
|
1165
|
-
end
|
1166
|
-
|
1167
1195
|
class ClusterUpgradeScopeSpec
|
1168
1196
|
# @private
|
1169
1197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1204,6 +1232,8 @@ module Google
|
|
1204
1232
|
|
1205
1233
|
property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
|
1206
1234
|
|
1235
|
+
property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec::Representation
|
1236
|
+
|
1207
1237
|
property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec::Representation
|
1208
1238
|
|
1209
1239
|
property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
|
@@ -1218,6 +1248,8 @@ module Google
|
|
1218
1248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1219
1249
|
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState::Representation
|
1220
1250
|
|
1251
|
+
property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState::Representation
|
1252
|
+
|
1221
1253
|
property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState::Representation
|
1222
1254
|
|
1223
1255
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState::Representation
|
@@ -1779,6 +1811,7 @@ module Google
|
|
1779
1811
|
property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
|
1780
1812
|
property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
|
1781
1813
|
property :tenant, as: 'tenant'
|
1814
|
+
property :user_claim, as: 'userClaim'
|
1782
1815
|
end
|
1783
1816
|
end
|
1784
1817
|
|
@@ -1945,6 +1978,24 @@ module Google
|
|
1945
1978
|
end
|
1946
1979
|
end
|
1947
1980
|
|
1981
|
+
class ListScopeNamespacesResponse
|
1982
|
+
# @private
|
1983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1984
|
+
property :next_page_token, as: 'nextPageToken'
|
1985
|
+
collection :scope_namespaces, as: 'scopeNamespaces', class: Google::Apis::GkehubV1alpha::Namespace, decorator: Google::Apis::GkehubV1alpha::Namespace::Representation
|
1986
|
+
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
class ListScopeRbacRoleBindingsResponse
|
1991
|
+
# @private
|
1992
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1993
|
+
property :next_page_token, as: 'nextPageToken'
|
1994
|
+
collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1995
|
+
|
1996
|
+
end
|
1997
|
+
end
|
1998
|
+
|
1948
1999
|
class ListScopesResponse
|
1949
2000
|
# @private
|
1950
2001
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1993,7 +2044,6 @@ module Google
|
|
1993
2044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1994
2045
|
property :create_time, as: 'createTime'
|
1995
2046
|
property :delete_time, as: 'deleteTime'
|
1996
|
-
property :fleet, as: 'fleet'
|
1997
2047
|
hash :labels, as: 'labels'
|
1998
2048
|
property :name, as: 'name'
|
1999
2049
|
property :scope, as: 'scope'
|
@@ -2136,6 +2186,7 @@ module Google
|
|
2136
2186
|
property :delete_time, as: 'deleteTime'
|
2137
2187
|
hash :labels, as: 'labels'
|
2138
2188
|
property :name, as: 'name'
|
2189
|
+
hash :namespace_labels, as: 'namespaceLabels'
|
2139
2190
|
property :scope, as: 'scope'
|
2140
2191
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1alpha::NamespaceLifecycleState::Representation
|
2141
2192
|
|
@@ -2393,6 +2444,7 @@ module Google
|
|
2393
2444
|
property :delete_time, as: 'deleteTime'
|
2394
2445
|
hash :labels, as: 'labels'
|
2395
2446
|
property :name, as: 'name'
|
2447
|
+
hash :namespace_labels, as: 'namespaceLabels'
|
2396
2448
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::ScopeLifecycleState, decorator: Google::Apis::GkehubV1alpha::ScopeLifecycleState::Representation
|
2397
2449
|
|
2398
2450
|
property :uid, as: 'uid'
|
@@ -2405,6 +2405,369 @@ module Google
|
|
2405
2405
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2406
2406
|
execute_or_queue_command(command, &block)
|
2407
2407
|
end
|
2408
|
+
|
2409
|
+
# Creates a fleet namespace.
|
2410
|
+
# @param [String] parent
|
2411
|
+
# Required. The parent (project and location) where the Namespace will be
|
2412
|
+
# created. Specified in the format `projects/*/locations/*/scopes/*`.
|
2413
|
+
# @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
|
2414
|
+
# @param [String] scope_namespace_id
|
2415
|
+
# Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
|
2416
|
+
# RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
|
2417
|
+
# consist of lower case alphanumeric characters or `-` 3. It must start and end
|
2418
|
+
# with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
|
2419
|
+
# -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
2420
|
+
# @param [String] fields
|
2421
|
+
# Selector specifying which fields to include in a partial response.
|
2422
|
+
# @param [String] quota_user
|
2423
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2424
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2425
|
+
# @param [Google::Apis::RequestOptions] options
|
2426
|
+
# Request-specific options
|
2427
|
+
#
|
2428
|
+
# @yield [result, err] Result & error if block supplied
|
2429
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2430
|
+
# @yieldparam err [StandardError] error object if request failed
|
2431
|
+
#
|
2432
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2433
|
+
#
|
2434
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2435
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2436
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2437
|
+
def create_project_location_scope_namespace(parent, namespace_object = nil, scope_namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2438
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/namespaces', options)
|
2439
|
+
command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
2440
|
+
command.request_object = namespace_object
|
2441
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2442
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2443
|
+
command.params['parent'] = parent unless parent.nil?
|
2444
|
+
command.query['scopeNamespaceId'] = scope_namespace_id unless scope_namespace_id.nil?
|
2445
|
+
command.query['fields'] = fields unless fields.nil?
|
2446
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2447
|
+
execute_or_queue_command(command, &block)
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
# Deletes a fleet namespace.
|
2451
|
+
# @param [String] name
|
2452
|
+
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
2453
|
+
# scopes/*/namespaces/*`.
|
2454
|
+
# @param [String] fields
|
2455
|
+
# Selector specifying which fields to include in a partial response.
|
2456
|
+
# @param [String] quota_user
|
2457
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2458
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2459
|
+
# @param [Google::Apis::RequestOptions] options
|
2460
|
+
# Request-specific options
|
2461
|
+
#
|
2462
|
+
# @yield [result, err] Result & error if block supplied
|
2463
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2464
|
+
# @yieldparam err [StandardError] error object if request failed
|
2465
|
+
#
|
2466
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2467
|
+
#
|
2468
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2469
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2470
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2471
|
+
def delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
2472
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2473
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2474
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2475
|
+
command.params['name'] = name unless name.nil?
|
2476
|
+
command.query['fields'] = fields unless fields.nil?
|
2477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2478
|
+
execute_or_queue_command(command, &block)
|
2479
|
+
end
|
2480
|
+
|
2481
|
+
# Returns the details of a fleet namespace.
|
2482
|
+
# @param [String] name
|
2483
|
+
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
2484
|
+
# scopes/*/namespaces/*`.
|
2485
|
+
# @param [String] fields
|
2486
|
+
# Selector specifying which fields to include in a partial response.
|
2487
|
+
# @param [String] quota_user
|
2488
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2489
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2490
|
+
# @param [Google::Apis::RequestOptions] options
|
2491
|
+
# Request-specific options
|
2492
|
+
#
|
2493
|
+
# @yield [result, err] Result & error if block supplied
|
2494
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Namespace] parsed result object
|
2495
|
+
# @yieldparam err [StandardError] error object if request failed
|
2496
|
+
#
|
2497
|
+
# @return [Google::Apis::GkehubV1alpha::Namespace]
|
2498
|
+
#
|
2499
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2500
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2501
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2502
|
+
def get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
2503
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2504
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
2505
|
+
command.response_class = Google::Apis::GkehubV1alpha::Namespace
|
2506
|
+
command.params['name'] = name unless name.nil?
|
2507
|
+
command.query['fields'] = fields unless fields.nil?
|
2508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2509
|
+
execute_or_queue_command(command, &block)
|
2510
|
+
end
|
2511
|
+
|
2512
|
+
# Lists fleet namespaces.
|
2513
|
+
# @param [String] parent
|
2514
|
+
# Required. The parent (project and location) where the Features will be listed.
|
2515
|
+
# Specified in the format `projects/*/locations/*/scopes/*`.
|
2516
|
+
# @param [Fixnum] page_size
|
2517
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
2518
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
2519
|
+
# returned.
|
2520
|
+
# @param [String] page_token
|
2521
|
+
# Optional. Token returned by previous call to `ListFeatures` which specifies
|
2522
|
+
# the position in the list from where to continue listing the resources.
|
2523
|
+
# @param [String] fields
|
2524
|
+
# Selector specifying which fields to include in a partial response.
|
2525
|
+
# @param [String] quota_user
|
2526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2528
|
+
# @param [Google::Apis::RequestOptions] options
|
2529
|
+
# Request-specific options
|
2530
|
+
#
|
2531
|
+
# @yield [result, err] Result & error if block supplied
|
2532
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListScopeNamespacesResponse] parsed result object
|
2533
|
+
# @yieldparam err [StandardError] error object if request failed
|
2534
|
+
#
|
2535
|
+
# @return [Google::Apis::GkehubV1alpha::ListScopeNamespacesResponse]
|
2536
|
+
#
|
2537
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2538
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2539
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2540
|
+
def list_project_location_scope_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2541
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/namespaces', options)
|
2542
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListScopeNamespacesResponse::Representation
|
2543
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListScopeNamespacesResponse
|
2544
|
+
command.params['parent'] = parent unless parent.nil?
|
2545
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2546
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2547
|
+
command.query['fields'] = fields unless fields.nil?
|
2548
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2549
|
+
execute_or_queue_command(command, &block)
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# Updates a fleet namespace.
|
2553
|
+
# @param [String] name
|
2554
|
+
# The resource name for the namespace `projects/`project`/locations/`location`/
|
2555
|
+
# namespaces/`namespace``
|
2556
|
+
# @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
|
2557
|
+
# @param [String] update_mask
|
2558
|
+
# Required. The fields to be updated.
|
2559
|
+
# @param [String] fields
|
2560
|
+
# Selector specifying which fields to include in a partial response.
|
2561
|
+
# @param [String] quota_user
|
2562
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2563
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2564
|
+
# @param [Google::Apis::RequestOptions] options
|
2565
|
+
# Request-specific options
|
2566
|
+
#
|
2567
|
+
# @yield [result, err] Result & error if block supplied
|
2568
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2569
|
+
# @yieldparam err [StandardError] error object if request failed
|
2570
|
+
#
|
2571
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2572
|
+
#
|
2573
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2574
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2575
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2576
|
+
def patch_project_location_scope_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2577
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2578
|
+
command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
2579
|
+
command.request_object = namespace_object
|
2580
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2581
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2582
|
+
command.params['name'] = name unless name.nil?
|
2583
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2584
|
+
command.query['fields'] = fields unless fields.nil?
|
2585
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2586
|
+
execute_or_queue_command(command, &block)
|
2587
|
+
end
|
2588
|
+
|
2589
|
+
# Creates a Scope RBACRoleBinding.
|
2590
|
+
# @param [String] parent
|
2591
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
2592
|
+
# created. Specified in the format `projects/*/locations/*/scopes/*`.
|
2593
|
+
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
2594
|
+
# @param [String] rbacrolebinding_id
|
2595
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
2596
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
2597
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
2598
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
2599
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
2600
|
+
# @param [String] fields
|
2601
|
+
# Selector specifying which fields to include in a partial response.
|
2602
|
+
# @param [String] quota_user
|
2603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2605
|
+
# @param [Google::Apis::RequestOptions] options
|
2606
|
+
# Request-specific options
|
2607
|
+
#
|
2608
|
+
# @yield [result, err] Result & error if block supplied
|
2609
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2610
|
+
# @yieldparam err [StandardError] error object if request failed
|
2611
|
+
#
|
2612
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2613
|
+
#
|
2614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2617
|
+
def create_project_location_scope_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2618
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings', options)
|
2619
|
+
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
2620
|
+
command.request_object = rbac_role_binding_object
|
2621
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2622
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2623
|
+
command.params['parent'] = parent unless parent.nil?
|
2624
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
2625
|
+
command.query['fields'] = fields unless fields.nil?
|
2626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2627
|
+
execute_or_queue_command(command, &block)
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# Deletes a Scope RBACRoleBinding.
|
2631
|
+
# @param [String] name
|
2632
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
2633
|
+
# locations/*/scopes/*/rbacrolebindings/*`.
|
2634
|
+
# @param [String] fields
|
2635
|
+
# Selector specifying which fields to include in a partial response.
|
2636
|
+
# @param [String] quota_user
|
2637
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2638
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2639
|
+
# @param [Google::Apis::RequestOptions] options
|
2640
|
+
# Request-specific options
|
2641
|
+
#
|
2642
|
+
# @yield [result, err] Result & error if block supplied
|
2643
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2644
|
+
# @yieldparam err [StandardError] error object if request failed
|
2645
|
+
#
|
2646
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2647
|
+
#
|
2648
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2649
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2650
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2651
|
+
def delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
2652
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2653
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2654
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2655
|
+
command.params['name'] = name unless name.nil?
|
2656
|
+
command.query['fields'] = fields unless fields.nil?
|
2657
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2658
|
+
execute_or_queue_command(command, &block)
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
# Returns the details of a Scope RBACRoleBinding.
|
2662
|
+
# @param [String] name
|
2663
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
2664
|
+
# locations/*/scopes/*/rbacrolebindings/*`.
|
2665
|
+
# @param [String] fields
|
2666
|
+
# Selector specifying which fields to include in a partial response.
|
2667
|
+
# @param [String] quota_user
|
2668
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2669
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2670
|
+
# @param [Google::Apis::RequestOptions] options
|
2671
|
+
# Request-specific options
|
2672
|
+
#
|
2673
|
+
# @yield [result, err] Result & error if block supplied
|
2674
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::RbacRoleBinding] parsed result object
|
2675
|
+
# @yieldparam err [StandardError] error object if request failed
|
2676
|
+
#
|
2677
|
+
# @return [Google::Apis::GkehubV1alpha::RbacRoleBinding]
|
2678
|
+
#
|
2679
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2680
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2681
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2682
|
+
def get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
2683
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2684
|
+
command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
2685
|
+
command.response_class = Google::Apis::GkehubV1alpha::RbacRoleBinding
|
2686
|
+
command.params['name'] = name unless name.nil?
|
2687
|
+
command.query['fields'] = fields unless fields.nil?
|
2688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2689
|
+
execute_or_queue_command(command, &block)
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
# Lists all Scope RBACRoleBindings.
|
2693
|
+
# @param [String] parent
|
2694
|
+
# Required. The parent (project and location) where the Features will be listed.
|
2695
|
+
# Specified in the format `projects/*/locations/*/scopes/*`.
|
2696
|
+
# @param [Fixnum] page_size
|
2697
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
2698
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
2699
|
+
# returned.
|
2700
|
+
# @param [String] page_token
|
2701
|
+
# Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which
|
2702
|
+
# specifies the position in the list from where to continue listing the
|
2703
|
+
# resources.
|
2704
|
+
# @param [String] fields
|
2705
|
+
# Selector specifying which fields to include in a partial response.
|
2706
|
+
# @param [String] quota_user
|
2707
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2708
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2709
|
+
# @param [Google::Apis::RequestOptions] options
|
2710
|
+
# Request-specific options
|
2711
|
+
#
|
2712
|
+
# @yield [result, err] Result & error if block supplied
|
2713
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListScopeRbacRoleBindingsResponse] parsed result object
|
2714
|
+
# @yieldparam err [StandardError] error object if request failed
|
2715
|
+
#
|
2716
|
+
# @return [Google::Apis::GkehubV1alpha::ListScopeRbacRoleBindingsResponse]
|
2717
|
+
#
|
2718
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2719
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2720
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2721
|
+
def list_project_location_scope_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2722
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/rbacrolebindings', options)
|
2723
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListScopeRbacRoleBindingsResponse::Representation
|
2724
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListScopeRbacRoleBindingsResponse
|
2725
|
+
command.params['parent'] = parent unless parent.nil?
|
2726
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2727
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2728
|
+
command.query['fields'] = fields unless fields.nil?
|
2729
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2730
|
+
execute_or_queue_command(command, &block)
|
2731
|
+
end
|
2732
|
+
|
2733
|
+
# Updates a Scope RBACRoleBinding.
|
2734
|
+
# @param [String] name
|
2735
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
2736
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
2737
|
+
# projects/`project`/locations/`location`/memberships/`membership`/
|
2738
|
+
# rbacrolebindings/`rbacrolebinding``
|
2739
|
+
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
2740
|
+
# @param [String] update_mask
|
2741
|
+
# Required. The fields to be updated.
|
2742
|
+
# @param [String] fields
|
2743
|
+
# Selector specifying which fields to include in a partial response.
|
2744
|
+
# @param [String] quota_user
|
2745
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2746
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2747
|
+
# @param [Google::Apis::RequestOptions] options
|
2748
|
+
# Request-specific options
|
2749
|
+
#
|
2750
|
+
# @yield [result, err] Result & error if block supplied
|
2751
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
2752
|
+
# @yieldparam err [StandardError] error object if request failed
|
2753
|
+
#
|
2754
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
2755
|
+
#
|
2756
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2757
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2758
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2759
|
+
def patch_project_location_scope_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2760
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2761
|
+
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
2762
|
+
command.request_object = rbac_role_binding_object
|
2763
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
2764
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
2765
|
+
command.params['name'] = name unless name.nil?
|
2766
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2767
|
+
command.query['fields'] = fields unless fields.nil?
|
2768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2769
|
+
execute_or_queue_command(command, &block)
|
2770
|
+
end
|
2408
2771
|
|
2409
2772
|
protected
|
2410
2773
|
|
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.
|
4
|
+
version: 0.61.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-08-
|
11
|
+
date: 2023-08-27 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.61.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GKE Hub API V1alpha
|