google-apis-gkehub_v1alpha 0.68.0 → 0.69.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: 9e759a7a6d87e3dd276400fa06a50c52a215840319625aa9da8787d71187c727
4
- data.tar.gz: 27af629981122caef8206479c41ba079e75640d70665524bfa38ac43c3dc0ef1
3
+ metadata.gz: 0f8844b6b79021297db1fdef2ab5c856395f07900f13aed417fc67971e71f3c8
4
+ data.tar.gz: c4c253bd9aceeb5380dfa7f9c068b2f7de15d5f5e138e34acc0b4777db53c34f
5
5
  SHA512:
6
- metadata.gz: d081c15a441f383691228fdb4c28b6908a2000f5589a7f77c400df3b475e66576befe3de9602fb72b8ef8f0d1c97876fecb955ab80ffa33417e8f4ede47c29d5
7
- data.tar.gz: ab1fcdaac75a19c70b54101d8fb6008850278a2d9d942c63ff81ee1bc191036455f0cad0dcdef3e24c6bf7e1f6b832cf6ac65bfc954c1664c7b3e3b9ea322970
6
+ metadata.gz: c4e4c955f9b8acc1c4f5331354924e1813c9300164bc14fa77bd730e6fbfad1d98c6e7ef51f4174882e6778334168a8b88ca9c5ea48f7bbd2973a94bd3ef2623
7
+ data.tar.gz: 8daed80718766a87bc6b5d24a42a89a5dc9183730ff6de0d5a1d6c1db077bdde05d8acaf50785f302014e99afd738dac040786230108fb25df48b40b4c4bbb73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.69.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231114
6
+
3
7
  ### v0.68.0 (2023-11-12)
4
8
 
5
9
  * 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
@@ -1106,14 +1132,6 @@ module Google
1106
1132
  # @return [String]
1107
1133
  attr_accessor :source_format
1108
1134
 
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
1135
  def initialize(**args)
1118
1136
  update!(**args)
1119
1137
  end
@@ -1127,7 +1145,6 @@ module Google
1127
1145
  @oci = args[:oci] if args.key?(:oci)
1128
1146
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
1129
1147
  @source_format = args[:source_format] if args.key?(:source_format)
1130
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1131
1148
  end
1132
1149
  end
1133
1150
 
@@ -1619,11 +1636,6 @@ module Google
1619
1636
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
1620
1637
  attr_accessor :hierarchy_controller
1621
1638
 
1622
- # Enables automatic Feature management.
1623
- # Corresponds to the JSON property `management`
1624
- # @return [String]
1625
- attr_accessor :management
1626
-
1627
1639
  # Configuration for Policy Controller
1628
1640
  # Corresponds to the JSON property `policyController`
1629
1641
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
@@ -1644,7 +1656,6 @@ module Google
1644
1656
  @cluster = args[:cluster] if args.key?(:cluster)
1645
1657
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1646
1658
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1647
- @management = args[:management] if args.key?(:management)
1648
1659
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1649
1660
  @version = args[:version] if args.key?(:version)
1650
1661
  end
@@ -2083,6 +2094,12 @@ module Google
2083
2094
  class DefaultClusterConfig
2084
2095
  include Google::Apis::Core::Hashable
2085
2096
 
2097
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
2098
+ # authorization feature.
2099
+ # Corresponds to the JSON property `binaryAuthorizationConfig`
2100
+ # @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
2101
+ attr_accessor :binary_authorization_config
2102
+
2086
2103
  # SecurityPostureConfig defines the flags needed to enable/disable features for
2087
2104
  # the Security Posture API.
2088
2105
  # Corresponds to the JSON property `securityPostureConfig`
@@ -2095,6 +2112,7 @@ module Google
2095
2112
 
2096
2113
  # Update properties of this object
2097
2114
  def update!(**args)
2115
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
2098
2116
  @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
2099
2117
  end
2100
2118
  end
@@ -3387,32 +3405,6 @@ module Google
3387
3405
  end
3388
3406
  end
3389
3407
 
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
3408
  # The response message for Operations.ListOperations.
3417
3409
  class ListOperationsResponse
3418
3410
  include Google::Apis::Core::Hashable
@@ -3438,33 +3430,6 @@ module Google
3438
3430
  end
3439
3431
  end
3440
3432
 
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
3433
  # List of fleet namespaces.
3469
3434
  class ListScopeNamespacesResponse
3470
3435
  include Google::Apis::Core::Hashable
@@ -4622,6 +4587,27 @@ module Google
4622
4587
  end
4623
4588
  end
4624
4589
 
4590
+ # Binauthz policy that applies to this cluster.
4591
+ class PolicyBinding
4592
+ include Google::Apis::Core::Hashable
4593
+
4594
+ # The relative resource name of the binauthz platform policy to audit. GKE
4595
+ # platform policies have the following format: `projects/`project_number`/
4596
+ # platforms/gke/policies/`policy_id``.
4597
+ # Corresponds to the JSON property `name`
4598
+ # @return [String]
4599
+ attr_accessor :name
4600
+
4601
+ def initialize(**args)
4602
+ update!(**args)
4603
+ end
4604
+
4605
+ # Update properties of this object
4606
+ def update!(**args)
4607
+ @name = args[:name] if args.key?(:name)
4608
+ end
4609
+ end
4610
+
4625
4611
  # BundleInstallSpec is the specification configuration for a single managed
4626
4612
  # bundle.
4627
4613
  class PolicyControllerBundleInstallSpec
@@ -5069,9 +5055,9 @@ module Google
5069
5055
  attr_accessor :labels
5070
5056
 
5071
5057
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
5072
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
5073
- # projects/`project`/locations/`location`/memberships/`membership`/
5074
- # rbacrolebindings/`rbacrolebinding``
5058
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
5059
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
5060
+ # rbacrolebinding``
5075
5061
  # Corresponds to the JSON property `name`
5076
5062
  # @return [String]
5077
5063
  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.68.0"
19
+ GEM_VERSION = "0.69.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 = "20231103"
25
+ REVISION = "20231114"
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
@@ -1348,7 +1357,6 @@ module Google
1348
1357
 
1349
1358
  property :prevent_drift, as: 'preventDrift'
1350
1359
  property :source_format, as: 'sourceFormat'
1351
- property :stop_syncing, as: 'stopSyncing'
1352
1360
  end
1353
1361
  end
1354
1362
 
@@ -1494,7 +1502,6 @@ module Google
1494
1502
 
1495
1503
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
1496
1504
 
1497
- property :management, as: 'management'
1498
1505
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
1499
1506
 
1500
1507
  property :version, as: 'version'
@@ -1627,6 +1634,8 @@ module Google
1627
1634
  class DefaultClusterConfig
1628
1635
  # @private
1629
1636
  class Representation < Google::Apis::Core::JsonRepresentation
1637
+ property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
1638
+
1630
1639
  property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
1631
1640
 
1632
1641
  end
@@ -2006,15 +2015,6 @@ module Google
2006
2015
  end
2007
2016
  end
2008
2017
 
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
2018
  class ListOperationsResponse
2019
2019
  # @private
2020
2020
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2024,15 +2024,6 @@ module Google
2024
2024
  end
2025
2025
  end
2026
2026
 
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
2027
  class ListScopeNamespacesResponse
2037
2028
  # @private
2038
2029
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2340,6 +2331,13 @@ module Google
2340
2331
  end
2341
2332
  end
2342
2333
 
2334
+ class PolicyBinding
2335
+ # @private
2336
+ class Representation < Google::Apis::Core::JsonRepresentation
2337
+ property :name, as: 'name'
2338
+ end
2339
+ end
2340
+
2343
2341
  class PolicyControllerBundleInstallSpec
2344
2342
  # @private
2345
2343
  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`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
1570
- # projects/`project`/locations/`location`/memberships/`membership`/
1571
- # rbacrolebindings/`rbacrolebinding``
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`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
2737
- # projects/`project`/locations/`location`/memberships/`membership`/
2738
- # rbacrolebindings/`rbacrolebinding``
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.68.0
4
+ version: 0.69.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-12 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.69.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: []