google-apis-beyondcorp_v1alpha 0.32.0 → 0.33.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: c6d84e6e31a306098261460375a7bedf68e1e37f6615d4e83c55538702517fef
4
+ data.tar.gz: c915cd08e4013f9ee5ff607a0e3e58e46ee6ffd4a96688b6730973364d5daf5c
5
5
  SHA512:
6
- metadata.gz: 2a80ff0a28e8b1ad25bfeb579ec4d617dedbeb5f42bd9948266d99fed5afc4294f23fa25bdb85450b7a17ecf618012c545b67eb171e35be59eaeb9f266e71d94
7
- data.tar.gz: 0f07dc3ed3b4864210b17d23c1be94ba200d9b636cb5537198c286b3dd5c6c4ab9ace18c67600f0f8671c6accf3cd9471d44ed93816e3e2007f77fcd4a11fed7
6
+ metadata.gz: 2541e7df68214a25bdd47d13e359025e4ddd597945bf17c591656b04b2995da62f36af562fb81a18ecffc32b476308eb2169250ec33edccac340e8286b4dbc7f
7
+ data.tar.gz: 8c37286ac3a9c607f8af015373cda56ce466b621dfbb2098fa3bdd45a075087ab36a8f6ee01747ebb71654b26deb6e91c8f8656caeb15e11dad3debac7404396
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.33.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240228
6
+ * Regenerated using generator version 0.14.0
7
+
3
8
  ### v0.32.0 (2024-02-23)
4
9
 
5
10
  * 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.33.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 = "20240228"
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
@@ -4045,6 +4045,229 @@ module Google
4045
4045
  execute_or_queue_command(command, &block)
4046
4046
  end
4047
4047
 
