google-apis-gkehub_v1beta 0.52.0 → 0.53.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: cc209156ad2c0b1c3118b3fed901f6481a411691634a0b27a034d0c1d7ce74c6
4
- data.tar.gz: 434bd8e0e6748092cf1f3c1d6aa0577715f3dff0138746b3991b22f01abf122f
3
+ metadata.gz: f2089a757a3d207b2bacb2226b7c02bffd0c2f95883a226f50e0596dc452c51d
4
+ data.tar.gz: 51c4c160a8e30fe84df91e3dae558024d521212e2840a55da7e67eea2a9b6951
5
5
  SHA512:
6
- metadata.gz: 1ecd179f8fbf94634730ef0d08224b39ef4406d6f7ca9bacd96cc39dff7963413efd72a38283b43c2457fbad8b7f53dd58525bf154802b46ff6011ac193cd936
7
- data.tar.gz: '05088f395097ebd8deaa139838de7786a1e993d9d7b94da3f901eaa8c80089331d4cf6cd13a5bf6ddb1fd97d61dde8b7c4fa78e8087dc8ba61837df5525062ad'
6
+ metadata.gz: a18084c47dd759b2cbe180239f70d36bd558900e2c18b29e9042e3aea2c1671950bfdec42d1d896293e1d81948ecaa6a386c1201613abed2fdda6cea454e01bf
7
+ data.tar.gz: f43ec53ed2a66950127ab48bce477146daff30403f4e755b7907d469b6d33f47b20f0442d476bdfa6d567b36db8caa3fc3e13a0dadd5bb874bc315006e288406
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.53.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230728
6
+
3
7
  ### v0.52.0 (2023-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230707
@@ -453,7 +453,7 @@ module Google
453
453
  # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
454
454
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
455
455
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
456
- # namespace `config-management-monitoring` should be binded to the GSA. This
456
+ # namespace `config-management-monitoring` should be bound to the GSA. This
457
457
  # field is required when automatic Feature management is enabled.
458
458
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
459
459
  # @return [String]
@@ -2103,11 +2103,6 @@ module Google
2103
2103
  # @return [String]
2104
2104
  attr_accessor :tenant
2105
2105
 
2106
- # Optional. Claim in the AzureAD ID Token that holds the user details.
2107
- # Corresponds to the JSON property `userClaim`
2108
- # @return [String]
2109
- attr_accessor :user_claim
2110
-
2111
2106
  def initialize(**args)
2112
2107
  update!(**args)
2113
2108
  end
@@ -2119,7 +2114,6 @@ module Google
2119
2114
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2120
2115
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2121
2116
  @tenant = args[:tenant] if args.key?(:tenant)
2122
- @user_claim = args[:user_claim] if args.key?(:user_claim)
2123
2117
  end
2124
2118
  end
2125
2119
 
@@ -2513,6 +2507,59 @@ module Google
2513
2507
  end
2514
2508
  end
2515
2509
 
2510
+ # List of fleet namespaces.
2511
+ class ListScopeNamespacesResponse
2512
+ include Google::Apis::Core::Hashable
2513
+
2514
+ # A token to request the next page of resources from the `ListNamespaces` method.
2515
+ # The value of an empty string means that there are no more resources to return.
2516
+ # Corresponds to the JSON property `nextPageToken`
2517
+ # @return [String]
2518
+ attr_accessor :next_page_token
2519
+
2520
+ # The list of fleet namespaces
2521
+ # Corresponds to the JSON property `scopeNamespaces`
2522
+ # @return [Array<Google::Apis::GkehubV1beta::Namespace>]
2523
+ attr_accessor :scope_namespaces
2524
+
2525
+ def initialize(**args)
2526
+ update!(**args)
2527
+ end
2528
+
2529
+ # Update properties of this object
2530
+ def update!(**args)
2531
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2532
+ @scope_namespaces = args[:scope_namespaces] if args.key?(:scope_namespaces)
2533
+ end
2534
+ end
2535
+
2536
+ # List of Scope RBACRoleBindings.
2537
+ class ListScopeRbacRoleBindingsResponse
2538
+ include Google::Apis::Core::Hashable
2539
+
2540
+ # A token to request the next page of resources from the `
2541
+ # ListScopeRBACRoleBindings` method. The value of an empty string means that
2542
+ # there are no more resources to return.
2543
+ # Corresponds to the JSON property `nextPageToken`
2544
+ # @return [String]
2545
+ attr_accessor :next_page_token
2546
+
2547
+ # The list of Scope RBACRoleBindings.
2548
+ # Corresponds to the JSON property `rbacrolebindings`
2549
+ # @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
2550
+ attr_accessor :rbacrolebindings
2551
+
2552
+ def initialize(**args)
2553
+ update!(**args)
2554
+ end
2555
+
2556
+ # Update properties of this object
2557
+ def update!(**args)
2558
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2559
+ @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
2560
+ end
2561
+ end
2562
+
2516
2563
  # List of Scopes.
