google-apis-beyondcorp_v1alpha 0.20.0 → 0.22.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: 8566539250196ae6edc9646591ae4206ff2e56b94137a678c6d00dacb6a6986b
4
- data.tar.gz: 2bfe9bb0c0ba73db0d3c7fbca27940a291242a5808927bbda14ae959f70e5d74
3
+ metadata.gz: 8cd051568b2a11cf30ce5a00786bfcc6fe25a76e4f800871760f7e7fd9596694
4
+ data.tar.gz: d8f4e4209bf4009902db748fc4f0d9ca8681b4a6c6ba80c5cded4de6e96f67a8
5
5
  SHA512:
6
- metadata.gz: 0b91eb920002234520a7673749c7762c2ddddcf4e68b1ab90d4cbcbccff80cce4c109b2374913cef1a02bf5a02ccf386ff5ec256848fa622fcb876c7109c51f1
7
- data.tar.gz: 4bb674e147e1967863f0bf0ab76a7f84189d2c1efd0d6e1f064f787bc39fa78305944a316a92d02ca5e2d32e046b28b4a76fd1f5485c8fccfbbdc20123ea3c29
6
+ metadata.gz: d505bc055a83d4db8823c3b1d13f1267fb38e9fb45e8844f8ee35ba920ffac6b48c9d136559d427cde156b9486bd4d777d9a527a045ab26b2dfe082bb21e1843
7
+ data.tar.gz: 318bada69c128d9b07fabbe63a5d8d20d6d89542abd524e9fecca19cd68463dc783b6a3b927dc88a17ea0240356842bdabf7e8e5180ab5c6a0feb3aa7ae99809
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.22.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230613
6
+
7
+ ### v0.21.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230531
10
+
3
11
  ### v0.20.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230517
@@ -2207,31 +2207,37 @@ module Google
2207
2207
  class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
2208
2208
  include Google::Apis::Core::Hashable
2209
2209
 
2210
- # A token which can be sent as `page_token` to retrieve the next page. If this
2211
- # field is omitted, there are no subsequent pages.
2212
- # Corresponds to the JSON property `nextPageToken`
2213
- # @return [String]
2214
- attr_accessor :next_page_token
2215
-
2216
2210
  # The list of PartnerTenant objects.
2217
2211
  # Corresponds to the JSON property `partnerTenants`
2218
2212
  # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant>]
2219
2213
  attr_accessor :partner_tenants
2220
2214
 
2221
- # Locations that could not be reached.
2222
- # Corresponds to the JSON property `unreachable`
2223
- # @return [Array<String>]
2224
- attr_accessor :unreachable
2225
-
2226
2215
  def initialize(**args)
2227
2216
  update!(**args)
2228
2217
  end
2229
2218
 
2230
2219
  # Update properties of this object
2231
2220
  def update!(**args)
2232
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2233
2221
  @partner_tenants = args[:partner_tenants] if args.key?(:partner_tenants)
2234
- @unreachable = args[:unreachable] if args.key?(:unreachable)
2222
+ end
2223
+ end
2224
+
2225
+ # Message for response to listing ProxyConfigs.
2226
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse
2227
+ include Google::Apis::Core::Hashable
2228
+
2229
+ # The list of ProxyConfig objects.
2230
+ # Corresponds to the JSON property `proxyConfigs`
2231
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig>]
2232
+ attr_accessor :proxy_configs
2233
+
2234
+ def initialize(**args)
2235
+ update!(**args)
2236
+ end
2237
+
2238
+ # Update properties of this object
2239
+ def update!(**args)
2240
+ @proxy_configs = args[:proxy_configs] if args.key?(:proxy_configs)
2235
2241
  end
2236
2242
  end
2237
2243
 
@@ -2329,15 +2335,10 @@ module Google
2329
2335
  # @return [String]
2330
2336
  attr_accessor :display_name
2331
2337
 