4048
+ # Creates a new SecurityGateway in a given project and global location.
4049
+ # @param [String] parent
4050
+ # Required. The resource project name of the SecurityGateway location using the
4051
+ # form: `projects/`project_id`/locations/global`
4052
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4053
+ # @param [String] request_id
4054
+ # Optional. An optional request ID to identify requests. Specify a unique
4055
+ # request ID so that if you must retry your request, the server will know to
4056
+ # ignore request if it has already been completed. The server will guarantee
4057
+ # that for at least 60 minutes since the first request.
4058
+ # @param [String] security_gateway_id
4059
+ # Optional. User-settable SecurityGateway resource ID. * Must start with a
4060
+ # letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with
4061
+ # a number or letter.
4062
+ # @param [String] fields
4063
+ # Selector specifying which fields to include in a partial response.
4064
+ # @param [String] quota_user
4065
+ # Available to use for quota purposes for server-side applications. Can be any
4066
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4067
+ # @param [Google::Apis::RequestOptions] options
4068
+ # Request-specific options
4069
+ #
4070
+ # @yield [result, err] Result & error if block supplied
4071
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4072
+ # @yieldparam err [StandardError] error object if request failed
4073
+ #
4074
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4075
+ #
4076
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4077
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4078
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4079
+ def create_project_location_global_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)
4080
+ command = make_simple_command(:post, 'v1alpha/{+parent}/securityGateways', options)
4081
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4082
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4083
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4084
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4085
+ command.params['parent'] = parent unless parent.nil?
4086
+ command.query['requestId'] = request_id unless request_id.nil?
4087
+ command.query['securityGatewayId'] = security_gateway_id unless security_gateway_id.nil?
4088
+ command.query['fields'] = fields unless fields.nil?
4089
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4090
+ execute_or_queue_command(command, &block)
4091
+ end
4092
+
4093
+ # Deletes a single SecurityGateway.
4094
+ # @param [String] name
4095
+ # Required. BeyondCorp SecurityGateway name using the form: `projects/`
4096
+ # project_id`/locations/global/securityGateways/`security_gateway_id``
4097
+ # @param [String] request_id
4098
+ # Optional. An optional request ID to identify requests. Specify a unique
4099
+ # request ID so that if you must retry your request, the server will know to
4100
+ # ignore the request if it has already been completed. The server will guarantee
4101
+ # that for at least 60 minutes after the first request. For example, consider a
4102
+ # situation where you make an initial request and the request times out. If you
4103
+ # make the request again with the same request ID, the server can check if
4104
+ # original operation with the same request ID was received, and if so, will
4105
+ # ignore the second request. This prevents clients from accidentally creating
4106
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4107
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4108
+ # @param [Boolean] validate_only
4109
+ # Optional. If set, validates request by executing a dry-run which would not
4110
+ # alter the resource in any way.
4111
+ # @param [String] fields
4112
+ # Selector specifying which fields to include in a partial response.
4113
+ # @param [String] quota_user
4114
+ # Available to use for quota purposes for server-side applications. Can be any
4115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4116
+ # @param [Google::Apis::RequestOptions] options
4117
+ # Request-specific options
4118
+ #
4119
+ # @yield [result, err] Result & error if block supplied
4120
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4121
+ # @yieldparam err [StandardError] error object if request failed
4122
+ #
4123
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4124
+ #
4125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4128
+ def delete_project_location_global_security_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
4129
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
4130
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4131
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4132
+ command.params['name'] = name unless name.nil?
4133
+ command.query['requestId'] = request_id unless request_id.nil?
4134
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
4135
+ command.query['fields'] = fields unless fields.nil?
4136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4137
+ execute_or_queue_command(command, &block)
4138
+ end
4139
+
4140
+ # Gets details of a single SecurityGateway.
4141
+ # @param [String] name
4142
+ # Required. The resource name of the PartnerTenant using the form: `projects/`
4143
+ # project_id`/locations/global/securityGateway/`security_gateway_id``
4144
+ # @param [String] fields
4145
+ # Selector specifying which fields to include in a partial response.
4146
+ # @param [String] quota_user
4147
+ # Available to use for quota purposes for server-side applications. Can be any
4148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4149
+ # @param [Google::Apis::RequestOptions] options
4150
+ # Request-specific options
4151
+ #
4152
+ # @yield [result, err] Result & error if block supplied
4153
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] parsed result object
4154
+ # @yieldparam err [StandardError] error object if request failed
4155
+ #
4156
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway]
4157
+ #
4158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4161
+ def get_project_location_global_security_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
4162
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
4163
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4164
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
4165
+ command.params['name'] = name unless name.nil?
4166
+ command.query['fields'] = fields unless fields.nil?
4167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4168
+ execute_or_queue_command(command, &block)
4169
+ end
4170
+
4171
+ # Lists SecurityGateways in a given project and global location.
4172
+ # @param [String] parent
4173
+ # Required. The parent location to which the resources belong. `projects/`
4174
+ # project_id`/locations/global/`
4175
+ # @param [String] filter
4176
+ # Optional. A filter specifying constraints of a list operation. All fields in
4177
+ # the SecurityGateway message are supported. For example, the following query
4178
+ # will return the SecurityGateway with displayName "test-security-gateway" For
4179
+ # more information, please refer to https://google.aip.dev/160.
4180
+ # @param [String] order_by
4181
+ # Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
4182
+ # google.com/apis/design/design_patterns#sorting_order) for more information.
4183
+ # @param [Fixnum] page_size
4184
+ # Optional. The maximum number of items to return. If not specified, a default
4185
+ # value of 50 will be used by the service. Regardless of the page_size value,
4186
+ # the response may include a partial list and a caller should only rely on
4187
+ # response's next_page_token to determine if there are more instances left to be
4188
+ # queried.
4189
+ # @param [String] page_token
4190
+ # Optional. The next_page_token value returned from a previous
4191
+ # ListSecurityGatewayRequest, if any.
4192
+ # @param [String] fields
4193
+ # Selector specifying which fields to include in a partial response.
4194
+ # @param [String] quota_user
4195
+ # Available to use for quota purposes for server-side applications. Can be any
4196
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4197
+ # @param [Google::Apis::RequestOptions] options
4198
+ # Request-specific options
4199
+ #
4200
+ # @yield [result, err] Result & error if block supplied
4201
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse] parsed result object
4202
+ # @yieldparam err [StandardError] error object if request failed
4203
+ #
4204
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse]
4205
+ #
4206
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4207
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4208
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4209
+ def list_project_location_global_security_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4210
+ command = make_simple_command(:get, 'v1alpha/{+parent}/securityGateways', options)
4211
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse::Representation
4212
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
4213
+ command.params['parent'] = parent unless parent.nil?
4214
+ command.query['filter'] = filter unless filter.nil?
4215
+ command.query['orderBy'] = order_by unless order_by.nil?
4216
+ command.query['pageSize'] = page_size unless page_size.nil?
4217
+ command.query['pageToken'] = page_token unless page_token.nil?
4218
+ command.query['fields'] = fields unless fields.nil?
4219
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4220
+ execute_or_queue_command(command, &block)
4221
+ end
4222
+
4223
+ # Updates the parameters of a single SecurityGateway.
4224
+ # @param [String] name
4225
+ # Identifier. Name of the resource.
4226
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway] google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4227
+ # @param [String] request_id
4228
+ # Optional. An optional request ID to identify requests. Specify a unique
4229
+ # request ID so that if you must retry your request, the server will know to
4230
+ # ignore the request if it has already been completed. The server will guarantee
4231
+ # that for at least 60 minutes after the first request. For example, consider a
4232
+ # situation where you make an initial request and the request timed out. If you
4233
+ # make the request again with the same request ID, the server can check if
4234
+ # original operation with the same request ID was received, and if so, will
4235
+ # ignore the second request. This prevents clients from accidentally creating
4236
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4237
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4238
+ # @param [String] update_mask
4239
+ # Required. Mutable fields include: display_name, gateway_regions.
4240
+ # @param [String] fields
4241
+ # Selector specifying which fields to include in a partial response.
4242
+ # @param [String] quota_user
4243
+ # Available to use for quota purposes for server-side applications. Can be any
4244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4245
+ # @param [Google::Apis::RequestOptions] options
4246
+ # Request-specific options
4247
+ #
4248
+ # @yield [result, err] Result & error if block supplied
4249
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4250
+ # @yieldparam err [StandardError] error object if request failed
4251
+ #
4252
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4253
+ #
4254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4257
+ def patch_project_location_global_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)
4258
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4259
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway::Representation
4260
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_security_gateway_object
4261
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4262
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4263
+ command.params['name'] = name unless name.nil?
4264
+ command.query['requestId'] = request_id unless request_id.nil?
4265
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4266
+ command.query['fields'] = fields unless fields.nil?
4267
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4268
+ execute_or_queue_command(command, &block)
4269
+ end
4270
+
4048
4271
  # Gets the value for a selected particular insight based on the provided filters.
4049
4272
  # Use the organization level path for fetching at org level and project level
4050
4273
  # path for fetching the insight value specific to a particular project.
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.33.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-10 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.33.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: []