2517
2564
  class ListScopesResponse
2518
2565
  include Google::Apis::Core::Hashable
@@ -2914,6 +2961,15 @@ module Google
2914
2961
  # @return [String]
2915
2962
  attr_accessor :name
2916
2963
 
2964
+ # Optional. Namespace-level cluster namespace labels. These labels are applied
2965
+ # to the related namespace of the member clusters bound to the parent Scope.
2966
+ # Scope-level labels (`namespace_labels` in the Fleet Scope resource) take
2967
+ # precedence over Namespace-level labels if they share a key. Keys and values
2968
+ # must be Kubernetes-conformant.
2969
+ # Corresponds to the JSON property `namespaceLabels`
2970
+ # @return [Hash<String,String>]
2971
+ attr_accessor :namespace_labels
2972
+
2917
2973
  # Required. Scope associated with the namespace
2918
2974
  # Corresponds to the JSON property `scope`
2919
2975
  # @return [String]
@@ -2946,6 +3002,7 @@ module Google
2946
3002
  @delete_time = args[:delete_time] if args.key?(:delete_time)
2947
3003
  @labels = args[:labels] if args.key?(:labels)
2948
3004
  @name = args[:name] if args.key?(:name)
3005
+ @namespace_labels = args[:namespace_labels] if args.key?(:namespace_labels)
2949
3006
  @scope = args[:scope] if args.key?(:scope)
2950
3007
  @state = args[:state] if args.key?(:state)
2951
3008
  @uid = args[:uid] if args.key?(:uid)
@@ -3779,6 +3836,15 @@ module Google
3779
3836
  # @return [String]
3780
3837
  attr_accessor :name
3781
3838
 
3839
+ # Optional. Scope-level cluster namespace labels. For the member clusters bound
3840
+ # to the Scope, these labels are applied to each namespace under the Scope.
3841
+ # Scope-level labels take precedence over Namespace-level labels (`
3842
+ # namespace_labels` in the Fleet Namespace resource) if they share a key. Keys
3843
+ # and values must be Kubernetes-conformant.
3844
+ # Corresponds to the JSON property `namespaceLabels`
3845
+ # @return [Hash<String,String>]
3846
+ attr_accessor :namespace_labels
3847
+
3782
3848
  # ScopeLifecycleState describes the state of a Scope resource.
3783
3849
  # Corresponds to the JSON property `state`
3784
3850
  # @return [Google::Apis::GkehubV1beta::ScopeLifecycleState]
@@ -3807,6 +3873,7 @@ module Google
3807
3873
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3808
3874
  @labels = args[:labels] if args.key?(:labels)
3809
3875
  @name = args[:name] if args.key?(:name)
3876
+ @namespace_labels = args[:namespace_labels] if args.key?(:namespace_labels)
3810
3877
  @state = args[:state] if args.key?(:state)
3811
3878
  @uid = args[:uid] if args.key?(:uid)
3812
3879
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.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 = "20230707"
25
+ REVISION = "20230728"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,18 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class ListScopeNamespacesResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class ListScopeRbacRoleBindingsResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class ListScopesResponse
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -1319,7 +1331,6 @@ module Google
1319
1331
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1320
1332
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1321
1333
  property :tenant, as: 'tenant'
