google-apis-beyondcorp_v1alpha 0.33.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +7 -33
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +1 -16
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +223 -223
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '083a0013740ba912e4df29d215d8dfd5ab4272d8bb82243476f505598eb9ff11'
|
4
|
+
data.tar.gz: 6da3c7cb80f6b7e74cda4970cdedfd541ea7f5afada184543bae1514e66ef3a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b2864b5f40c5eedbdd3c5dac0895cecdd2496e05a0a670217c770c5f8726f45b2d37b3126856e18957d74158c6e5b610343c35ce995da3c903164f5793cc9f
|
7
|
+
data.tar.gz: 57d8bca10455a278737e866dbc7d9bad158f624b4bf5ba74157a6397acbd187433012cff31abfa15a4585b4750f0e4b8241922c415bc0e221d55ad34f29d3ccb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.35.0 (2024-04-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240410
|
6
|
+
|
7
|
+
### v0.34.0 (2024-03-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240320
|
10
|
+
|
3
11
|
### v0.33.0 (2024-03-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240228
|
@@ -2786,33 +2786,6 @@ module Google
|
|
2786
2786
|
end
|
2787
2787
|
end
|
2788
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
2789
|
# Information about a BeyoncCorp SecurityGateway resource.
|
2817
2790
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
|
2818
2791
|
include Google::Apis::Core::Hashable
|
@@ -2828,16 +2801,17 @@ module Google
|
|
2828
2801
|
# @return [String]
|
2829
2802
|
attr_accessor :display_name
|
2830
2803
|
|
2804
|
+
# Output only. IP addresses that will be used for establishing connection to the
|
2805
|
+
# endpoints.
|
2806
|
+
# Corresponds to the JSON property `externalIps`
|
2807
|
+
# @return [Array<String>]
|
2808
|
+
attr_accessor :external_ips
|
2809
|
+
|
2831
2810
|
# Identifier. Name of the resource.
|
2832
2811
|
# Corresponds to the JSON property `name`
|
2833
2812
|
# @return [String]
|
2834
2813
|
attr_accessor :name
|
2835
2814
|
|
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
2815
|
# Output only. The operational state of the SecurityGateway.
|
2842
2816
|
# Corresponds to the JSON property `state`
|
2843
2817
|
# @return [String]
|
@@ -2856,8 +2830,8 @@ module Google
|
|
2856
2830
|
def update!(**args)
|
2857
2831
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2858
2832
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2833
|
+
@external_ips = args[:external_ips] if args.key?(:external_ips)
|
2859
2834
|
@name = args[:name] if args.key?(:name)
|
2860
|
-
@region_configs = args[:region_configs] if args.key?(:region_configs)
|
2861
2835
|
@state = args[:state] if args.key?(:state)
|
2862
2836
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2863
2837
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240410"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -442,12 +442,6 @@ module Google
|
|
442
442
|
include Google::Apis::Core::JsonObjectSupport
|
443
443
|
end
|
444
444
|
|
445
|
-
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
|
446
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
-
|
448
|
-
include Google::Apis::Core::JsonObjectSupport
|
449
|
-
end
|
450
|
-
|
451
445
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
|
452
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
447
|
|
@@ -1372,22 +1366,13 @@ module Google
|
|
1372
1366
|
end
|
1373
1367
|
end
|
1374
1368
|
|
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
1369
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
|
1384
1370
|
# @private
|
1385
1371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1386
1372
|
property :create_time, as: 'createTime'
|
1387
1373
|
property :display_name, as: 'displayName'
|
1374
|
+
collection :external_ips, as: 'externalIps'
|
1388
1375
|
property :name, as: 'name'
|
1389
|
-
collection :region_configs, as: 'regionConfigs', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig::Representation
|
1390
|
-
|
1391
1376
|
property :state, as: 'state'
|
1392
1377
|
property :update_time, as: 'updateTime'
|
1393
1378
|
end
|
@@ -4045,229 +4045,6 @@ 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
|
-
|
4271
4048
|
# Gets the value for a selected particular insight based on the provided filters.
|
4272
4049
|
# Use the organization level path for fetching at org level and project level
|
4273
4050
|
# path for fetching the insight value specific to a particular project.
|
@@ -4714,6 +4491,229 @@ module Google
|
|
4714
4491
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4715
4492
|
execute_or_queue_command(command, &block)
|
4716
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
|
4717
4717
|
|
4718
4718
|
protected
|
4719
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.
|
4
|
+
version: 0.35.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-
|
11
|
+
date: 2024-04-21 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.35.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: []
|