google-apis-beyondcorp_v1alpha 0.21.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: 189c62461b095c08002d4dce0db339a893ffe3fbde2f5d686260bcbc72669b38
4
- data.tar.gz: 963708c750fb06ba49e5b645b9931f4315c738b6b7992dff86248f537d0b4d25
3
+ metadata.gz: 8cd051568b2a11cf30ce5a00786bfcc6fe25a76e4f800871760f7e7fd9596694
4
+ data.tar.gz: d8f4e4209bf4009902db748fc4f0d9ca8681b4a6c6ba80c5cded4de6e96f67a8
5
5
  SHA512:
6
- metadata.gz: bb1c444de1a7d3d68c5ba128d365b3d4764d5e679c7bf0d97e5c9ecb95ad48631add76906745804ecfa691456adc2adc282fbcadf2dd9e26d4bad69150ceb692
7
- data.tar.gz: 9603319112c1a9be76cc7a12bf975b7e285a6ee730d94e51f3901f5460d67c37a895c66a4241ec3806fc14dbb16e8f0076383ac0f6c9d6271c3437da6cf5868f
6
+ metadata.gz: d505bc055a83d4db8823c3b1d13f1267fb38e9fb45e8844f8ee35ba920ffac6b48c9d136559d427cde156b9486bd4d777d9a527a045ab26b2dfe082bb21e1843
7
+ data.tar.gz: 318bada69c128d9b07fabbe63a5d8d20d6d89542abd524e9fecca19cd68463dc783b6a3b927dc88a17ea0240356842bdabf7e8e5180ab5c6a0feb3aa7ae99809
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.21.0 (2023-06-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20230531
@@ -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
 
@@ -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.21.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 = "20230531"
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
 
@@ -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,11 @@ 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?
271
247
  command.query['fields'] = fields unless fields.nil?
272
248
  command.query['quotaUser'] = quota_user unless quota_user.nil?
273
249
  execute_or_queue_command(command, &block)
@@ -449,6 +425,50 @@ module Google
449
425
  execute_or_queue_command(command, &block)
450
426
  end
451
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
+
452
472
  # Gets details of a single BrowserDlpRule.
453
473
  # @param [String] name
454
474
  # Required. The resource name of the BrowserDlpRule using the form: `
@@ -526,6 +546,55 @@ module Google
526
546
  execute_or_queue_command(command, &block)
527
547
  end
528
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
+
529
598
  # Sets the access control policy on the specified resource. Replaces any
530
599
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
531
600
  # PERMISSION_DENIED` errors.
@@ -769,6 +838,87 @@ module Google
769
838
  execute_or_queue_command(command, &block)
770
839
  end
771
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
+
772
922
  # Sets the access control policy on the specified resource. Replaces any
773
923
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
774
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.21.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-06-11 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.21.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: []