google-apis-networksecurity_v1beta1 0.21.0 → 0.23.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/networksecurity_v1beta1/classes.rb +249 -1
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +77 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +434 -0
- 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: 9f3827fbdd98c2c740b520d07a983f99d50158aa8e7fbe79b537ecca4a4bfd67
|
4
|
+
data.tar.gz: 012b3be8474c97a75cf460bb655511f8518f5ec3ab4469ec8b7e2d5f925d6ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a657cefd43fc15d1253c06a9cc5e79c4299568fd47c254ede5031fe43bc2e6ec4bfb43937fed9a07deb2d42b4dc6553ec81035e842ddeafb6be436201b56b7f9
|
7
|
+
data.tar.gz: 3edaeaff760972352ad19dc78136760c649390f37de62557b1b7f2217a2876ab22fe20c837b4b73436ba6539ddbac730a65da5cfd5a9d0bb1fb0369864dfdbe7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1beta1
|
2
2
|
|
3
|
+
### v0.23.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230710
|
6
|
+
|
7
|
+
### v0.22.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230420
|
10
|
+
|
3
11
|
### v0.21.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230415
|
@@ -438,6 +438,135 @@ module Google
|
|
438
438
|
end
|
439
439
|
end
|
440
440
|
|
441
|
+
# Message describing Endpoint object
|
442
|
+
class FirewallEndpoint
|
443
|
+
include Google::Apis::Core::Hashable
|
444
|
+
|
445
|
+
# Output only. List of networks that are associated with this endpoint in the
|
446
|
+
# local zone. This is a projection of the FirewallEndpointAssociations pointing
|
447
|
+
# at this endpoint. A network will only appear in this list after traffic
|
448
|
+
# routing is fully configured. Format: projects/`project`/global/networks/`name`.
|
449
|
+
# Corresponds to the JSON property `associatedNetworks`
|
450
|
+
# @return [Array<String>]
|
451
|
+
attr_accessor :associated_networks
|
452
|
+
|
453
|
+
# Output only. Create time stamp
|
454
|
+
# Corresponds to the JSON property `createTime`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :create_time
|
457
|
+
|
458
|
+
# Labels as key value pairs
|
459
|
+
# Corresponds to the JSON property `labels`
|
460
|
+
# @return [Hash<String,String>]
|
461
|
+
attr_accessor :labels
|
462
|
+
|
463
|
+
# Output only. name of resource
|
464
|
+
# Corresponds to the JSON property `name`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :name
|
467
|
+
|
468
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
469
|
+
# google.aip.dev/128.
|
470
|
+
# Corresponds to the JSON property `reconciling`
|
471
|
+
# @return [Boolean]
|
472
|
+
attr_accessor :reconciling
|
473
|
+
alias_method :reconciling?, :reconciling
|
474
|
+
|
475
|
+
# Output only. Current state of the endpoint.
|
476
|
+
# Corresponds to the JSON property `state`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :state
|
479
|
+
|
480
|
+
# Output only. Update time stamp
|
481
|
+
# Corresponds to the JSON property `updateTime`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :update_time
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@associated_networks = args[:associated_networks] if args.key?(:associated_networks)
|
492
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
493
|
+
@labels = args[:labels] if args.key?(:labels)
|
494
|
+
@name = args[:name] if args.key?(:name)
|
495
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
496
|
+
@state = args[:state] if args.key?(:state)
|
497
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# Message describing Association object
|
502
|
+
class FirewallEndpointAssociation
|
503
|
+
include Google::Apis::Core::Hashable
|
504
|
+
|
505
|
+
# Output only. Create time stamp
|
506
|
+
# Corresponds to the JSON property `createTime`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :create_time
|
509
|
+
|
510
|
+
# Required. The URL of the FirewallEndpoint that is being associated.
|
511
|
+
# Corresponds to the JSON property `firewallEndpoint`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :firewall_endpoint
|
514
|
+
|
515
|
+
# Labels as key value pairs
|
516
|
+
# Corresponds to the JSON property `labels`
|
517
|
+
# @return [Hash<String,String>]
|
518
|
+
attr_accessor :labels
|
519
|
+
|
520
|
+
# Output only. name of resource
|
521
|
+
# Corresponds to the JSON property `name`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :name
|
524
|
+
|
525
|
+
# Required. The URL of the network that is being associated.
|
526
|
+
# Corresponds to the JSON property `network`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :network
|
529
|
+
|
530
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
531
|
+
# google.aip.dev/128.
|
532
|
+
# Corresponds to the JSON property `reconciling`
|
533
|
+
# @return [Boolean]
|
534
|
+
attr_accessor :reconciling
|
535
|
+
alias_method :reconciling?, :reconciling
|
536
|
+
|
537
|
+
# Output only. Current state of the association.
|
538
|
+
# Corresponds to the JSON property `state`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :state
|
541
|
+
|
542
|
+
# Optional. The URL of the TlsInspectionPolicy that is being associated.
|
543
|
+
# Corresponds to the JSON property `tlsInspectionPolicy`
|
544
|
+
# @return [String]
|
545
|
+
attr_accessor :tls_inspection_policy
|
546
|
+
|
547
|
+
# Output only. Update time stamp
|
548
|
+
# Corresponds to the JSON property `updateTime`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :update_time
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
559
|
+
@firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint)
|
560
|
+
@labels = args[:labels] if args.key?(:labels)
|
561
|
+
@name = args[:name] if args.key?(:name)
|
562
|
+
@network = args[:network] if args.key?(:network)
|
563
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
564
|
+
@state = args[:state] if args.key?(:state)
|
565
|
+
@tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
|
566
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
441
570
|
# The GatewaySecurityPolicy resource contains a collection of
|
442
571
|
# GatewaySecurityPolicyRules and associated metadata.
|
443
572
|
class GatewaySecurityPolicy
|
@@ -1115,6 +1244,68 @@ module Google
|
|
1115
1244
|
end
|
1116
1245
|
end
|
1117
1246
|
|
1247
|
+
# Message for response to listing Associations
|
1248
|
+
class ListFirewallEndpointAssociationsResponse
|
1249
|
+
include Google::Apis::Core::Hashable
|
1250
|
+
|
1251
|
+
# The list of Association
|
1252
|
+
# Corresponds to the JSON property `firewallEndpointAssociations`
|
1253
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation>]
|
1254
|
+
attr_accessor :firewall_endpoint_associations
|
1255
|
+
|
1256
|
+
# A token identifying a page of results the server should return.
|
1257
|
+
# Corresponds to the JSON property `nextPageToken`
|
1258
|
+
# @return [String]
|
1259
|
+
attr_accessor :next_page_token
|
1260
|
+
|
1261
|
+
# Locations that could not be reached.
|
1262
|
+
# Corresponds to the JSON property `unreachable`
|
1263
|
+
# @return [Array<String>]
|
1264
|
+
attr_accessor :unreachable
|
1265
|
+
|
1266
|
+
def initialize(**args)
|
1267
|
+
update!(**args)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# Update properties of this object
|
1271
|
+
def update!(**args)
|
1272
|
+
@firewall_endpoint_associations = args[:firewall_endpoint_associations] if args.key?(:firewall_endpoint_associations)
|
1273
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1274
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# Message for response to listing Endpoints
|
1279
|
+
class ListFirewallEndpointsResponse
|
1280
|
+
include Google::Apis::Core::Hashable
|
1281
|
+
|
1282
|
+
# The list of Endpoint
|
1283
|
+
# Corresponds to the JSON property `firewallEndpoints`
|
1284
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpoint>]
|
1285
|
+
attr_accessor :firewall_endpoints
|
1286
|
+
|
1287
|
+
# A token identifying a page of results the server should return.
|
1288
|
+
# Corresponds to the JSON property `nextPageToken`
|
1289
|
+
# @return [String]
|
1290
|
+
attr_accessor :next_page_token
|
1291
|
+
|
1292
|
+
# Locations that could not be reached.
|
1293
|
+
# Corresponds to the JSON property `unreachable`
|
1294
|
+
# @return [Array<String>]
|
1295
|
+
attr_accessor :unreachable
|
1296
|
+
|
1297
|
+
def initialize(**args)
|
1298
|
+
update!(**args)
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# Update properties of this object
|
1302
|
+
def update!(**args)
|
1303
|
+
@firewall_endpoints = args[:firewall_endpoints] if args.key?(:firewall_endpoints)
|
1304
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1305
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1118
1309
|
# Response returned by the ListGatewaySecurityPolicies method.
|
1119
1310
|
class ListGatewaySecurityPoliciesResponse
|
1120
1311
|
include Google::Apis::Core::Hashable
|
@@ -1324,7 +1515,7 @@ module Google
|
|
1324
1515
|
end
|
1325
1516
|
end
|
1326
1517
|
|
1327
|
-
# A resource that represents Google Cloud
|
1518
|
+
# A resource that represents a Google Cloud location.
|
1328
1519
|
class Location
|
1329
1520
|
include Google::Apis::Core::Hashable
|
1330
1521
|
|
@@ -1766,11 +1957,44 @@ module Google
|
|
1766
1957
|
# @return [String]
|
1767
1958
|
attr_accessor :create_time
|
1768
1959
|
|
1960
|
+
# Optional. List of custom TLS cipher suites selected. This field is valid only
|
1961
|
+
# if the selected tls_feature_profile is CUSTOM. The compute.SslPoliciesService.
|
1962
|
+
# ListAvailableFeatures method returns the set of features that can be specified
|
1963
|
+
# in this list. Note that Secure Web Proxy does not yet honor this field.
|
1964
|
+
# Corresponds to the JSON property `customTlsFeatures`
|
1965
|
+
# @return [Array<String>]
|
1966
|
+
attr_accessor :custom_tls_features
|
1967
|
+
|
1769
1968
|
# Optional. Free-text description of the resource.
|
1770
1969
|
# Corresponds to the JSON property `description`
|
1771
1970
|
# @return [String]
|
1772
1971
|
attr_accessor :description
|
1773
1972
|
|
1973
|
+
# Optional. If FALSE (the default), use our default set of public CAs in
|
1974
|
+
# addition to any CAs specified in trust_config. These public CAs are currently
|
1975
|
+
# based on the Mozilla Root Program and are subject to change over time. If TRUE,
|
1976
|
+
# do not accept our default set of public CAs. Only CAs specified in
|
1977
|
+
# trust_config will be accepted. This defaults to FALSE (use public CAs in
|
1978
|
+
# addition to trust_config) for backwards compatibility, but trusting public
|
1979
|
+
# root CAs is *not recommended* unless the traffic in question is outbound to
|
1980
|
+
# public web servers. When possible, prefer setting this to "false" and
|
1981
|
+
# explicitly specifying trusted CAs and certificates in a TrustConfig. Note that
|
1982
|
+
# Secure Web Proxy does not yet honor this field.
|
1983
|
+
# Corresponds to the JSON property `excludePublicCaSet`
|
1984
|
+
# @return [Boolean]
|
1985
|
+
attr_accessor :exclude_public_ca_set
|
1986
|
+
alias_method :exclude_public_ca_set?, :exclude_public_ca_set
|
1987
|
+
|
1988
|
+
# Optional. Minimum TLS version that the firewall should use when negotiating
|
1989
|
+
# connections with both clients and servers. If this is not set, then the
|
1990
|
+
# default value is to allow the broadest set of clients and servers (TLS 1.0 or
|
1991
|
+
# higher). Setting this to more restrictive values may improve security, but may
|
1992
|
+
# also prevent the firewall from connecting to some clients or servers. Note
|
1993
|
+
# that Secure Web Proxy does not yet honor this field.
|
1994
|
+
# Corresponds to the JSON property `minTlsVersion`
|
1995
|
+
# @return [String]
|
1996
|
+
attr_accessor :min_tls_version
|
1997
|
+
|
1774
1998
|
# Required. Name of the resource. Name is of the form projects/`project`/
|
1775
1999
|
# locations/`location`/tlsInspectionPolicies/`tls_inspection_policy`
|
1776
2000
|
# tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])
|
@@ -1779,6 +2003,25 @@ module Google
|
|
1779
2003
|
# @return [String]
|
1780
2004
|
attr_accessor :name
|
1781
2005
|
|
2006
|
+
# Optional. The selected Profile. If this is not set, then the default value is
|
2007
|
+
# to allow the broadest set of clients and servers ("PROFILE_COMPATIBLE").
|
2008
|
+
# Setting this to more restrictive values may improve security, but may also
|
2009
|
+
# prevent the TLS inspection proxy from connecting to some clients or servers.
|
2010
|
+
# Note that Secure Web Proxy does not yet honor this field.
|
2011
|
+
# Corresponds to the JSON property `tlsFeatureProfile`
|
2012
|
+
# @return [String]
|
2013
|
+
attr_accessor :tls_feature_profile
|
2014
|
+
|
2015
|
+
# Optional. A TrustConfig resource used when making a connection to the TLS
|
2016
|
+
# server. This is a relative resource path following the form "projects/`project`
|
2017
|
+
# /locations/`location`/trustConfigs/`trust_config`". This is necessary to
|
2018
|
+
# intercept TLS connections to servers with certificates signed by a private CA
|
2019
|
+
# or self-signed certificates. Note that Secure Web Proxy does not yet honor
|
2020
|
+
# this field.
|
2021
|
+
# Corresponds to the JSON property `trustConfig`
|
2022
|
+
# @return [String]
|
2023
|
+
attr_accessor :trust_config
|
2024
|
+
|
1782
2025
|
# Output only. The timestamp when the resource was updated.
|
1783
2026
|
# Corresponds to the JSON property `updateTime`
|
1784
2027
|
# @return [String]
|
@@ -1792,8 +2035,13 @@ module Google
|
|
1792
2035
|
def update!(**args)
|
1793
2036
|
@ca_pool = args[:ca_pool] if args.key?(:ca_pool)
|
1794
2037
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2038
|
+
@custom_tls_features = args[:custom_tls_features] if args.key?(:custom_tls_features)
|
1795
2039
|
@description = args[:description] if args.key?(:description)
|
2040
|
+
@exclude_public_ca_set = args[:exclude_public_ca_set] if args.key?(:exclude_public_ca_set)
|
2041
|
+
@min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
|
1796
2042
|
@name = args[:name] if args.key?(:name)
|
2043
|
+
@tls_feature_profile = args[:tls_feature_profile] if args.key?(:tls_feature_profile)
|
2044
|
+
@trust_config = args[:trust_config] if args.key?(:trust_config)
|
1797
2045
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1798
2046
|
end
|
1799
2047
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworksecurityV1beta1
|
18
18
|
# Version of the google-apis-networksecurity_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230710"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class FirewallEndpoint
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class FirewallEndpointAssociation
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class GatewaySecurityPolicy
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -184,6 +196,18 @@ module Google
|
|
184
196
|
include Google::Apis::Core::JsonObjectSupport
|
185
197
|
end
|
186
198
|
|
199
|
+
class ListFirewallEndpointAssociationsResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListFirewallEndpointsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
187
211
|
class ListGatewaySecurityPoliciesResponse
|
188
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
213
|
|
@@ -399,6 +423,34 @@ module Google
|
|
399
423
|
end
|
400
424
|
end
|
401
425
|
|
426
|
+
class FirewallEndpoint
|
427
|
+
# @private
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
429
|
+
collection :associated_networks, as: 'associatedNetworks'
|
430
|
+
property :create_time, as: 'createTime'
|
431
|
+
hash :labels, as: 'labels'
|
432
|
+
property :name, as: 'name'
|
433
|
+
property :reconciling, as: 'reconciling'
|
434
|
+
property :state, as: 'state'
|
435
|
+
property :update_time, as: 'updateTime'
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class FirewallEndpointAssociation
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :create_time, as: 'createTime'
|
443
|
+
property :firewall_endpoint, as: 'firewallEndpoint'
|
444
|
+
hash :labels, as: 'labels'
|
445
|
+
property :name, as: 'name'
|
446
|
+
property :network, as: 'network'
|
447
|
+
property :reconciling, as: 'reconciling'
|
448
|
+
property :state, as: 'state'
|
449
|
+
property :tls_inspection_policy, as: 'tlsInspectionPolicy'
|
450
|
+
property :update_time, as: 'updateTime'
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
402
454
|
class GatewaySecurityPolicy
|
403
455
|
# @private
|
404
456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -557,6 +609,26 @@ module Google
|
|
557
609
|
end
|
558
610
|
end
|
559
611
|
|
612
|
+
class ListFirewallEndpointAssociationsResponse
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
collection :firewall_endpoint_associations, as: 'firewallEndpointAssociations', class: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation, decorator: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
616
|
+
|
617
|
+
property :next_page_token, as: 'nextPageToken'
|
618
|
+
collection :unreachable, as: 'unreachable'
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
class ListFirewallEndpointsResponse
|
623
|
+
# @private
|
624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
625
|
+
collection :firewall_endpoints, as: 'firewallEndpoints', class: Google::Apis::NetworksecurityV1beta1::FirewallEndpoint, decorator: Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
|
626
|
+
|
627
|
+
property :next_page_token, as: 'nextPageToken'
|
628
|
+
collection :unreachable, as: 'unreachable'
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
560
632
|
class ListGatewaySecurityPoliciesResponse
|
561
633
|
# @private
|
562
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -726,8 +798,13 @@ module Google
|
|
726
798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
727
799
|
property :ca_pool, as: 'caPool'
|
728
800
|
property :create_time, as: 'createTime'
|
801
|
+
collection :custom_tls_features, as: 'customTlsFeatures'
|
729
802
|
property :description, as: 'description'
|
803
|
+
property :exclude_public_ca_set, as: 'excludePublicCaSet'
|
804
|
+
property :min_tls_version, as: 'minTlsVersion'
|
730
805
|
property :name, as: 'name'
|
806
|
+
property :tls_feature_profile, as: 'tlsFeatureProfile'
|
807
|
+
property :trust_config, as: 'trustConfig'
|
731
808
|
property :update_time, as: 'updateTime'
|
732
809
|
end
|
733
810
|
end
|
@@ -408,6 +408,223 @@ module Google
|
|
408
408
|
execute_or_queue_command(command, &block)
|
409
409
|
end
|
410
410
|
|
411
|
+
# Creates a new FirewallEndpoint in a given project and location.
|
412
|
+
# @param [String] parent
|
413
|
+
# Required. Value for parent.
|
414
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] firewall_endpoint_object
|
415
|
+
# @param [String] firewall_endpoint_id
|
416
|
+
# Required. Id of the requesting object. If auto-generating Id server-side,
|
417
|
+
# remove this field and firewall_endpoint_id from the method_signature of Create
|
418
|
+
# RPC.
|
419
|
+
# @param [String] request_id
|
420
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
421
|
+
# request ID so that if you must retry your request, the server will know to
|
422
|
+
# ignore the request if it has already been completed. The server will guarantee
|
423
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
424
|
+
# situation where you make an initial request and the request times out. If you
|
425
|
+
# make the request again with the same request ID, the server can check if
|
426
|
+
# original operation with the same request ID was received, and if so, will
|
427
|
+
# ignore the second request. This prevents clients from accidentally creating
|
428
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
429
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
430
|
+
# @param [String] fields
|
431
|
+
# Selector specifying which fields to include in a partial response.
|
432
|
+
# @param [String] quota_user
|
433
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
434
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
435
|
+
# @param [Google::Apis::RequestOptions] options
|
436
|
+
# Request-specific options
|
437
|
+
#
|
438
|
+
# @yield [result, err] Result & error if block supplied
|
439
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
440
|
+
# @yieldparam err [StandardError] error object if request failed
|
441
|
+
#
|
442
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
443
|
+
#
|
444
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
445
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
446
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
447
|
+
def create_organization_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
448
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/firewallEndpoints', options)
|
449
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
|
450
|
+
command.request_object = firewall_endpoint_object
|
451
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
452
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
453
|
+
command.params['parent'] = parent unless parent.nil?
|
454
|
+
command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil?
|
455
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
456
|
+
command.query['fields'] = fields unless fields.nil?
|
457
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
458
|
+
execute_or_queue_command(command, &block)
|
459
|
+
end
|
460
|
+
|
461
|
+
# Deletes a single Endpoint.
|
462
|
+
# @param [String] name
|
463
|
+
# Required. Name of the resource
|
464
|
+
# @param [String] request_id
|
465
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
466
|
+
# request ID so that if you must retry your request, the server will know to
|
467
|
+
# ignore the request if it has already been completed. The server will guarantee
|
468
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
469
|
+
# situation where you make an initial request and the request times out. If you
|
470
|
+
# make the request again with the same request ID, the server can check if
|
471
|
+
# original operation with the same request ID was received, and if so, will
|
472
|
+
# ignore the second request. This prevents clients from accidentally creating
|
473
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
474
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
475
|
+
# @param [String] fields
|
476
|
+
# Selector specifying which fields to include in a partial response.
|
477
|
+
# @param [String] quota_user
|
478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
480
|
+
# @param [Google::Apis::RequestOptions] options
|
481
|
+
# Request-specific options
|
482
|
+
#
|
483
|
+
# @yield [result, err] Result & error if block supplied
|
484
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
485
|
+
# @yieldparam err [StandardError] error object if request failed
|
486
|
+
#
|
487
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
488
|
+
#
|
489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
492
|
+
def delete_organization_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
493
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
494
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
495
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
496
|
+
command.params['name'] = name unless name.nil?
|
497
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
498
|
+
command.query['fields'] = fields unless fields.nil?
|
499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
500
|
+
execute_or_queue_command(command, &block)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Gets details of a single Endpoint.
|
504
|
+
# @param [String] name
|
505
|
+
# Required. Name of the resource
|
506
|
+
# @param [String] fields
|
507
|
+
# Selector specifying which fields to include in a partial response.
|
508
|
+
# @param [String] quota_user
|
509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
511
|
+
# @param [Google::Apis::RequestOptions] options
|
512
|
+
# Request-specific options
|
513
|
+
#
|
514
|
+
# @yield [result, err] Result & error if block supplied
|
515
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] parsed result object
|
516
|
+
# @yieldparam err [StandardError] error object if request failed
|
517
|
+
#
|
518
|
+
# @return [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint]
|
519
|
+
#
|
520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
523
|
+
def get_organization_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
|
524
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
525
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
|
526
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint
|
527
|
+
command.params['name'] = name unless name.nil?
|
528
|
+
command.query['fields'] = fields unless fields.nil?
|
529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
530
|
+
execute_or_queue_command(command, &block)
|
531
|
+
end
|
532
|
+
|
533
|
+
# Lists FirewallEndpoints in a given project and location.
|
534
|
+
# @param [String] parent
|
535
|
+
# Required. Parent value for ListEndpointsRequest
|
536
|
+
# @param [String] filter
|
537
|
+
# Filtering results
|
538
|
+
# @param [String] order_by
|
539
|
+
# Hint for how to order the results
|
540
|
+
# @param [Fixnum] page_size
|
541
|
+
# Requested page size. Server may return fewer items than requested. If
|
542
|
+
# unspecified, server will pick an appropriate default.
|
543
|
+
# @param [String] page_token
|
544
|
+
# A token identifying a page of results the server should return.
|
545
|
+
# @param [String] fields
|
546
|
+
# Selector specifying which fields to include in a partial response.
|
547
|
+
# @param [String] quota_user
|
548
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
549
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
550
|
+
# @param [Google::Apis::RequestOptions] options
|
551
|
+
# Request-specific options
|
552
|
+
#
|
553
|
+
# @yield [result, err] Result & error if block supplied
|
554
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse] parsed result object
|
555
|
+
# @yieldparam err [StandardError] error object if request failed
|
556
|
+
#
|
557
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse]
|
558
|
+
#
|
559
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
560
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
561
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
562
|
+
def list_organization_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
563
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/firewallEndpoints', options)
|
564
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse::Representation
|
565
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse
|
566
|
+
command.params['parent'] = parent unless parent.nil?
|
567
|
+
command.query['filter'] = filter unless filter.nil?
|
568
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
569
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
570
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
571
|
+
command.query['fields'] = fields unless fields.nil?
|
572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
573
|
+
execute_or_queue_command(command, &block)
|
574
|
+
end
|
575
|
+
|
576
|
+
# Update a single Endpoint.
|
577
|
+
# @param [String] name
|
578
|
+
# Output only. name of resource
|
579
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] firewall_endpoint_object
|
580
|
+
# @param [String] request_id
|
581
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
582
|
+
# request ID so that if you must retry your request, the server will know to
|
583
|
+
# ignore the request if it has already been completed. The server will guarantee
|
584
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
585
|
+
# situation where you make an initial request and the request times out. If you
|
586
|
+
# make the request again with the same request ID, the server can check if
|
587
|
+
# original operation with the same request ID was received, and if so, will
|
588
|
+
# ignore the second request. This prevents clients from accidentally creating
|
589
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
590
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
591
|
+
# @param [String] update_mask
|
592
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
593
|
+
# Endpoint resource by the update. The fields specified in the update_mask are
|
594
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
595
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
596
|
+
# overwritten.
|
597
|
+
# @param [String] fields
|
598
|
+
# Selector specifying which fields to include in a partial response.
|
599
|
+
# @param [String] quota_user
|
600
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
601
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
602
|
+
# @param [Google::Apis::RequestOptions] options
|
603
|
+
# Request-specific options
|
604
|
+
#
|
605
|
+
# @yield [result, err] Result & error if block supplied
|
606
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
607
|
+
# @yieldparam err [StandardError] error object if request failed
|
608
|
+
#
|
609
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
610
|
+
#
|
611
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
612
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
613
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
614
|
+
def patch_organization_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
615
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
616
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
|
617
|
+
command.request_object = firewall_endpoint_object
|
618
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
619
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
620
|
+
command.params['name'] = name unless name.nil?
|
621
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
622
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
623
|
+
command.query['fields'] = fields unless fields.nil?
|
624
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
625
|
+
execute_or_queue_command(command, &block)
|
626
|
+
end
|
627
|
+
|
411
628
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
412
629
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
413
630
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1710,6 +1927,223 @@ module Google
|
|
1710
1927
|
execute_or_queue_command(command, &block)
|
1711
1928
|
end
|
1712
1929
|
|
1930
|
+
# Creates a new FirewallEndpointAssociation in a given project and location.
|
1931
|
+
# @param [String] parent
|
1932
|
+
# Required. Value for parent.
|
1933
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] firewall_endpoint_association_object
|
1934
|
+
# @param [String] firewall_endpoint_association_id
|
1935
|
+
# Required. Id of the requesting object. If auto-generating Id server-side,
|
1936
|
+
# remove this field and firewall_endpoint_association_id from the
|
1937
|
+
# method_signature of Create RPC.
|
1938
|
+
# @param [String] request_id
|
1939
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1940
|
+
# request ID so that if you must retry your request, the server will know to
|
1941
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1942
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1943
|
+
# situation where you make an initial request and the request times out. If you
|
1944
|
+
# make the request again with the same request ID, the server can check if
|
1945
|
+
# original operation with the same request ID was received, and if so, will
|
1946
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1947
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1948
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1949
|
+
# @param [String] fields
|
1950
|
+
# Selector specifying which fields to include in a partial response.
|
1951
|
+
# @param [String] quota_user
|
1952
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1953
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1954
|
+
# @param [Google::Apis::RequestOptions] options
|
1955
|
+
# Request-specific options
|
1956
|
+
#
|
1957
|
+
# @yield [result, err] Result & error if block supplied
|
1958
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
1959
|
+
# @yieldparam err [StandardError] error object if request failed
|
1960
|
+
#
|
1961
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
1962
|
+
#
|
1963
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1964
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1965
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1966
|
+
def create_project_location_firewall_endpoint_association(parent, firewall_endpoint_association_object = nil, firewall_endpoint_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1967
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/firewallEndpointAssociations', options)
|
1968
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
1969
|
+
command.request_object = firewall_endpoint_association_object
|
1970
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1971
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1972
|
+
command.params['parent'] = parent unless parent.nil?
|
1973
|
+
command.query['firewallEndpointAssociationId'] = firewall_endpoint_association_id unless firewall_endpoint_association_id.nil?
|
1974
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1975
|
+
command.query['fields'] = fields unless fields.nil?
|
1976
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1977
|
+
execute_or_queue_command(command, &block)
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
# Deletes a single FirewallEndpointAssociation.
|
1981
|
+
# @param [String] name
|
1982
|
+
# Required. Name of the resource
|
1983
|
+
# @param [String] request_id
|
1984
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1985
|
+
# request ID so that if you must retry your request, the server will know to
|
1986
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1987
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1988
|
+
# situation where you make an initial request and the request times out. If you
|
1989
|
+
# make the request again with the same request ID, the server can check if
|
1990
|
+
# original operation with the same request ID was received, and if so, will
|
1991
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1992
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1993
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1994
|
+
# @param [String] fields
|
1995
|
+
# Selector specifying which fields to include in a partial response.
|
1996
|
+
# @param [String] quota_user
|
1997
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1998
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1999
|
+
# @param [Google::Apis::RequestOptions] options
|
2000
|
+
# Request-specific options
|
2001
|
+
#
|
2002
|
+
# @yield [result, err] Result & error if block supplied
|
2003
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2004
|
+
# @yieldparam err [StandardError] error object if request failed
|
2005
|
+
#
|
2006
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2007
|
+
#
|
2008
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2009
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2010
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2011
|
+
def delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2012
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2013
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2014
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2015
|
+
command.params['name'] = name unless name.nil?
|
2016
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2017
|
+
command.query['fields'] = fields unless fields.nil?
|
2018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2019
|
+
execute_or_queue_command(command, &block)
|
2020
|
+
end
|
2021
|
+
|
2022
|
+
# Gets details of a single FirewallEndpointAssociation.
|
2023
|
+
# @param [String] name
|
2024
|
+
# Required. Name of the resource
|
2025
|
+
# @param [String] fields
|
2026
|
+
# Selector specifying which fields to include in a partial response.
|
2027
|
+
# @param [String] quota_user
|
2028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2030
|
+
# @param [Google::Apis::RequestOptions] options
|
2031
|
+
# Request-specific options
|
2032
|
+
#
|
2033
|
+
# @yield [result, err] Result & error if block supplied
|
2034
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] parsed result object
|
2035
|
+
# @yieldparam err [StandardError] error object if request failed
|
2036
|
+
#
|
2037
|
+
# @return [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation]
|
2038
|
+
#
|
2039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2042
|
+
def get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
2043
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2044
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
2045
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation
|
2046
|
+
command.params['name'] = name unless name.nil?
|
2047
|
+
command.query['fields'] = fields unless fields.nil?
|
2048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2049
|
+
execute_or_queue_command(command, &block)
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
# Lists Associations in a given project and location.
|
2053
|
+
# @param [String] parent
|
2054
|
+
# Required. Parent value for ListAssociationsRequest
|
2055
|
+
# @param [String] filter
|
2056
|
+
# Filtering results
|
2057
|
+
# @param [String] order_by
|
2058
|
+
# Hint for how to order the results
|
2059
|
+
# @param [Fixnum] page_size
|
2060
|
+
# Requested page size. Server may return fewer items than requested. If
|
2061
|
+
# unspecified, server will pick an appropriate default.
|
2062
|
+
# @param [String] page_token
|
2063
|
+
# A token identifying a page of results the server should return.
|
2064
|
+
# @param [String] fields
|
2065
|
+
# Selector specifying which fields to include in a partial response.
|
2066
|
+
# @param [String] quota_user
|
2067
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2068
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2069
|
+
# @param [Google::Apis::RequestOptions] options
|
2070
|
+
# Request-specific options
|
2071
|
+
#
|
2072
|
+
# @yield [result, err] Result & error if block supplied
|
2073
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse] parsed result object
|
2074
|
+
# @yieldparam err [StandardError] error object if request failed
|
2075
|
+
#
|
2076
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse]
|
2077
|
+
#
|
2078
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2079
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2080
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2081
|
+
def list_project_location_firewall_endpoint_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2082
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/firewallEndpointAssociations', options)
|
2083
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse::Representation
|
2084
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse
|
2085
|
+
command.params['parent'] = parent unless parent.nil?
|
2086
|
+
command.query['filter'] = filter unless filter.nil?
|
2087
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2088
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2089
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2090
|
+
command.query['fields'] = fields unless fields.nil?
|
2091
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2092
|
+
execute_or_queue_command(command, &block)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# Update a single FirewallEndpointAssociation.
|
2096
|
+
# @param [String] name
|
2097
|
+
# Output only. name of resource
|
2098
|
+
# @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] firewall_endpoint_association_object
|
2099
|
+
# @param [String] request_id
|
2100
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2101
|
+
# request ID so that if you must retry your request, the server will know to
|
2102
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2103
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2104
|
+
# situation where you make an initial request and the request times out. If you
|
2105
|
+
# make the request again with the same request ID, the server can check if
|
2106
|
+
# original operation with the same request ID was received, and if so, will
|
2107
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2108
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2109
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2110
|
+
# @param [String] update_mask
|
2111
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
2112
|
+
# Association resource by the update. The fields specified in the update_mask
|
2113
|
+
# are relative to the resource, not the full request. A field will be
|
2114
|
+
# overwritten if it is in the mask. If the user does not provide a mask then all
|
2115
|
+
# fields will be overwritten.
|
2116
|
+
# @param [String] fields
|
2117
|
+
# Selector specifying which fields to include in a partial response.
|
2118
|
+
# @param [String] quota_user
|
2119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2121
|
+
# @param [Google::Apis::RequestOptions] options
|
2122
|
+
# Request-specific options
|
2123
|
+
#
|
2124
|
+
# @yield [result, err] Result & error if block supplied
|
2125
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2126
|
+
# @yieldparam err [StandardError] error object if request failed
|
2127
|
+
#
|
2128
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2129
|
+
#
|
2130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2133
|
+
def patch_project_location_firewall_endpoint_association(name, firewall_endpoint_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2134
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2135
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation
|
2136
|
+
command.request_object = firewall_endpoint_association_object
|
2137
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2138
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2139
|
+
command.params['name'] = name unless name.nil?
|
2140
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2141
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2142
|
+
command.query['fields'] = fields unless fields.nil?
|
2143
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2144
|
+
execute_or_queue_command(command, &block)
|
2145
|
+
end
|
2146
|
+
|
1713
2147
|
# Creates a new GatewaySecurityPolicy in a given project and location.
|
1714
2148
|
# @param [String] parent
|
1715
2149
|
# Required. The parent resource of the GatewaySecurityPolicy. Must be in the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networksecurity_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-16 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-networksecurity_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|