1322
- property :user_claim, as: 'userClaim'
1323
1334
  end
1324
1335
  end
1325
1336
 
@@ -1441,6 +1452,24 @@ module Google
1441
1452
  end
1442
1453
  end
1443
1454
 
1455
+ class ListScopeNamespacesResponse
1456
+ # @private
1457
+ class Representation < Google::Apis::Core::JsonRepresentation
1458
+ property :next_page_token, as: 'nextPageToken'
1459
+ collection :scope_namespaces, as: 'scopeNamespaces', class: Google::Apis::GkehubV1beta::Namespace, decorator: Google::Apis::GkehubV1beta::Namespace::Representation
1460
+
1461
+ end
1462
+ end
1463
+
1464
+ class ListScopeRbacRoleBindingsResponse
1465
+ # @private
1466
+ class Representation < Google::Apis::Core::JsonRepresentation
1467
+ property :next_page_token, as: 'nextPageToken'
1468
+ collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1beta::RbacRoleBinding, decorator: Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1469
+
1470
+ end
1471
+ end
1472
+
1444
1473
  class ListScopesResponse
1445
1474
  # @private
1446
1475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1559,6 +1588,7 @@ module Google
1559
1588
  property :delete_time, as: 'deleteTime'
1560
1589
  hash :labels, as: 'labels'
1561
1590
  property :name, as: 'name'
1591
+ hash :namespace_labels, as: 'namespaceLabels'
1562
1592
  property :scope, as: 'scope'
1563
1593
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1beta::NamespaceLifecycleState::Representation
1564
1594
 
@@ -1789,6 +1819,7 @@ module Google
1789
1819
  property :delete_time, as: 'deleteTime'
1790
1820
  hash :labels, as: 'labels'
1791
1821
  property :name, as: 'name'
1822
+ hash :namespace_labels, as: 'namespaceLabels'
1792
1823
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::ScopeLifecycleState, decorator: Google::Apis::GkehubV1beta::ScopeLifecycleState::Representation
1793
1824
 
1794
1825
  property :uid, as: 'uid'
@@ -2019,6 +2019,369 @@ module Google
2019
2019
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2020
2020
  execute_or_queue_command(command, &block)
2021
2021
  end
