google-apis-gkehub_v1alpha 0.68.0 → 0.70.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: f652ff93be2956147725ff2af7e52d89aad018d393ab4b5a32c784d72bc247cd
|
4
|
+
data.tar.gz: d3b931265324725aa6183b2f5f71bbc6aa6b6cde04a104f3426e289bb4c097aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f6793bca84d9f9dae03b4f4a425eb74104f83df2f788e73c2ea883c5114f09c184d7046d41d9aff8ca82fa6a000edf68769046bafec5b3b75777a0dfc6d310
|
7
|
+
data.tar.gz: d54536f20601ec2cf71e73926ef24dc20f7a8390ee70b73abeec200340aa13ade0d874c70fc1ff2f571b592dd86c0de35c1cd14a74f427d18d8ceeebb1fe2633
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.70.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231201
|
6
|
+
|
7
|
+
### v0.69.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231114
|
10
|
+
|
3
11
|
### v0.68.0 (2023-11-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231103
|
@@ -254,6 +254,32 @@ module Google
|
|
254
254
|
end
|
255
255
|
end
|
256
256
|
|
257
|
+
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
258
|
+
# authorization feature.
|
259
|
+
class BinaryAuthorizationConfig
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Optional. Mode of operation for binauthz policy evaluation.
|
263
|
+
# Corresponds to the JSON property `evaluationMode`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :evaluation_mode
|
266
|
+
|
267
|
+
# Optional. Binauthz policies that apply to this cluster.
|
268
|
+
# Corresponds to the JSON property `policyBindings`
|
269
|
+
# @return [Array<Google::Apis::GkehubV1alpha::PolicyBinding>]
|
270
|
+
attr_accessor :policy_bindings
|
271
|
+
|
272
|
+
def initialize(**args)
|
273
|
+
update!(**args)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Update properties of this object
|
277
|
+
def update!(**args)
|
278
|
+
@evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
|
279
|
+
@policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
257
283
|
# Associates `members`, or principals, with a `role`.
|
258
284
|
class Binding
|
259
285
|
include Google::Apis::Core::Hashable
|
@@ -666,12 +692,6 @@ module Google
|
|
666
692
|
class ClusterUpgradeMembershipState
|
667
693
|
include Google::Apis::Core::Hashable
|
668
694
|
|
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
|
-
|
675
695
|
# IgnoredMembership represents a membership ignored by the feature. A membership
|
676
696
|
# can be ignored because it was manually upgraded to a newer version than RC
|
677
697
|
# default.
|
@@ -696,7 +716,6 @@ module Google
|
|
696
716
|
|
697
717
|
# Update properties of this object
|
698
718
|
def update!(**args)
|
699
|
-
@fleet = args[:fleet] if args.key?(:fleet)
|
700
719
|
@ignored = args[:ignored] if args.key?(:ignored)
|
701
720
|
@scopes = args[:scopes] if args.key?(:scopes)
|
702
721
|
@upgrades = args[:upgrades] if args.key?(:upgrades)
|
@@ -1081,8 +1100,7 @@ module Google
|
|
1081
1100
|
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
1082
1101
|
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
1083
1102
|
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
1084
|
-
# namespace `config-management-monitoring` should be bound to the GSA.
|
1085
|
-
# field is required when automatic Feature management is enabled.
|
1103
|
+
# namespace `config-management-monitoring` should be bound to the GSA.
|
1086
1104
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
1087
1105
|
# @return [String]
|
1088
1106
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -1106,14 +1124,6 @@ module Google
|
|
1106
1124
|
# @return [String]
|
1107
1125
|
attr_accessor :source_format
|
1108
1126
|
|
1109
|
-
# Set to true to stop syncing configs for a single cluster when automatic
|
1110
|
-
# Feature management is enabled. Default to false. The field will be ignored
|
1111
|
-
# when automatic Feature management is disabled.
|
1112
|
-
# Corresponds to the JSON property `stopSyncing`
|
1113
|
-
# @return [Boolean]
|
1114
|
-
attr_accessor :stop_syncing
|
1115
|
-
alias_method :stop_syncing?, :stop_syncing
|
1116
|
-
|
1117
1127
|
def initialize(**args)
|
1118
1128
|
update!(**args)
|
1119
1129
|
end
|
@@ -1127,7 +1137,6 @@ module Google
|
|
1127
1137
|
@oci = args[:oci] if args.key?(:oci)
|
1128
1138
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
1129
1139
|
@source_format = args[:source_format] if args.key?(:source_format)
|
1130
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
1131
1140
|
end
|
1132
1141
|
end
|
1133
1142
|
|
@@ -1619,11 +1628,6 @@ module Google
|
|
1619
1628
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
|
1620
1629
|
attr_accessor :hierarchy_controller
|
1621
1630
|
|
1622
|
-
# Enables automatic Feature management.
|
1623
|
-
# Corresponds to the JSON property `management`
|
1624
|
-
# @return [String]
|
1625
|
-
attr_accessor :management
|
1626
|
-
|
1627
1631
|
# Configuration for Policy Controller
|
1628
1632
|
# Corresponds to the JSON property `policyController`
|
1629
1633
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
|
@@ -1644,7 +1648,6 @@ module Google
|
|
1644
1648
|
@cluster = args[:cluster] if args.key?(:cluster)
|
1645
1649
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
1646
1650
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
1647
|
-
@management = args[:management] if args.key?(:management)
|
1648
1651
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
1649
1652
|
@version = args[:version] if args.key?(:version)
|
1650
1653
|
end
|
@@ -2083,6 +2086,12 @@ module Google
|
|
2083
2086
|
class DefaultClusterConfig
|
2084
2087
|
include Google::Apis::Core::Hashable
|
2085
2088
|
|
2089
|
+
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
2090
|
+
# authorization feature.
|
2091
|
+
# Corresponds to the JSON property `binaryAuthorizationConfig`
|
2092
|
+
# @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
|
2093
|
+
attr_accessor :binary_authorization_config
|
2094
|
+
|
2086
2095
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
2087
2096
|
# the Security Posture API.
|
2088
2097
|
# Corresponds to the JSON property `securityPostureConfig`
|
@@ -2095,6 +2104,7 @@ module Google
|
|
2095
2104
|
|
2096
2105
|
# Update properties of this object
|
2097
2106
|
def update!(**args)
|
2107
|
+
@binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
|
2098
2108
|
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
2099
2109
|
end
|
2100
2110
|
end
|
@@ -3387,32 +3397,6 @@ module Google
|
|
3387
3397
|
end
|
3388
3398
|
end
|
3389
3399
|
|
3390
|
-
# List of fleet namespaces.
|
3391
|
-
class ListNamespacesResponse
|
3392
|
-
include Google::Apis::Core::Hashable
|
3393
|
-
|
3394
|
-
# The list of fleet namespaces
|
3395
|
-
# Corresponds to the JSON property `namespaces`
|
3396
|
-
# @return [Array<Google::Apis::GkehubV1alpha::Namespace>]
|
3397
|
-
attr_accessor :namespaces
|
3398
|
-
|
3399
|
-
# A token to request the next page of resources from the `ListNamespaces` method.
|
3400
|
-
# The value of an empty string means that there are no more resources to return.
|
3401
|
-
# Corresponds to the JSON property `nextPageToken`
|
3402
|
-
# @return [String]
|
3403
|
-
attr_accessor :next_page_token
|
3404
|
-
|
3405
|
-
def initialize(**args)
|
3406
|
-
update!(**args)
|
3407
|
-
end
|
3408
|
-
|
3409
|
-
# Update properties of this object
|
3410
|
-
def update!(**args)
|
3411
|
-
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
3412
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3413
|
-
end
|
3414
|
-
end
|
3415
|
-
|
3416
3400
|
# The response message for Operations.ListOperations.
|
3417
3401
|
class ListOperationsResponse
|
3418
3402
|
include Google::Apis::Core::Hashable
|
@@ -3438,33 +3422,6 @@ module Google
|
|
3438
3422
|
end
|
3439
3423
|
end
|
3440
3424
|
|
3441
|
-
# List of RBACRoleBindings.
|
3442
|
-
class ListRbacRoleBindingsResponse
|
3443
|
-
include Google::Apis::Core::Hashable
|
3444
|
-
|
3445
|
-
# A token to request the next page of resources from the `ListRBACRoleBindings`
|
3446
|
-
# method. The value of an empty string means that there are no more resources to
|
3447
|
-
# return.
|
3448
|
-
# Corresponds to the JSON property `nextPageToken`
|
3449
|
-
# @return [String]
|
3450
|
-
attr_accessor :next_page_token
|
3451
|
-
|
3452
|
-
# The list of RBACRoleBindings
|
3453
|
-
# Corresponds to the JSON property `rbacrolebindings`
|
3454
|
-
# @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
|
3455
|
-
attr_accessor :rbacrolebindings
|
3456
|
-
|
3457
|
-
def initialize(**args)
|
3458
|
-
update!(**args)
|
3459
|
-
end
|
3460
|
-
|
3461
|
-
# Update properties of this object
|
3462
|
-
def update!(**args)
|
3463
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3464
|
-
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
3465
|
-
end
|
3466
|
-
end
|
3467
|
-
|
3468
3425
|
# List of fleet namespaces.
|
3469
3426
|
class ListScopeNamespacesResponse
|
3470
3427
|
include Google::Apis::Core::Hashable
|
@@ -4622,6 +4579,27 @@ module Google
|
|
4622
4579
|
end
|
4623
4580
|
end
|
4624
4581
|
|
4582
|
+
# Binauthz policy that applies to this cluster.
|
4583
|
+
class PolicyBinding
|
4584
|
+
include Google::Apis::Core::Hashable
|
4585
|
+
|
4586
|
+
# The relative resource name of the binauthz platform policy to audit. GKE
|
4587
|
+
# platform policies have the following format: `projects/`project_number`/
|
4588
|
+
# platforms/gke/policies/`policy_id``.
|
4589
|
+
# Corresponds to the JSON property `name`
|
4590
|
+
# @return [String]
|
4591
|
+
attr_accessor :name
|
4592
|
+
|
4593
|
+
def initialize(**args)
|
4594
|
+
update!(**args)
|
4595
|
+
end
|
4596
|
+
|
4597
|
+
# Update properties of this object
|
4598
|
+
def update!(**args)
|
4599
|
+
@name = args[:name] if args.key?(:name)
|
4600
|
+
end
|
4601
|
+
end
|
4602
|
+
|
4625
4603
|
# BundleInstallSpec is the specification configuration for a single managed
|
4626
4604
|
# bundle.
|
4627
4605
|
class PolicyControllerBundleInstallSpec
|
@@ -5069,9 +5047,9 @@ module Google
|
|
5069
5047
|
attr_accessor :labels
|
5070
5048
|
|
5071
5049
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
5072
|
-
# location`/
|
5073
|
-
#
|
5074
|
-
#
|
5050
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
5051
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
5052
|
+
# rbacrolebinding``
|
5075
5053
|
# Corresponds to the JSON property `name`
|
5076
5054
|
# @return [String]
|
5077
5055
|
attr_accessor :name
|
@@ -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.70.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 = "20231201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BinaryAuthorizationConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class Binding
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -604,24 +610,12 @@ module Google
|
|
604
610
|
include Google::Apis::Core::JsonObjectSupport
|
605
611
|
end
|
606
612
|
|
607
|
-
class ListNamespacesResponse
|
608
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
-
|
610
|
-
include Google::Apis::Core::JsonObjectSupport
|
611
|
-
end
|
612
|
-
|
613
613
|
class ListOperationsResponse
|
614
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
615
|
|
616
616
|
include Google::Apis::Core::JsonObjectSupport
|
617
617
|
end
|
618
618
|
|
619
|
-
class ListRbacRoleBindingsResponse
|
620
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
-
|
622
|
-
include Google::Apis::Core::JsonObjectSupport
|
623
|
-
end
|
624
|
-
|
625
619
|
class ListScopeNamespacesResponse
|
626
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
621
|
|
@@ -784,6 +778,12 @@ module Google
|
|
784
778
|
include Google::Apis::Core::JsonObjectSupport
|
785
779
|
end
|
786
780
|
|
781
|
+
class PolicyBinding
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
787
787
|
class PolicyControllerBundleInstallSpec
|
788
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
789
|
|
@@ -1089,6 +1089,15 @@ module Google
|
|
1089
1089
|
end
|
1090
1090
|
end
|
1091
1091
|
|
1092
|
+
class BinaryAuthorizationConfig
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :evaluation_mode, as: 'evaluationMode'
|
1096
|
+
collection :policy_bindings, as: 'policyBindings', class: Google::Apis::GkehubV1alpha::PolicyBinding, decorator: Google::Apis::GkehubV1alpha::PolicyBinding::Representation
|
1097
|
+
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1092
1101
|
class Binding
|
1093
1102
|
# @private
|
1094
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1212,7 +1221,6 @@ module Google
|
|
1212
1221
|
class ClusterUpgradeMembershipState
|
1213
1222
|
# @private
|
1214
1223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1215
|
-
property :fleet, as: 'fleet'
|
1216
1224
|
property :ignored, as: 'ignored', class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership::Representation
|
1217
1225
|
|
1218
1226
|
collection :scopes, as: 'scopes'
|
@@ -1348,7 +1356,6 @@ module Google
|
|
1348
1356
|
|
1349
1357
|
property :prevent_drift, as: 'preventDrift'
|
1350
1358
|
property :source_format, as: 'sourceFormat'
|
1351
|
-
property :stop_syncing, as: 'stopSyncing'
|
1352
1359
|
end
|
1353
1360
|
end
|
1354
1361
|
|
@@ -1494,7 +1501,6 @@ module Google
|
|
1494
1501
|
|
1495
1502
|
property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
|
1496
1503
|
|
1497
|
-
property :management, as: 'management'
|
1498
1504
|
property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
|
1499
1505
|
|
1500
1506
|
property :version, as: 'version'
|
@@ -1627,6 +1633,8 @@ module Google
|
|
1627
1633
|
class DefaultClusterConfig
|
1628
1634
|
# @private
|
1629
1635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1636
|
+
property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
|
1637
|
+
|
1630
1638
|
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
|
1631
1639
|
|
1632
1640
|
end
|
@@ -2006,15 +2014,6 @@ module Google
|
|
2006
2014
|
end
|
2007
2015
|
end
|
2008
2016
|
|
2009
|
-
class ListNamespacesResponse
|
2010
|
-
# @private
|
2011
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2012
|
-
collection :namespaces, as: 'namespaces', class: Google::Apis::GkehubV1alpha::Namespace, decorator: Google::Apis::GkehubV1alpha::Namespace::Representation
|
2013
|
-
|
2014
|
-
property :next_page_token, as: 'nextPageToken'
|
2015
|
-
end
|
2016
|
-
end
|
2017
|
-
|
2018
2017
|
class ListOperationsResponse
|
2019
2018
|
# @private
|
2020
2019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2024,15 +2023,6 @@ module Google
|
|
2024
2023
|
end
|
2025
2024
|
end
|
2026
2025
|
|
2027
|
-
class ListRbacRoleBindingsResponse
|
2028
|
-
# @private
|
2029
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2030
|
-
property :next_page_token, as: 'nextPageToken'
|
2031
|
-
collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
2032
|
-
|
2033
|
-
end
|
2034
|
-
end
|
2035
|
-
|
2036
2026
|
class ListScopeNamespacesResponse
|
2037
2027
|
# @private
|
2038
2028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2340,6 +2330,13 @@ module Google
|
|
2340
2330
|
end
|
2341
2331
|
end
|
2342
2332
|
|
2333
|
+
class PolicyBinding
|
2334
|
+
# @private
|
2335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2336
|
+
property :name, as: 'name'
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
|
2343
2340
|
class PolicyControllerBundleInstallSpec
|
2344
2341
|
# @private
|
2345
2342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1566,9 +1566,9 @@ module Google
|
|
1566
1566
|
# Updates a Membership RBACRoleBinding.
|
1567
1567
|
# @param [String] name
|
1568
1568
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1569
|
-
# location`/
|
1570
|
-
#
|
1571
|
-
#
|
1569
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
1570
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
1571
|
+
# rbacrolebinding``
|
1572
1572
|
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1573
1573
|
# @param [String] update_mask
|
1574
1574
|
# Required. The fields to be updated.
|
@@ -1602,369 +1602,6 @@ module Google
|
|
1602
1602
|
execute_or_queue_command(command, &block)
|
1603
1603
|
end
|
1604
1604
|
|
1605
|
-
# Creates a fleet namespace.
|
1606
|
-
# @param [String] parent
|
1607
|
-
# Required. The parent (project and location) where the Namespace will be
|
1608
|
-
# created. Specified in the format `projects/*/locations/*`.
|
1609
|
-
# @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
|
1610
|
-
# @param [String] namespace_id
|
1611
|
-
# Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
|
1612
|
-
# RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
|
1613
|
-
# consist of lower case alphanumeric characters or `-` 3. It must start and end
|
1614
|
-
# with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
|
1615
|
-
# -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1616
|
-
# @param [String] fields
|
1617
|
-
# Selector specifying which fields to include in a partial response.
|
1618
|
-
# @param [String] quota_user
|
1619
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1620
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1621
|
-
# @param [Google::Apis::RequestOptions] options
|
1622
|
-
# Request-specific options
|
1623
|
-
#
|
1624
|
-
# @yield [result, err] Result & error if block supplied
|
1625
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1626
|
-
# @yieldparam err [StandardError] error object if request failed
|
1627
|
-
#
|
1628
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1629
|
-
#
|
1630
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1631
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1632
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1633
|
-
def create_project_location_namespace(parent, namespace_object = nil, namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1634
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/namespaces', options)
|
1635
|
-
command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
1636
|
-
command.request_object = namespace_object
|
1637
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1638
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1639
|
-
command.params['parent'] = parent unless parent.nil?
|
1640
|
-
command.query['namespaceId'] = namespace_id unless namespace_id.nil?
|
1641
|
-
command.query['fields'] = fields unless fields.nil?
|
1642
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1643
|
-
execute_or_queue_command(command, &block)
|
1644
|
-
end
|
1645
|
-
|
1646
|
-
# Deletes a fleet namespace.
|
1647
|
-
# @param [String] name
|
1648
|
-
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
1649
|
-
# namespaces/*`.
|
1650
|
-
# @param [String] fields
|
1651
|
-
# Selector specifying which fields to include in a partial response.
|
1652
|
-
# @param [String] quota_user
|
1653
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1654
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1655
|
-
# @param [Google::Apis::RequestOptions] options
|
1656
|
-
# Request-specific options
|
1657
|
-
#
|
1658
|
-
# @yield [result, err] Result & error if block supplied
|
1659
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1660
|
-
# @yieldparam err [StandardError] error object if request failed
|
1661
|
-
#
|
1662
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1663
|
-
#
|
1664
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1665
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1666
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1667
|
-
def delete_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
1668
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1669
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1670
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1671
|
-
command.params['name'] = name unless name.nil?
|
1672
|
-
command.query['fields'] = fields unless fields.nil?
|
1673
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1674
|
-
execute_or_queue_command(command, &block)
|
1675
|
-
end
|
1676
|
-
|
1677
|
-
# Returns the details of a fleet namespace.
|
1678
|
-
# @param [String] name
|
1679
|
-
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
1680
|
-
# namespaces/*`.
|
1681
|
-
# @param [String] fields
|
1682
|
-
# Selector specifying which fields to include in a partial response.
|
1683
|
-
# @param [String] quota_user
|
1684
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1685
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1686
|
-
# @param [Google::Apis::RequestOptions] options
|
1687
|
-
# Request-specific options
|
1688
|
-
#
|
1689
|
-
# @yield [result, err] Result & error if block supplied
|
1690
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Namespace] parsed result object
|
1691
|
-
# @yieldparam err [StandardError] error object if request failed
|
1692
|
-
#
|
1693
|
-
# @return [Google::Apis::GkehubV1alpha::Namespace]
|
1694
|
-
#
|
1695
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1696
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1697
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1698
|
-
def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
1699
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1700
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
1701
|
-
command.response_class = Google::Apis::GkehubV1alpha::Namespace
|
1702
|
-
command.params['name'] = name unless name.nil?
|
1703
|
-
command.query['fields'] = fields unless fields.nil?
|
1704
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1705
|
-
execute_or_queue_command(command, &block)
|
1706
|
-
end
|
1707
|
-
|
1708
|
-
# Lists fleet namespaces.
|
1709
|
-
# @param [String] parent
|
1710
|
-
# Required. The parent (project and location) where the Features will be listed.
|
1711
|
-
# Specified in the format `projects/*/locations/*`.
|
1712
|
-
# @param [Fixnum] page_size
|
1713
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1714
|
-
# of resources to return. If unspecified or set to 0, all resources will be
|
1715
|
-
# returned.
|
1716
|
-
# @param [String] page_token
|
1717
|
-
# Optional. Token returned by previous call to `ListFeatures` which specifies
|
1718
|
-
# the position in the list from where to continue listing the resources.
|
1719
|
-
# @param [String] fields
|
1720
|
-
# Selector specifying which fields to include in a partial response.
|
1721
|
-
# @param [String] quota_user
|
1722
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1723
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1724
|
-
# @param [Google::Apis::RequestOptions] options
|
1725
|
-
# Request-specific options
|
1726
|
-
#
|
1727
|
-
# @yield [result, err] Result & error if block supplied
|
1728
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::ListNamespacesResponse] parsed result object
|
1729
|
-
# @yieldparam err [StandardError] error object if request failed
|
1730
|
-
#
|
1731
|
-
# @return [Google::Apis::GkehubV1alpha::ListNamespacesResponse]
|
1732
|
-
#
|
1733
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1734
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1735
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1736
|
-
def list_project_location_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1737
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/namespaces', options)
|
1738
|
-
command.response_representation = Google::Apis::GkehubV1alpha::ListNamespacesResponse::Representation
|
1739
|
-
command.response_class = Google::Apis::GkehubV1alpha::ListNamespacesResponse
|
1740
|
-
command.params['parent'] = parent unless parent.nil?
|
1741
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1742
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1743
|
-
command.query['fields'] = fields unless fields.nil?
|
1744
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1745
|
-
execute_or_queue_command(command, &block)
|
1746
|
-
end
|
1747
|
-
|
1748
|
-
# Updates a fleet namespace.
|
1749
|
-
# @param [String] name
|
1750
|
-
# The resource name for the namespace `projects/`project`/locations/`location`/
|
1751
|
-
# namespaces/`namespace``
|
1752
|
-
# @param [Google::Apis::GkehubV1alpha::Namespace] namespace_object
|
1753
|
-
# @param [String] update_mask
|
1754
|
-
# Required. The fields to be updated.
|
1755
|
-
# @param [String] fields
|
1756
|
-
# Selector specifying which fields to include in a partial response.
|
1757
|
-
# @param [String] quota_user
|
1758
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1759
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1760
|
-
# @param [Google::Apis::RequestOptions] options
|
1761
|
-
# Request-specific options
|
1762
|
-
#
|
1763
|
-
# @yield [result, err] Result & error if block supplied
|
1764
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1765
|
-
# @yieldparam err [StandardError] error object if request failed
|
1766
|
-
#
|
1767
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1768
|
-
#
|
1769
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1770
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1771
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1772
|
-
def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1773
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1774
|
-
command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation
|
1775
|
-
command.request_object = namespace_object
|
1776
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1777
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1778
|
-
command.params['name'] = name unless name.nil?
|
1779
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1780
|
-
command.query['fields'] = fields unless fields.nil?
|
1781
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1782
|
-
execute_or_queue_command(command, &block)
|
1783
|
-
end
|
1784
|
-
|
1785
|
-
# Creates a RBACRoleBinding.
|
1786
|
-
# @param [String] parent
|
1787
|
-
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1788
|
-
# created. Specified in the format `projects/*/locations/*/namespaces/*`.
|
1789
|
-
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1790
|
-
# @param [String] rbacrolebinding_id
|
1791
|
-
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1792
|
-
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1793
|
-
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1794
|
-
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1795
|
-
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1796
|
-
# @param [String] fields
|
1797
|
-
# Selector specifying which fields to include in a partial response.
|
1798
|
-
# @param [String] quota_user
|
1799
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1800
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1801
|
-
# @param [Google::Apis::RequestOptions] options
|
1802
|
-
# Request-specific options
|
1803
|
-
#
|
1804
|
-
# @yield [result, err] Result & error if block supplied
|
1805
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1806
|
-
# @yieldparam err [StandardError] error object if request failed
|
1807
|
-
#
|
1808
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1809
|
-
#
|
1810
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1811
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1812
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1813
|
-
def create_project_location_namespace_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1814
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings', options)
|
1815
|
-
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1816
|
-
command.request_object = rbac_role_binding_object
|
1817
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1818
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1819
|
-
command.params['parent'] = parent unless parent.nil?
|
1820
|
-
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1821
|
-
command.query['fields'] = fields unless fields.nil?
|
1822
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1823
|
-
execute_or_queue_command(command, &block)
|
1824
|
-
end
|
1825
|
-
|
1826
|
-
# Deletes a RBACRoleBinding.
|
1827
|
-
# @param [String] name
|
1828
|
-
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1829
|
-
# locations/*/namespaces/*/rbacrolebindings/*`.
|
1830
|
-
# @param [String] fields
|
1831
|
-
# Selector specifying which fields to include in a partial response.
|
1832
|
-
# @param [String] quota_user
|
1833
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1834
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1835
|
-
# @param [Google::Apis::RequestOptions] options
|
1836
|
-
# Request-specific options
|
1837
|
-
#
|
1838
|
-
# @yield [result, err] Result & error if block supplied
|
1839
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1840
|
-
# @yieldparam err [StandardError] error object if request failed
|
1841
|
-
#
|
1842
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1843
|
-
#
|
1844
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1845
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1846
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1847
|
-
def delete_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1848
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1849
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1850
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1851
|
-
command.params['name'] = name unless name.nil?
|
1852
|
-
command.query['fields'] = fields unless fields.nil?
|
1853
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1854
|
-
execute_or_queue_command(command, &block)
|
1855
|
-
end
|
1856
|
-
|
1857
|
-
# Returns the details of a RBACRoleBinding.
|
1858
|
-
# @param [String] name
|
1859
|
-
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1860
|
-
# locations/*/namespaces/*/rbacrolebindings/*`.
|
1861
|
-
# @param [String] fields
|
1862
|
-
# Selector specifying which fields to include in a partial response.
|
1863
|
-
# @param [String] quota_user
|
1864
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1865
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1866
|
-
# @param [Google::Apis::RequestOptions] options
|
1867
|
-
# Request-specific options
|
1868
|
-
#
|
1869
|
-
# @yield [result, err] Result & error if block supplied
|
1870
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::RbacRoleBinding] parsed result object
|
1871
|
-
# @yieldparam err [StandardError] error object if request failed
|
1872
|
-
#
|
1873
|
-
# @return [Google::Apis::GkehubV1alpha::RbacRoleBinding]
|
1874
|
-
#
|
1875
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1876
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1877
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1878
|
-
def get_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1879
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1880
|
-
command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1881
|
-
command.response_class = Google::Apis::GkehubV1alpha::RbacRoleBinding
|
1882
|
-
command.params['name'] = name unless name.nil?
|
1883
|
-
command.query['fields'] = fields unless fields.nil?
|
1884
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1885
|
-
execute_or_queue_command(command, &block)
|
1886
|
-
end
|
1887
|
-
|
1888
|
-
# Lists RBACRoleBinding.
|
1889
|
-
# @param [String] parent
|
1890
|
-
# Required. The parent (project and location) where the Features will be listed.
|
1891
|
-
# Specified in the format `projects/*/locations/*/namespaces/*`.
|
1892
|
-
# @param [Fixnum] page_size
|
1893
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1894
|
-
# of resources to return. If unspecified or set to 0, all resources will be
|
1895
|
-
# returned.
|
1896
|
-
# @param [String] page_token
|
1897
|
-
# Optional. Token returned by previous call to `ListRBACRoleBindings` which
|
1898
|
-
# specifies the position in the list from where to continue listing the
|
1899
|
-
# resources.
|
1900
|
-
# @param [String] fields
|
1901
|
-
# Selector specifying which fields to include in a partial response.
|
1902
|
-
# @param [String] quota_user
|
1903
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1904
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1905
|
-
# @param [Google::Apis::RequestOptions] options
|
1906
|
-
# Request-specific options
|
1907
|
-
#
|
1908
|
-
# @yield [result, err] Result & error if block supplied
|
1909
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse] parsed result object
|
1910
|
-
# @yieldparam err [StandardError] error object if request failed
|
1911
|
-
#
|
1912
|
-
# @return [Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse]
|
1913
|
-
#
|
1914
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1915
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1916
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1917
|
-
def list_project_location_namespace_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1918
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/rbacrolebindings', options)
|
1919
|
-
command.response_representation = Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse::Representation
|
1920
|
-
command.response_class = Google::Apis::GkehubV1alpha::ListRbacRoleBindingsResponse
|
1921
|
-
command.params['parent'] = parent unless parent.nil?
|
1922
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1923
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1924
|
-
command.query['fields'] = fields unless fields.nil?
|
1925
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1926
|
-
execute_or_queue_command(command, &block)
|
1927
|
-
end
|
1928
|
-
|
1929
|
-
# Updates a RBACRoleBinding.
|
1930
|
-
# @param [String] name
|
1931
|
-
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1932
|
-
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
1933
|
-
# projects/`project`/locations/`location`/memberships/`membership`/
|
1934
|
-
# rbacrolebindings/`rbacrolebinding``
|
1935
|
-
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1936
|
-
# @param [String] update_mask
|
1937
|
-
# Required. The fields to be updated.
|
1938
|
-
# @param [String] fields
|
1939
|
-
# Selector specifying which fields to include in a partial response.
|
1940
|
-
# @param [String] quota_user
|
1941
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1942
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1943
|
-
# @param [Google::Apis::RequestOptions] options
|
1944
|
-
# Request-specific options
|
1945
|
-
#
|
1946
|
-
# @yield [result, err] Result & error if block supplied
|
1947
|
-
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1948
|
-
# @yieldparam err [StandardError] error object if request failed
|
1949
|
-
#
|
1950
|
-
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1951
|
-
#
|
1952
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1953
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1954
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1955
|
-
def patch_project_location_namespace_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1956
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1957
|
-
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1958
|
-
command.request_object = rbac_role_binding_object
|
1959
|
-
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1960
|
-
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1961
|
-
command.params['name'] = name unless name.nil?
|
1962
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1963
|
-
command.query['fields'] = fields unless fields.nil?
|
1964
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1965
|
-
execute_or_queue_command(command, &block)
|
1966
|
-
end
|
1967
|
-
|
1968
1605
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1969
1606
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1970
1607
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -2733,9 +2370,9 @@ module Google
|
|
2733
2370
|
# Updates a Scope RBACRoleBinding.
|
2734
2371
|
# @param [String] name
|
2735
2372
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
2736
|
-
# location`/
|
2737
|
-
#
|
2738
|
-
#
|
2373
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
2374
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
2375
|
+
# rbacrolebinding``
|
2739
2376
|
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
2740
2377
|
# @param [String] update_mask
|
2741
2378
|
# Required. The fields to be updated.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-10 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.70.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: []
|