2332
- # Optional. Google group email to which the PartnerTenant is enabled.
2333
- # Corresponds to the JSON property `googleGroupEmail`
2334
- # @return [String]
2335
- attr_accessor :google_group_email
2336
-
2337
- # Optional. Google group ID to which the PartnerTenant is enabled.
2338
- # Corresponds to the JSON property `googleGroupId`
2339
- # @return [String]
2340
- attr_accessor :google_group_id
2338
+ # Message to capture group information
2339
+ # Corresponds to the JSON property `group`
2340
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup]
2341
+ attr_accessor :group
2341
2342
 
2342
2343
  # Output only. Unique resource name of the PartnerTenant. The name is ignored
2343
2344
  # when creating PartnerTenant.
@@ -2363,8 +2364,7 @@ module Google
2363
2364
  def update!(**args)
2364
2365
  @create_time = args[:create_time] if args.key?(:create_time)
2365
2366
  @display_name = args[:display_name] if args.key?(:display_name)
2366
- @google_group_email = args[:google_group_email] if args.key?(:google_group_email)
2367
- @google_group_id = args[:google_group_id] if args.key?(:google_group_id)
2367
+ @group = args[:group] if args.key?(:group)
2368
2368
  @name = args[:name] if args.key?(:name)
2369
2369
  @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
2370
2370
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.22.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 = "20230517"
25
+ REVISION = "20230613"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,12 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
355
361
  class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
@@ -1243,10 +1249,16 @@ module Google
1243
1249
  class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
1244
1250
  # @private
1245
1251
  class Representation < Google::Apis::Core::JsonRepresentation
1246
- property :next_page_token, as: 'nextPageToken'
1247
1252
  collection :partner_tenants, as: 'partnerTenants', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
1248
1253
 
1249
- collection :unreachable, as: 'unreachable'
1254
+ end
1255
+ end
1256
+
1257
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ collection :proxy_configs, as: 'proxyConfigs', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
1261
+
1250
1262
  end
1251
1263
  end
1252
1264
 
@@ -1275,8 +1287,8 @@ module Google
1275
1287
  class Representation < Google::Apis::Core::JsonRepresentation
1276
1288
  property :create_time, as: 'createTime'
1277
1289
  property :display_name, as: 'displayName'
1278
- property :google_group_email, as: 'googleGroupEmail'
1279
- property :google_group_id, as: 'googleGroupId'
1290
+ property :group, as: 'group', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup::Representation
1291
+
1280
1292
  property :name, as: 'name'
1281
1293
  property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
1282
1294
 
@@ -222,26 +222,6 @@ module Google
222
222
  # @param [String] parent
223
223
  # Required. The parent organization to which the PartnerTenants belong. Format: `
224
224
  # organizations/`organization_id`/locations/global`
225
- # @param [String] filter
226
- # Optional. Filter partnerTenants to be returned. See [List Sub-Collections] (
227
- # https://cloud.google.com/apis/design/design_patterns#list_sub-collections) for
228
- # more details. All fields can be used in the filter. Usage: field_filter="
229
- # fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions
230
- # are allowed.
231
- # @param [String] order_by
232
- # Optional. Specifies the ordering of results. Currently, only ordering by the "
233
- # name" and "create_time" fields are supported. See [Sorting order](https://
234
- # cloud.google.com/apis/design/design_patterns#sorting_order) for more
235
- # information.
236
- # @param [Fixnum] page_size
237
- # Optional. The maximum number of items to return. The service may return fewer
238
- # than this value. If unspecified, at most 50 items will be returned. The
239
- # maximum value is 1000; values above 1000 are coerced to 1000. Regardless of
240
- # the page_size value, the response may include a partial list and a caller
241
- # should only rely on response's next_page_token to determine if there are more
242
- # instances left to be queried.
243
- # @param [String] page_token
244
- # Optional. A token identifying a page of results the server should return.
245
225
  # @param [String] fields
246
226
  # Selector specifying which fields to include in a partial response.
247
227
  # @param [String] quota_user
@@ -259,15 +239,64 @@ module Google
259
239
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
260
240
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
261
241
  # @raise [Google::Apis::AuthorizationError] Authorization is required
262
- def list_organization_location_global_partner_tenants(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
242
+ def list_organization_location_global_partner_tenants(parent, fields: nil, quota_user: nil, options: nil, &block)
263
243
  command = make_simple_command(:get, 'v1alpha/{+parent}/partnerTenants', options)
264
244
  command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse::Representation
265
245
  command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
266
246
  command.params['parent'] = parent unless parent.nil?
267
- command.query['filter'] = filter unless filter.nil?
268
- command.query['orderBy'] = order_by unless order_by.nil?
269
- command.query['pageSize'] = page_size unless page_size.nil?
270
- command.query['pageToken'] = page_token unless page_token.nil?
247
+ command.query['fields'] = fields unless fields.nil?
248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
249
+ execute_or_queue_command(command, &block)
250
+ end
251
+
252
+ # Updates a single PartnerTenant.
253
+ # @param [String] name
254
+ # Output only. Unique resource name of the PartnerTenant. The name is ignored
255
+ # when creating PartnerTenant.
256
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
257
+ # @param [String] request_id
258
+ # Optional. An optional request ID to identify requests. Specify a unique
259
+ # request ID so that if you must retry your request, the server will know to
260
+ # ignore the request if it has already been completed. The server will guarantee
261
+ # that for at least 60 minutes since the first request. For example, consider a
262
+ # situation where you make an initial request and the request times out. If you
263
+ # make the request again with the same request ID, the server can check if
264
+ # original operation with the same request ID was received, and if so, will
265
+ # ignore the second request. This prevents clients from accidentally creating
266
+ # duplicate commitments. The request ID must be a valid UUID with the exception
267
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
268
+ # @param [String] update_mask
269
+ # Required. Field mask is used to specify the fields to be overwritten in the
270
+ # PartnerTenant resource by the update. The fields specified in the update_mask
271
+ # are relative to the resource, not the full request. A field will be
272
+ # overwritten if it is in the mask. If the user does not provide a mask then all
273
+ # fields will be overwritten.
274
+ # @param [String] fields
275
+ # Selector specifying which fields to include in a partial response.
276
+ # @param [String] quota_user
277
+ # Available to use for quota purposes for server-side applications. Can be any
278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
279
+ # @param [Google::Apis::RequestOptions] options
280
+ # Request-specific options
281
+ #
282
+ # @yield [result, err] Result & error if block supplied
283
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
284
+ # @yieldparam err [StandardError] error object if request failed
285
+ #
286
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
287
+ #
288
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
289
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
291
+ def patch_organization_location_global_partner_tenant(name, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
292
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
293
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
294
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
295
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
296
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
297
+ command.params['name'] = name unless name.nil?
298
+ command.query['requestId'] = request_id unless request_id.nil?
299
+ command.query['updateMask'] = update_mask unless update_mask.nil?
271
300
  command.query['fields'] = fields unless fields.nil?
272
301
  command.query['quotaUser'] = quota_user unless quota_user.nil?
273
302
  execute_or_queue_command(command, &block)
@@ -396,6 +425,50 @@ module Google
396
425
  execute_or_queue_command(command, &block)
397
426
  end
398
427
 
428
+ # Deletes an existing BrowserDlpRule.
429
+ # @param [String] name
430
+ # Required. The resource name of the BrowserDlpRule using the form: `
431
+ # organizations/`organization_id`/locations/global/partnerTenants/`
432
+ # partner_tenant_id`/browserDlpRules/`browser_dlp_rule_id``
433
+ # @param [String] request_id
434
+ # Optional. An optional request ID to identify requests. Specify a unique
435
+ # request ID so that if you must retry your request, the server will know to
436
+ # ignore the request if it has already been completed. The server will guarantee
437
+ # that for at least 60 minutes after the first request. For example, consider a
438
+ # situation where you make an initial request and the request times out. If you
439
+ # make the request again with the same request ID, the server can check if
440
+ # original operation with the same request ID was received, and if so, will
441
+ # ignore the second request. This prevents clients from accidentally creating
442
+ # duplicate commitments. The request ID must be a valid UUID with the exception
443
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
444
+ # @param [String] fields
445
+ # Selector specifying which fields to include in a partial response.
446
+ # @param [String] quota_user
447
+ # Available to use for quota purposes for server-side applications. Can be any
448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
449
+ # @param [Google::Apis::RequestOptions] options
450
+ # Request-specific options
451
+ #
452
+ # @yield [result, err] Result & error if block supplied
453
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
454
+ # @yieldparam err [StandardError] error object if request failed
455
+ #
456
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
457
+ #
458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
461
+ def delete_organization_location_global_partner_tenant_browser_dlp_rule(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
462
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
463
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
464
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
465
+ command.params['name'] = name unless name.nil?
466
+ command.query['requestId'] = request_id unless request_id.nil?
467
+ command.query['fields'] = fields unless fields.nil?
468
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
469
+ execute_or_queue_command(command, &block)
470
+ end
471
+
399
472
  # Gets details of a single BrowserDlpRule.
400
473
  # @param [String] name
401
474
  # Required. The resource name of the BrowserDlpRule using the form: `
@@ -473,6 +546,55 @@ module Google
473
546
  execute_or_queue_command(command, &block)
474
547
  end
475
548
 
549
+ # Update an existing BrowserDlpRule in a given organization and PartnerTenant.
550
+ # @param [String] name
551
+ # Output only. Unique resource name. The name is ignored when creating
552
+ # BrowserDlpRule.
553
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
554
+ # @param [String] request_id
555
+ # Optional. An optional request ID to identify requests. Specify a unique
556
+ # request ID so that if you must retry your request, the server will know to
557
+ # ignore the request if it has already been completed. The server will guarantee
558
+ # that for at least 60 minutes since the first request. For example, consider a
559
+ # situation where you make an initial request and the request times out. If you
560
+ # make the request again with the same request ID, the server can check if
561
+ # original operation with the same request ID was received, and if so, will
562
+ # ignore the second request. This prevents clients from accidentally creating
563
+ # duplicate commitments. The request ID must be a valid UUID with the exception
564
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
565
+ # @param [String] update_mask
566
+ # Required. Supported fields include: rule_setting.value.*, group.id/group.email.
567
+ # @param [String] fields
568
+ # Selector specifying which fields to include in a partial response.
569
+ # @param [String] quota_user
570
+ # Available to use for quota purposes for server-side applications. Can be any
571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
572
+ # @param [Google::Apis::RequestOptions] options
573
+ # Request-specific options
574
+ #
575
+ # @yield [result, err] Result & error if block supplied
576
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
577
+ # @yieldparam err [StandardError] error object if request failed
578
+ #
579
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
580
+ #
581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
584
+ def patch_organization_location_global_partner_tenant_browser_dlp_rule(name, google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
585
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
586
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
587
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
588
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
589
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
590
+ command.params['name'] = name unless name.nil?
591
+ command.query['requestId'] = request_id unless request_id.nil?
592
+ command.query['updateMask'] = update_mask unless update_mask.nil?
593
+ command.query['fields'] = fields unless fields.nil?
594
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
595
+ execute_or_queue_command(command, &block)
596
+ end
597
+
476
598
  # Sets the access control policy on the specified resource. Replaces any
477
599
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
478
600
  # PERMISSION_DENIED` errors.
@@ -597,6 +719,48 @@ module Google
597
719
  execute_or_queue_command(command, &block)
598
720
  end
599
721
 
722
+ # Deletes a single ProxyConfig.
723
+ # @param [String] name
724
+ # Required. Name of the resource.
725
+ # @param [String] request_id
726
+ # Optional. An optional request ID to identify requests. Specify a unique
727
+ # request ID so that if you must retry your request, the server will know to
728
+ # ignore the request if it has already been completed. The server will guarantee
729
+ # that for at least 60 minutes after the first request. For example, consider a
730
+ # situation where you make an initial request and the request times out. If you
731
+ # make the request again with the same request ID, the server can check if
732
+ # original operation with the same request ID was received, and if so, will
733
+ # ignore the second request. This prevents clients from accidentally creating
734
+ # duplicate commitments. The request ID must be a valid UUID with the exception
735
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
736
+ # @param [String] fields
737
+ # Selector specifying which fields to include in a partial response.
738
+ # @param [String] quota_user
739
+ # Available to use for quota purposes for server-side applications. Can be any
740
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
741
+ # @param [Google::Apis::RequestOptions] options
742
+ # Request-specific options
743
+ #
744
+ # @yield [result, err] Result & error if block supplied
745
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
746
+ # @yieldparam err [StandardError] error object if request failed
747
+ #
748
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
749
+ #
750
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
751
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
752
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
753
+ def delete_organization_location_global_partner_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
754
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
755
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
756
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
757
+ command.params['name'] = name unless name.nil?
758
+ command.query['requestId'] = request_id unless request_id.nil?
759
+ command.query['fields'] = fields unless fields.nil?
760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
+ execute_or_queue_command(command, &block)
762
+ end
763
+
600
764
  # Gets details of a single ProxyConfig.
601
765
  # @param [String] name
602
766
  # Required. The resource name of the ProxyConfig using the form: `organizations/`
@@ -674,6 +838,87 @@ module Google
674
838
  execute_or_queue_command(command, &block)
675
839
  end
676
840
 
841
+ # Lists ProxyConfigs for PartnerTenant in a given organization.
842
+ # @param [String] parent
843
+ # Required. The parent organization to which the ProxyConfigs belong. Format: `
844
+ # organizations/`organization_id`/locations/global/partnerTenants/`
845
+ # partner_tenant_id``
846
+ # @param [String] fields
847
+ # Selector specifying which fields to include in a partial response.
848
+ # @param [String] quota_user
849
+ # Available to use for quota purposes for server-side applications. Can be any
850
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
851
+ # @param [Google::Apis::RequestOptions] options
852
+ # Request-specific options
853
+ #
854
+ # @yield [result, err] Result & error if block supplied
855
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse] parsed result object
856
+ # @yieldparam err [StandardError] error object if request failed
857
+ #
858
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse]
859
+ #
860
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
861
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
862
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
863
+ def list_organization_location_global_partner_tenant_proxy_configs(parent, fields: nil, quota_user: nil, options: nil, &block)
864
+ command = make_simple_command(:get, 'v1alpha/{+parent}/proxyConfigs', options)
865
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse::Representation
866
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListProxyConfigsResponse
867
+ command.params['parent'] = parent unless parent.nil?
868
+ command.query['fields'] = fields unless fields.nil?
869
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
870
+ execute_or_queue_command(command, &block)
871
+ end
872
+
873
+ # Updates a single proxy config.
874
+ # @param [String] name
875
+ # Output only. ProxyConfig resource name.
876
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
877
+ # @param [String] request_id
878
+ # Optional. An optional request ID to identify requests. Specify a unique
879
+ # request ID so that if you must retry your request, the server will know to
880
+ # ignore the request if it has already been completed. The server will guarantee
881
+ # that for at least 60 minutes after the first request. For example, consider a
882
+ # situation where you make an initial request and the request times out. If you
883
+ # make the request again with the same request ID, the server can check if
884
+ # original operation with the same request ID was received, and if so, will
885
+ # ignore the second request. This prevents clients from accidentally creating
886
+ # duplicate commitments. The request ID must be a valid UUID with the exception
887
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
888
+ # @param [String] update_mask
889
+ # Required. Mutable fields include: display_name, proxy_uri, routing_info,
890
+ # transport_info, encryption_info.
891
+ # @param [String] fields
892
+ # Selector specifying which fields to include in a partial response.
893
+ # @param [String] quota_user
894
+ # Available to use for quota purposes for server-side applications. Can be any
895
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
896
+ # @param [Google::Apis::RequestOptions] options
897
+ # Request-specific options
898
+ #
899
+ # @yield [result, err] Result & error if block supplied
900
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
901
+ # @yieldparam err [StandardError] error object if request failed
902
+ #
903
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
904
+ #
905
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
906
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
907
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
908
+ def patch_organization_location_global_partner_tenant_proxy_config(name, google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
909
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
910
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
911
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
912
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
913
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
914
+ command.params['name'] = name unless name.nil?
915
+ command.query['requestId'] = request_id unless request_id.nil?
916
+ command.query['updateMask'] = update_mask unless update_mask.nil?
917
+ command.query['fields'] = fields unless fields.nil?
918
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
919
+ execute_or_queue_command(command, &block)
920
+ end
921
+
677
922
  # Sets the access control policy on the specified resource. Replaces any
678
923
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
679
924
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-18 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-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []