google-apis-beyondcorp_v1alpha 0.32.0 → 0.34.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: 506cc67ecbc7658eea19e5479503fcd0df49974616381dc200bd890a8860fe5c
4
- data.tar.gz: adf142b20fdaa44e6ba808ed45346c2fd961e1d52b0fa7deb58165692e59e469
3
+ metadata.gz: f41230fa1658581b3975928a686f54e46fd89e7efa5220680187e204d77a38f9
4
+ data.tar.gz: 956b9436c5dfc5460b614c10f092994d25a217b01690af551a42032b37cd6283
5
5
  SHA512:
6
- metadata.gz: 2a80ff0a28e8b1ad25bfeb579ec4d617dedbeb5f42bd9948266d99fed5afc4294f23fa25bdb85450b7a17ecf618012c545b67eb171e35be59eaeb9f266e71d94
7
- data.tar.gz: 0f07dc3ed3b4864210b17d23c1be94ba200d9b636cb5537198c286b3dd5c6c4ab9ace18c67600f0f8671c6accf3cd9471d44ed93816e3e2007f77fcd4a11fed7
6
+ metadata.gz: 0d5ca04ce59848c23116300e53cc77f39747d1d5aa593a970fe551438282a23e424680782c2069172a31c08fffb2e8cb085b4ca80631aa9f5a3afcf3260aef7a
7
+ data.tar.gz: 36fdb71d86e84e0b920fc400820f5f595a1b0cee3a1fb3c8f0b408374ba8e84588624f9bd95ac19f2cb95b39e044222581aa85538a1a691b9981267a5bd13e8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.34.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240320
6
+
7
+ ### v0.33.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240228
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.32.0 (2024-02-23)
4
13
 
5
14
  * Unspecified changes
@@ -2754,6 +2754,174 @@ module Google
2754
2754
  end
2755
2755
  end
2756
2756
 
2757
+ # Message for response to listing SecurityGateways.
2758
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
2759
+ include Google::Apis::Core::Hashable
2760
+
2761
+ # A token to retrieve the next page of results, or empty if there are no more
2762
+ # results in the list.
2763
+ # Corresponds to the JSON property `nextPageToken`
2764
+ # @return [String]
2765
+ attr_accessor :next_page_token
2766
+
2767
+ # A list of BeyondCorp SecurityGateway in the project.
2768
+ # Corresponds to the JSON property `securityGateways`
2769
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway>]
2770
+ attr_accessor :security_gateways
2771
+
2772
+ # A list of locations that could not be reached.
2773
+ # Corresponds to the JSON property `unreachable`
2774
+ # @return [Array<String>]
2775
+ attr_accessor :unreachable
2776
+
2777
+ def initialize(**args)
2778
+ update!(**args)
2779
+ end
2780
+
2781
+ # Update properties of this object
2782
+ def update!(**args)
2783
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2784
+ @security_gateways = args[:security_gateways] if args.key?(:security_gateways)
2785
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2786
+ end
2787
+ end
2788
+
2789
+ # Message contains the configuration for each supported region for the
2790
+ # securityGateway instance.
2791
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
2792
+ include Google::Apis::Core::Hashable
2793
+
2794
+ # Output only. External IP addresses that will be used for establishing
2795
+ # connection to the egress endpoints.
2796
+ # Corresponds to the JSON property `egressIpAddresses`
2797
+ # @return [Array<String>]
2798
+ attr_accessor :egress_ip_addresses
2799
+
2800
+ # Required. The region where the egress connectivity is required.
2801
+ # Corresponds to the JSON property `region`
2802
+ # @return [String]
2803
+ attr_accessor :region
2804
+
2805
+ def initialize(**args)
2806
+ update!(**args)
2807
+ end
2808
+
2809
+ # Update properties of this object
2810
+ def update!(**args)
2811
+ @egress_ip_addresses = args[:egress_ip_addresses] if args.key?(:egress_ip_addresses)
2812
+ @region = args[:region] if args.key?(:region)
2813
+ end
2814
+ end
2815
+
2816
+ # Information about a BeyoncCorp SecurityGateway resource.
2817
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
2818
+ include Google::Apis::Core::Hashable
2819
+
2820
+ # Output only. Timestamp when the resource was created.
2821
+ # Corresponds to the JSON property `createTime`
2822
+ # @return [String]
2823
+ attr_accessor :create_time
2824
+
2825
+ # Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
2826
+ # exceed 64 characters.
2827
+ # Corresponds to the JSON property `displayName`
2828
+ # @return [String]
2829
+ attr_accessor :display_name
2830
+
2831
+ # Identifier. Name of the resource.
2832
+ # Corresponds to the JSON property `name`
2833
+ # @return [String]
2834
+ attr_accessor :name
2835
+
2836
+ # Optional. List of regions where the egress connectivity is required.
2837
+ # Corresponds to the JSON property `regionConfigs`
2838
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig>]
2839
+ attr_accessor :region_configs
2840
+
2841
+ # Output only. The operational state of the SecurityGateway.
2842
+ # Corresponds to the JSON property `state`
2843
+ # @return [String]
2844
+ attr_accessor :state
2845
+
2846
+ # Output only. Timestamp when the resource was last modified.
2847
+ # Corresponds to the JSON property `updateTime`
2848
+ # @return [String]
2849
+ attr_accessor :update_time
2850
+
2851
+ def initialize(**args)
2852
+ update!(**args)
2853
+ end
2854
+
2855
+ # Update properties of this object
2856
+ def update!(**args)
2857
+ @create_time = args[:create_time] if args.key?(:create_time)
2858
+ @display_name = args[:display_name] if args.key?(:display_name)
2859
+ @name = args[:name] if args.key?(:name)
2860
+ @region_configs = args[:region_configs] if args.key?(:region_configs)
2861
+ @state = args[:state] if args.key?(:state)
2862
+ @update_time = args[:update_time] if args.key?(:update_time)
2863
+ end
2864
+ end
2865
+
2866
+ # Represents the metadata of the long-running operation.
2867
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
2868
+ include Google::Apis::Core::Hashable
2869
+
2870
+ # Output only. API version used to start the operation.
2871
+ # Corresponds to the JSON property `apiVersion`
2872
+ # @return [String]
2873
+ attr_accessor :api_version
2874
+
2875
+ # Output only. The time the operation was created.
2876
+ # Corresponds to the JSON property `createTime`
2877
+ # @return [String]
2878
+ attr_accessor :create_time
2879
+
2880
+ # Output only. The time the operation finished running.
2881
+ # Corresponds to the JSON property `endTime`
2882
+ # @return [String]
2883
+ attr_accessor :end_time
2884
+
2885
+ # Output only. Identifies whether the user has requested cancellation of the
2886
+ # operation. Operations that have been cancelled successfully have Operation.
2887
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
2888
+ # CANCELLED`.
2889
+ # Corresponds to the JSON property `requestedCancellation`
2890
+ # @return [Boolean]
2891
+ attr_accessor :requested_cancellation
2892
+ alias_method :requested_cancellation?, :requested_cancellation
2893
+
2894
+ # Output only. Human-readable status of the operation, if any.
2895
+ # Corresponds to the JSON property `statusMessage`
2896
+ # @return [String]
2897
+ attr_accessor :status_message
2898
+
2899
+ # Output only. Server-defined resource path for the target of the operation.
2900
+ # Corresponds to the JSON property `target`
2901
+ # @return [String]
2902
+ attr_accessor :target
2903
+
2904
+ # Output only. Name of the verb executed by the operation.
2905
+ # Corresponds to the JSON property `verb`
2906
+ # @return [String]
2907
+ attr_accessor :verb
2908
+
2909
+ def initialize(**args)
2910
+ update!(**args)
2911
+ end
2912
+
2913
+ # Update properties of this object
2914
+ def update!(**args)
2915
+ @api_version = args[:api_version] if args.key?(:api_version)
2916
+ @create_time = args[:create_time] if args.key?(:create_time)
2917
+ @end_time = args[:end_time] if args.key?(:end_time)
2918
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2919
+ @status_message = args[:status_message] if args.key?(:status_message)
2920
+ @target = args[:target] if args.key?(:target)
2921
+ @verb = args[:verb] if args.key?(:verb)
2922
+ end
2923
+ end
2924
+
2757
2925
  # The response message for Locations.ListLocations.
2758
2926
  class GoogleCloudLocationListLocationsResponse
2759
2927
  include Google::Apis::Core::Hashable
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240207"
25
+ REVISION = "20240320"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,30 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
439
463
  class GoogleCloudLocationListLocationsResponse
440
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
465
 
@@ -1338,6 +1362,50 @@ module Google
1338
1362
  end
1339
1363
  end
1340
1364
 
1365
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ property :next_page_token, as: 'nextPageToken'
1369
+ collection :security_gateways, as: 'securityGateways', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
1370
+
1371
+ collection :unreachable, as: 'unreachable'
1372
+ end
1373
+ end
1374
+
1375
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ collection :egress_ip_addresses, as: 'egressIpAddresses'
1379
+ property :region, as: 'region'
1380
+ end
1381
+ end
1382
+
1383
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :create_time, as: 'createTime'
1387
+ property :display_name, as: 'displayName'
1388
+ property :name, as: 'name'
1389
+ collection :region_configs, as: 'regionConfigs', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig::Representation
1390
+
1391
+ property :state, as: 'state'
1392
+ property :update_time, as: 'updateTime'
1393
+ end
1394
+ end
1395
+
1396
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
1397
+ # @private
1398
+ class Representation < Google::Apis::Core::JsonRepresentation
1399
+ property :api_version, as: 'apiVersion'
1400
+ property :create_time, as: 'createTime'
1401
+ property :end_time, as: 'endTime'
1402
+ property :requested_cancellation, as: 'requestedCancellation'
1403
+ property :status_message, as: 'statusMessage'
1404
+ property :target, as: 'target'
1405
+ property :verb, as: 'verb'
1406
+ end
1407
+ end
1408
+
1341
1409
  class GoogleCloudLocationListLocationsResponse
1342
1410
  # @private
1343
1411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4491,6 +4491,229 @@ module Google
4491
4491
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4492
4492
  execute_or_queue_command(command, &block)
4493
4493
  end
4494
+
4495
+ # Creates a new SecurityGateway in a given project and location.
4496
+ # @param [String] parent
4497
+ # Required. The resource project name of the SecurityGateway location using the
4498
+ # form: `projects/`project_id`/locations/`location_id``
4499
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4500
+ # @param [String] request_id
4501
+ # Optional. An optional request ID to identify requests. Specify a unique
4502
+ # request ID so that if you must retry your request, the server will know to
4503
+ # ignore request if it has already been completed. The server will guarantee
4504
+ # that for at least 60 minutes since the first request.
4505
+ # @param [String] security_gateway_id
4506
+ # Optional. User-settable SecurityGateway resource ID. * Must start with a
4507
+ # letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with
4508
+ # a number or letter.
4509
+ # @param [String] fields
4510
+ # Selector specifying which fields to include in a partial response.
4511
+ # @param [String] quota_user
4512
+ # Available to use for quota purposes for server-side applications. Can be any
4513
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4514
+ # @param [Google::Apis::RequestOptions] options
4515
+ # Request-specific options
4516
+ #
4517
+ # @yield [result, err] Result & error if block supplied
4518
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4519
+ # @yieldparam err [StandardError] error object if request failed
4520
+ #
4521
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4522
+ #
4523
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4524
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4525
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4526
+ def create_project_location_security_gateway(parent, google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object = nil, request_id: nil, security_gateway_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4527
+ command = make_simple_command(:post, 'v1alpha/{+parent}/securityGateways', options)
4528
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4529
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4530
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4531
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4532
+ command.params['parent'] = parent unless parent.nil?
4533
+ command.query['requestId'] = request_id unless request_id.nil?
4534
+ command.query['securityGatewayId'] = security_gateway_id unless security_gateway_id.nil?
4535
+ command.query['fields'] = fields unless fields.nil?
4536
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4537
+ execute_or_queue_command(command, &block)
4538
+ end
4539
+
4540
+ # Deletes a single SecurityGateway.
4541
+ # @param [String] name
4542
+ # Required. BeyondCorp SecurityGateway name using the form: `projects/`
4543
+ # project_id`/locations/`location_id`/securityGateways/`security_gateway_id``
4544
+ # @param [String] request_id
4545
+ # Optional. An optional request ID to identify requests. Specify a unique
4546
+ # request ID so that if you must retry your request, the server will know to
4547
+ # ignore the request if it has already been completed. The server will guarantee
4548
+ # that for at least 60 minutes after the first request. For example, consider a
4549
+ # situation where you make an initial request and the request times out. If you
4550
+ # make the request again with the same request ID, the server can check if
4551
+ # original operation with the same request ID was received, and if so, will
4552
+ # ignore the second request. This prevents clients from accidentally creating
4553
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4554
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4555
+ # @param [Boolean] validate_only
4556
+ # Optional. If set, validates request by executing a dry-run which would not
4557
+ # alter the resource in any way.
4558
+ # @param [String] fields
4559
+ # Selector specifying which fields to include in a partial response.
4560
+ # @param [String] quota_user
4561
+ # Available to use for quota purposes for server-side applications. Can be any
4562
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4563
+ # @param [Google::Apis::RequestOptions] options
4564
+ # Request-specific options
4565
+ #
4566
+ # @yield [result, err] Result & error if block supplied
4567
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4568
+ # @yieldparam err [StandardError] error object if request failed
4569
+ #
4570
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4571
+ #
4572
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4573
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4574
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4575
+ def delete_project_location_security_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
4576
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
4577
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4578
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4579
+ command.params['name'] = name unless name.nil?
4580
+ command.query['requestId'] = request_id unless request_id.nil?
4581
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
4582
+ command.query['fields'] = fields unless fields.nil?
4583
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4584
+ execute_or_queue_command(command, &block)
4585
+ end
4586
+
4587
+ # Gets details of a single SecurityGateway.
4588
+ # @param [String] name
4589
+ # Required. The resource name of the PartnerTenant using the form: `projects/`
4590
+ # project_id`/locations/`location_id`/securityGateway/`security_gateway_id``
4591
+ # @param [String] fields
4592
+ # Selector specifying which fields to include in a partial response.
4593
+ # @param [String] quota_user
4594
+ # Available to use for quota purposes for server-side applications. Can be any
4595
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4596
+ # @param [Google::Apis::RequestOptions] options
4597
+ # Request-specific options
4598
+ #
4599
+ # @yield [result, err] Result & error if block supplied
4600
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] parsed result object
4601
+ # @yieldparam err [StandardError] error object if request failed
4602
+ #
4603
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway]
4604
+ #
4605
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4606
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4607
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4608
+ def get_project_location_security_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
4609
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
4610
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4611
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
4612
+ command.params['name'] = name unless name.nil?
4613
+ command.query['fields'] = fields unless fields.nil?
4614
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4615
+ execute_or_queue_command(command, &block)
4616
+ end
4617
+
4618
+ # Lists SecurityGateways in a given project and location.
4619
+ # @param [String] parent
4620
+ # Required. The parent location to which the resources belong. `projects/`
4621
+ # project_id`/locations/`location_id`/`
4622
+ # @param [String] filter
4623
+ # Optional. A filter specifying constraints of a list operation. All fields in
4624
+ # the SecurityGateway message are supported. For example, the following query
4625
+ # will return the SecurityGateway with displayName "test-security-gateway" For
4626
+ # more information, please refer to https://google.aip.dev/160.
4627
+ # @param [String] order_by
4628
+ # Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
4629
+ # google.com/apis/design/design_patterns#sorting_order) for more information.
4630
+ # @param [Fixnum] page_size
4631
+ # Optional. The maximum number of items to return. If not specified, a default
4632
+ # value of 50 will be used by the service. Regardless of the page_size value,
4633
+ # the response may include a partial list and a caller should only rely on
4634
+ # response's next_page_token to determine if there are more instances left to be
4635
+ # queried.
4636
+ # @param [String] page_token
4637
+ # Optional. The next_page_token value returned from a previous
4638
+ # ListSecurityGatewayRequest, if any.
4639
+ # @param [String] fields
4640
+ # Selector specifying which fields to include in a partial response.
4641
+ # @param [String] quota_user
4642
+ # Available to use for quota purposes for server-side applications. Can be any
4643
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4644
+ # @param [Google::Apis::RequestOptions] options
4645
+ # Request-specific options
4646
+ #
4647
+ # @yield [result, err] Result & error if block supplied
4648
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse] parsed result object
4649
+ # @yieldparam err [StandardError] error object if request failed
4650
+ #
4651
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse]
4652
+ #
4653
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4654
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4655
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4656
+ def list_project_location_security_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4657
+ command = make_simple_command(:get, 'v1alpha/{+parent}/securityGateways', options)
4658
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse::Representation
4659
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
4660
+ command.params['parent'] = parent unless parent.nil?
4661
+ command.query['filter'] = filter unless filter.nil?
4662
+ command.query['orderBy'] = order_by unless order_by.nil?
4663
+ command.query['pageSize'] = page_size unless page_size.nil?
4664
+ command.query['pageToken'] = page_token unless page_token.nil?
4665
+ command.query['fields'] = fields unless fields.nil?
4666
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4667
+ execute_or_queue_command(command, &block)
4668
+ end
4669
+
4670
+ # Updates the parameters of a single SecurityGateway.
4671
+ # @param [String] name
4672
+ # Identifier. Name of the resource.
4673
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4674
+ # @param [String] request_id
4675
+ # Optional. An optional request ID to identify requests. Specify a unique
4676
+ # request ID so that if you must retry your request, the server will know to
4677
+ # ignore the request if it has already been completed. The server will guarantee
4678
+ # that for at least 60 minutes after the first request. For example, consider a
4679
+ # situation where you make an initial request and the request timed out. If you
4680
+ # make the request again with the same request ID, the server can check if
4681
+ # original operation with the same request ID was received, and if so, will
4682
+ # ignore the second request. This prevents clients from accidentally creating
4683
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4684
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4685
+ # @param [String] update_mask
4686
+ # Required. Mutable fields include: display_name, gateway_regions.
4687
+ # @param [String] fields
4688
+ # Selector specifying which fields to include in a partial response.
4689
+ # @param [String] quota_user
4690
+ # Available to use for quota purposes for server-side applications. Can be any
4691
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4692
+ # @param [Google::Apis::RequestOptions] options
4693
+ # Request-specific options
4694
+ #
4695
+ # @yield [result, err] Result & error if block supplied
4696
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4697
+ # @yieldparam err [StandardError] error object if request failed
4698
+ #
4699
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4700
+ #
4701
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4702
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4703
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4704
+ def patch_project_location_security_gateway(name, google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4705
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4706
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4707
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4708
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4709
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4710
+ command.params['name'] = name unless name.nil?
4711
+ command.query['requestId'] = request_id unless request_id.nil?
4712
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4713
+ command.query['fields'] = fields unless fields.nil?
4714
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4715
+ execute_or_queue_command(command, &block)
4716
+ end
4494
4717
 
4495
4718
  protected
4496
4719
 
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.32.0
4
+ version: 0.34.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.34.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: []