2022
+
2023
+ # Creates a fleet namespace.
2024
+ # @param [String] parent
2025
+ # Required. The parent (project and location) where the Namespace will be
2026
+ # created. Specified in the format `projects/*/locations/*/scopes/*`.
2027
+ # @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
2028
+ # @param [String] scope_namespace_id
2029
+ # Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
2030
+ # RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
2031
+ # consist of lower case alphanumeric characters or `-` 3. It must start and end
2032
+ # with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
2033
+ # -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
2034
+ # @param [String] fields
2035
+ # Selector specifying which fields to include in a partial response.
2036
+ # @param [String] quota_user
2037
+ # Available to use for quota purposes for server-side applications. Can be any
2038
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2039
+ # @param [Google::Apis::RequestOptions] options
2040
+ # Request-specific options
2041
+ #
2042
+ # @yield [result, err] Result & error if block supplied
2043
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2044
+ # @yieldparam err [StandardError] error object if request failed
2045
+ #
2046
+ # @return [Google::Apis::GkehubV1beta::Operation]
2047
+ #
2048
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2049
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2050
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2051
+ def create_project_location_scope_namespace(parent, namespace_object = nil, scope_namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2052
+ command = make_simple_command(:post, 'v1beta/{+parent}/namespaces', options)
2053
+ command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
2054
+ command.request_object = namespace_object
2055
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2056
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2057
+ command.params['parent'] = parent unless parent.nil?
2058
+ command.query['scopeNamespaceId'] = scope_namespace_id unless scope_namespace_id.nil?
2059
+ command.query['fields'] = fields unless fields.nil?
2060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2061
+ execute_or_queue_command(command, &block)
2062
+ end
2063
+
2064
+ # Deletes a fleet namespace.
2065
+ # @param [String] name
2066
+ # Required. The Namespace resource name in the format `projects/*/locations/*/
2067
+ # scopes/*/namespaces/*`.
2068
+ # @param [String] fields
2069
+ # Selector specifying which fields to include in a partial response.
2070
+ # @param [String] quota_user
2071
+ # Available to use for quota purposes for server-side applications. Can be any
2072
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2073
+ # @param [Google::Apis::RequestOptions] options
2074
+ # Request-specific options
2075
+ #
2076
+ # @yield [result, err] Result & error if block supplied
2077
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2078
+ # @yieldparam err [StandardError] error object if request failed
2079
+ #
2080
+ # @return [Google::Apis::GkehubV1beta::Operation]
2081
+ #
2082
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2083
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2084
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2085
+ def delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
2086
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
2087
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2088
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2089
+ command.params['name'] = name unless name.nil?
2090
+ command.query['fields'] = fields unless fields.nil?
2091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2092
+ execute_or_queue_command(command, &block)
2093
+ end
2094
+
2095
+ # Returns the details of a fleet namespace.
2096
+ # @param [String] name
2097
+ # Required. The Namespace resource name in the format `projects/*/locations/*/
2098
+ # scopes/*/namespaces/*`.
2099
+ # @param [String] fields
2100
+ # Selector specifying which fields to include in a partial response.
2101
+ # @param [String] quota_user
2102
+ # Available to use for quota purposes for server-side applications. Can be any
2103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2104
+ # @param [Google::Apis::RequestOptions] options
2105
+ # Request-specific options
2106
+ #
2107
+ # @yield [result, err] Result & error if block supplied
2108
+ # @yieldparam result [Google::Apis::GkehubV1beta::Namespace] parsed result object
2109
+ # @yieldparam err [StandardError] error object if request failed
2110
+ #
2111
+ # @return [Google::Apis::GkehubV1beta::Namespace]
2112
+ #
2113
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2114
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2115
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2116
+ def get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
2117
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
2118
+ command.response_representation = Google::Apis::GkehubV1beta::Namespace::Representation
2119
+ command.response_class = Google::Apis::GkehubV1beta::Namespace
2120
+ command.params['name'] = name unless name.nil?
2121
+ command.query['fields'] = fields unless fields.nil?
2122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2123
+ execute_or_queue_command(command, &block)
2124
+ end
2125
+
2126
+ # Lists fleet namespaces.
2127
+ # @param [String] parent
2128
+ # Required. The parent (project and location) where the Features will be listed.
2129
+ # Specified in the format `projects/*/locations/*/scopes/*`.
2130
+ # @param [Fixnum] page_size
2131
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
2132
+ # of resources to return. If unspecified or set to 0, all resources will be
2133
+ # returned.
2134
+ # @param [String] page_token
2135
+ # Optional. Token returned by previous call to `ListFeatures` which specifies
2136
+ # the position in the list from where to continue listing the resources.
2137
+ # @param [String] fields
2138
+ # Selector specifying which fields to include in a partial response.
2139
+ # @param [String] quota_user
2140
+ # Available to use for quota purposes for server-side applications. Can be any
2141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2142
+ # @param [Google::Apis::RequestOptions] options
2143
+ # Request-specific options
2144
+ #
2145
+ # @yield [result, err] Result & error if block supplied
2146
+ # @yieldparam result [Google::Apis::GkehubV1beta::ListScopeNamespacesResponse] parsed result object
2147
+ # @yieldparam err [StandardError] error object if request failed
2148
+ #
2149
+ # @return [Google::Apis::GkehubV1beta::ListScopeNamespacesResponse]
2150
+ #
2151
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2152
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2153
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2154
+ def list_project_location_scope_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2155
+ command = make_simple_command(:get, 'v1beta/{+parent}/namespaces', options)
2156
+ command.response_representation = Google::Apis::GkehubV1beta::ListScopeNamespacesResponse::Representation
2157
+ command.response_class = Google::Apis::GkehubV1beta::ListScopeNamespacesResponse
2158
+ command.params['parent'] = parent unless parent.nil?
2159
+ command.query['pageSize'] = page_size unless page_size.nil?
2160
+ command.query['pageToken'] = page_token unless page_token.nil?
2161
+ command.query['fields'] = fields unless fields.nil?
2162
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2163
+ execute_or_queue_command(command, &block)
2164
+ end
2165
+
2166
+ # Updates a fleet namespace.
2167
+ # @param [String] name
2168
+ # The resource name for the namespace `projects/`project`/locations/`location`/
2169
+ # namespaces/`namespace``
2170
+ # @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
2171
+ # @param [String] update_mask
2172
+ # Required. The fields to be updated.
2173
+ # @param [String] fields
2174
+ # Selector specifying which fields to include in a partial response.
2175
+ # @param [String] quota_user
2176
+ # Available to use for quota purposes for server-side applications. Can be any
2177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2178
+ # @param [Google::Apis::RequestOptions] options
2179
+ # Request-specific options
2180
+ #
2181
+ # @yield [result, err] Result & error if block supplied
2182
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2183
+ # @yieldparam err [StandardError] error object if request failed
2184
+ #
2185
+ # @return [Google::Apis::GkehubV1beta::Operation]
2186
+ #
2187
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2188
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2189
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2190
+ def patch_project_location_scope_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2191
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
2192
+ command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
2193
+ command.request_object = namespace_object
2194
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2195
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2196
+ command.params['name'] = name unless name.nil?
2197
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2198
+ command.query['fields'] = fields unless fields.nil?
2199
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2200
+ execute_or_queue_command(command, &block)
2201
+ end
2202
+
2203
+ # Creates a Scope RBACRoleBinding.
2204
+ # @param [String] parent
2205
+ # Required. The parent (project and location) where the RBACRoleBinding will be
2206
+ # created. Specified in the format `projects/*/locations/*/scopes/*`.
2207
+ # @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
2208
+ # @param [String] rbacrolebinding_id
2209
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
2210
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
2211
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
2212
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
2213
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
2214
+ # @param [String] fields
2215
+ # Selector specifying which fields to include in a partial response.
2216
+ # @param [String] quota_user
2217
+ # Available to use for quota purposes for server-side applications. Can be any
2218
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2219
+ # @param [Google::Apis::RequestOptions] options
2220
+ # Request-specific options
2221
+ #
2222
+ # @yield [result, err] Result & error if block supplied
2223
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2224
+ # @yieldparam err [StandardError] error object if request failed
2225
+ #
2226
+ # @return [Google::Apis::GkehubV1beta::Operation]
2227
+ #
2228
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2229
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2230
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2231
+ def create_project_location_scope_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2232
+ command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', options)
2233
+ command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
2234
+ command.request_object = rbac_role_binding_object
2235
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2236
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2237
+ command.params['parent'] = parent unless parent.nil?
2238
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
2239
+ command.query['fields'] = fields unless fields.nil?
2240
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2241
+ execute_or_queue_command(command, &block)
2242
+ end
2243
+
2244
+ # Deletes a Scope RBACRoleBinding.
2245
+ # @param [String] name
2246
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
2247
+ # locations/*/scopes/*/rbacrolebindings/*`.
2248
+ # @param [String] fields
2249
+ # Selector specifying which fields to include in a partial response.
2250
+ # @param [String] quota_user
2251
+ # Available to use for quota purposes for server-side applications. Can be any
2252
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2253
+ # @param [Google::Apis::RequestOptions] options
2254
+ # Request-specific options
2255
+ #
2256
+ # @yield [result, err] Result & error if block supplied
2257
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2258
+ # @yieldparam err [StandardError] error object if request failed
2259
+ #
2260
+ # @return [Google::Apis::GkehubV1beta::Operation]
2261
+ #
2262
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2263
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2264
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2265
+ def delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
2266
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
2267
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2268
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2269
+ command.params['name'] = name unless name.nil?
2270
+ command.query['fields'] = fields unless fields.nil?
2271
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2272
+ execute_or_queue_command(command, &block)
2273
+ end
2274
+
2275
+ # Returns the details of a Scope RBACRoleBinding.
2276
+ # @param [String] name
2277
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
2278
+ # locations/*/scopes/*/rbacrolebindings/*`.
2279
+ # @param [String] fields
2280
+ # Selector specifying which fields to include in a partial response.
2281
+ # @param [String] quota_user
2282
+ # Available to use for quota purposes for server-side applications. Can be any
2283
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2284
+ # @param [Google::Apis::RequestOptions] options
2285
+ # Request-specific options
2286
+ #
2287
+ # @yield [result, err] Result & error if block supplied
2288
+ # @yieldparam result [Google::Apis::GkehubV1beta::RbacRoleBinding] parsed result object
2289
+ # @yieldparam err [StandardError] error object if request failed
2290
+ #
2291
+ # @return [Google::Apis::GkehubV1beta::RbacRoleBinding]
2292
+ #
2293
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2294
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2295
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2296
+ def get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
2297
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
2298
+ command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
2299
+ command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding
2300
+ command.params['name'] = name unless name.nil?
2301
+ command.query['fields'] = fields unless fields.nil?
2302
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2303
+ execute_or_queue_command(command, &block)
2304
+ end
2305
+
2306
+ # Lists all Scope RBACRoleBindings.
2307
+ # @param [String] parent
2308
+ # Required. The parent (project and location) where the Features will be listed.
2309
+ # Specified in the format `projects/*/locations/*/scopes/*`.
2310
+ # @param [Fixnum] page_size
2311
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
2312
+ # of resources to return. If unspecified or set to 0, all resources will be
2313
+ # returned.
2314
+ # @param [String] page_token
2315
+ # Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which
2316
+ # specifies the position in the list from where to continue listing the
2317
+ # resources.
2318
+ # @param [String] fields
2319
+ # Selector specifying which fields to include in a partial response.
2320
+ # @param [String] quota_user
2321
+ # Available to use for quota purposes for server-side applications. Can be any
2322
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2323
+ # @param [Google::Apis::RequestOptions] options
2324
+ # Request-specific options
2325
+ #
2326
+ # @yield [result, err] Result & error if block supplied
2327
+ # @yieldparam result [Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse] parsed result object
2328
+ # @yieldparam err [StandardError] error object if request failed
2329
+ #
2330
+ # @return [Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse]
2331
+ #
2332
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2333
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2334
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2335
+ def list_project_location_scope_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2336
+ command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', options)
2337
+ command.response_representation = Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse::Representation
2338
+ command.response_class = Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse
2339
+ command.params['parent'] = parent unless parent.nil?
2340
+ command.query['pageSize'] = page_size unless page_size.nil?
2341
+ command.query['pageToken'] = page_token unless page_token.nil?
2342
+ command.query['fields'] = fields unless fields.nil?
2343
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2344
+ execute_or_queue_command(command, &block)
2345
+ end
2346
+
2347
+ # Updates a Scope RBACRoleBinding.
2348
+ # @param [String] name
2349
+ # The resource name for the rbacrolebinding `projects/`project`/locations/`
2350
+ # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
2351
+ # projects/`project`/locations/`location`/memberships/`membership`/
2352
+ # rbacrolebindings/`rbacrolebinding``
2353
+ # @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
2354
+ # @param [String] update_mask
2355
+ # Required. The fields to be updated.
2356
+ # @param [String] fields
2357
+ # Selector specifying which fields to include in a partial response.
2358
+ # @param [String] quota_user
2359
+ # Available to use for quota purposes for server-side applications. Can be any
2360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2361
+ # @param [Google::Apis::RequestOptions] options
2362
+ # Request-specific options
2363
+ #
2364
+ # @yield [result, err] Result & error if block supplied
2365
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
2366
+ # @yieldparam err [StandardError] error object if request failed
2367
+ #
2368
+ # @return [Google::Apis::GkehubV1beta::Operation]
2369
+ #
2370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2373
+ def patch_project_location_scope_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2374
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
2375
+ command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
2376
+ command.request_object = rbac_role_binding_object
2377
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
2378
+ command.response_class = Google::Apis::GkehubV1beta::Operation
2379
+ command.params['name'] = name unless name.nil?
2380
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2381
+ command.query['fields'] = fields unless fields.nil?
2382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2383
+ execute_or_queue_command(command, &block)
2384
+ end
2022
2385
 
2023
2386
  protected
2024
2387
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-06 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []