google-apis-networksecurity_v1 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +391 -9
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +139 -0
- data/lib/google/apis/networksecurity_v1/service.rb +911 -167
- 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: 2069795cc6f82c6b7a8a3b16c6a9a4ff991316c409aeadbc05fd988732a7859b
|
4
|
+
data.tar.gz: f9ef220a79aa9bd8039015bab773eddb0c16b7c9ab603f73a8943de4ce7ae072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1732d5f66a632054c8c0f89a43f28425b73851c265a9f212ac59aec5edbaa4d9e26754fa7cce635057f8846c24972f9ec4778b1ca9db0857bf681ff8989fb473
|
7
|
+
data.tar.gz: 64e6c82346fc9bfa1f4c4b3f52d903d624eaa5a8c743d2ced1302855b92ec0f856af9bbd6d7b96063a0ddb7e07c6ff02ed31846bc0ff5fa7ca17add6382de6d7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230415
|
6
|
+
|
7
|
+
### v0.17.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230406
|
10
|
+
|
3
11
|
### v0.16.0 (2023-03-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230306
|
@@ -301,6 +301,135 @@ module Google
|
|
301
301
|
end
|
302
302
|
end
|
303
303
|
|
304
|
+
# The GatewaySecurityPolicy resource contains a collection of
|
305
|
+
# GatewaySecurityPolicyRules and associated metadata.
|
306
|
+
class GatewaySecurityPolicy
|
307
|
+
include Google::Apis::Core::Hashable
|
308
|
+
|
309
|
+
# Output only. The timestamp when the resource was created.
|
310
|
+
# Corresponds to the JSON property `createTime`
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :create_time
|
313
|
+
|
314
|
+
# Optional. Free-text description of the resource.
|
315
|
+
# Corresponds to the JSON property `description`
|
316
|
+
# @return [String]
|
317
|
+
attr_accessor :description
|
318
|
+
|
319
|
+
# Required. Name of the resource. Name is of the form projects/`project`/
|
320
|
+
# locations/`location`/gatewaySecurityPolicies/`gateway_security_policy`
|
321
|
+
# gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-
|
322
|
+
# 9])?$).
|
323
|
+
# Corresponds to the JSON property `name`
|
324
|
+
# @return [String]
|
325
|
+
attr_accessor :name
|
326
|
+
|
327
|
+
# Optional. Name of a TLS Inspection Policy resource that defines how TLS
|
328
|
+
# inspection will be performed for any rule(s) which enables it.
|
329
|
+
# Corresponds to the JSON property `tlsInspectionPolicy`
|
330
|
+
# @return [String]
|
331
|
+
attr_accessor :tls_inspection_policy
|
332
|
+
|
333
|
+
# Output only. The timestamp when the resource was updated.
|
334
|
+
# Corresponds to the JSON property `updateTime`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :update_time
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
345
|
+
@description = args[:description] if args.key?(:description)
|
346
|
+
@name = args[:name] if args.key?(:name)
|
347
|
+
@tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
|
348
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# The GatewaySecurityPolicyRule resource is in a nested collection within a
|
353
|
+
# GatewaySecurityPolicy and represents a traffic matching condition and
|
354
|
+
# associated action to perform.
|
355
|
+
class GatewaySecurityPolicyRule
|
356
|
+
include Google::Apis::Core::Hashable
|
357
|
+
|
358
|
+
# Optional. CEL expression for matching on L7/application level criteria.
|
359
|
+
# Corresponds to the JSON property `applicationMatcher`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :application_matcher
|
362
|
+
|
363
|
+
# Required. Profile which tells what the primitive action should be.
|
364
|
+
# Corresponds to the JSON property `basicProfile`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :basic_profile
|
367
|
+
|
368
|
+
# Output only. Time when the rule was created.
|
369
|
+
# Corresponds to the JSON property `createTime`
|
370
|
+
# @return [String]
|
371
|
+
attr_accessor :create_time
|
372
|
+
|
373
|
+
# Optional. Free-text description of the resource.
|
374
|
+
# Corresponds to the JSON property `description`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :description
|
377
|
+
|
378
|
+
# Required. Whether the rule is enforced.
|
379
|
+
# Corresponds to the JSON property `enabled`
|
380
|
+
# @return [Boolean]
|
381
|
+
attr_accessor :enabled
|
382
|
+
alias_method :enabled?, :enabled
|
383
|
+
|
384
|
+
# Required. Immutable. Name of the resource. ame is the full resource name so
|
385
|
+
# projects/`project`/locations/`location`/gatewaySecurityPolicies/`
|
386
|
+
# gateway_security_policy`/rules/`rule` rule should match the pattern: (^[a-z]([
|
387
|
+
# a-z0-9-]`0,61`[a-z0-9])?$).
|
388
|
+
# Corresponds to the JSON property `name`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :name
|
391
|
+
|
392
|
+
# Required. Priority of the rule. Lower number corresponds to higher precedence.
|
393
|
+
# Corresponds to the JSON property `priority`
|
394
|
+
# @return [Fixnum]
|
395
|
+
attr_accessor :priority
|
396
|
+
|
397
|
+
# Required. CEL expression for matching on session criteria.
|
398
|
+
# Corresponds to the JSON property `sessionMatcher`
|
399
|
+
# @return [String]
|
400
|
+
attr_accessor :session_matcher
|
401
|
+
|
402
|
+
# Optional. Flag to enable TLS inspection of traffic matching on , can only be
|
403
|
+
# true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
|
404
|
+
# Corresponds to the JSON property `tlsInspectionEnabled`
|
405
|
+
# @return [Boolean]
|
406
|
+
attr_accessor :tls_inspection_enabled
|
407
|
+
alias_method :tls_inspection_enabled?, :tls_inspection_enabled
|
408
|
+
|
409
|
+
# Output only. Time when the rule was updated.
|
410
|
+
# Corresponds to the JSON property `updateTime`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :update_time
|
413
|
+
|
414
|
+
def initialize(**args)
|
415
|
+
update!(**args)
|
416
|
+
end
|
417
|
+
|
418
|
+
# Update properties of this object
|
419
|
+
def update!(**args)
|
420
|
+
@application_matcher = args[:application_matcher] if args.key?(:application_matcher)
|
421
|
+
@basic_profile = args[:basic_profile] if args.key?(:basic_profile)
|
422
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
423
|
+
@description = args[:description] if args.key?(:description)
|
424
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
425
|
+
@name = args[:name] if args.key?(:name)
|
426
|
+
@priority = args[:priority] if args.key?(:priority)
|
427
|
+
@session_matcher = args[:session_matcher] if args.key?(:session_matcher)
|
428
|
+
@tls_inspection_enabled = args[:tls_inspection_enabled] if args.key?(:tls_inspection_enabled)
|
429
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
304
433
|
# Specification of certificate provider. Defines the mechanism to obtain the
|
305
434
|
# certificate and private key for peer to peer authentication.
|
306
435
|
class GoogleCloudNetworksecurityV1CertificateProvider
|
@@ -770,6 +899,72 @@ module Google
|
|
770
899
|
end
|
771
900
|
end
|
772
901
|
|
902
|
+
# Response returned by the ListGatewaySecurityPolicies method.
|
903
|
+
class ListGatewaySecurityPoliciesResponse
|
904
|
+
include Google::Apis::Core::Hashable
|
905
|
+
|
906
|
+
# List of GatewaySecurityPolicies resources.
|
907
|
+
# Corresponds to the JSON property `gatewaySecurityPolicies`
|
908
|
+
# @return [Array<Google::Apis::NetworksecurityV1::GatewaySecurityPolicy>]
|
909
|
+
attr_accessor :gateway_security_policies
|
910
|
+
|
911
|
+
# If there might be more results than those appearing in this response, then '
|
912
|
+
# next_page_token' is included. To get the next set of results, call this method
|
913
|
+
# again using the value of 'next_page_token' as 'page_token'.
|
914
|
+
# Corresponds to the JSON property `nextPageToken`
|
915
|
+
# @return [String]
|
916
|
+
attr_accessor :next_page_token
|
917
|
+
|
918
|
+
# Locations that could not be reached.
|
919
|
+
# Corresponds to the JSON property `unreachable`
|
920
|
+
# @return [Array<String>]
|
921
|
+
attr_accessor :unreachable
|
922
|
+
|
923
|
+
def initialize(**args)
|
924
|
+
update!(**args)
|
925
|
+
end
|
926
|
+
|
927
|
+
# Update properties of this object
|
928
|
+
def update!(**args)
|
929
|
+
@gateway_security_policies = args[:gateway_security_policies] if args.key?(:gateway_security_policies)
|
930
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
931
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
# Response returned by the ListGatewaySecurityPolicyRules method.
|
936
|
+
class ListGatewaySecurityPolicyRulesResponse
|
937
|
+
include Google::Apis::Core::Hashable
|
938
|
+
|
939
|
+
# List of GatewaySecurityPolicyRule resources.
|
940
|
+
# Corresponds to the JSON property `gatewaySecurityPolicyRules`
|
941
|
+
# @return [Array<Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule>]
|
942
|
+
attr_accessor :gateway_security_policy_rules
|
943
|
+
|
944
|
+
# If there might be more results than those appearing in this response, then '
|
945
|
+
# next_page_token' is included. To get the next set of results, call this method
|
946
|
+
# again using the value of 'next_page_token' as 'page_token'.
|
947
|
+
# Corresponds to the JSON property `nextPageToken`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :next_page_token
|
950
|
+
|
951
|
+
# Locations that could not be reached.
|
952
|
+
# Corresponds to the JSON property `unreachable`
|
953
|
+
# @return [Array<String>]
|
954
|
+
attr_accessor :unreachable
|
955
|
+
|
956
|
+
def initialize(**args)
|
957
|
+
update!(**args)
|
958
|
+
end
|
959
|
+
|
960
|
+
# Update properties of this object
|
961
|
+
def update!(**args)
|
962
|
+
@gateway_security_policy_rules = args[:gateway_security_policy_rules] if args.key?(:gateway_security_policy_rules)
|
963
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
964
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
773
968
|
# The response message for Locations.ListLocations.
|
774
969
|
class ListLocationsResponse
|
775
970
|
include Google::Apis::Core::Hashable
|
@@ -847,6 +1042,72 @@ module Google
|
|
847
1042
|
end
|
848
1043
|
end
|
849
1044
|
|
1045
|
+
# Response returned by the ListTlsInspectionPolicies method.
|
1046
|
+
class ListTlsInspectionPoliciesResponse
|
1047
|
+
include Google::Apis::Core::Hashable
|
1048
|
+
|
1049
|
+
# If there might be more results than those appearing in this response, then '
|
1050
|
+
# next_page_token' is included. To get the next set of results, call this method
|
1051
|
+
# again using the value of 'next_page_token' as 'page_token'.
|
1052
|
+
# Corresponds to the JSON property `nextPageToken`
|
1053
|
+
# @return [String]
|
1054
|
+
attr_accessor :next_page_token
|
1055
|
+
|
1056
|
+
# List of TlsInspectionPolicies resources.
|
1057
|
+
# Corresponds to the JSON property `tlsInspectionPolicies`
|
1058
|
+
# @return [Array<Google::Apis::NetworksecurityV1::TlsInspectionPolicy>]
|
1059
|
+
attr_accessor :tls_inspection_policies
|
1060
|
+
|
1061
|
+
# Locations that could not be reached.
|
1062
|
+
# Corresponds to the JSON property `unreachable`
|
1063
|
+
# @return [Array<String>]
|
1064
|
+
attr_accessor :unreachable
|
1065
|
+
|
1066
|
+
def initialize(**args)
|
1067
|
+
update!(**args)
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# Update properties of this object
|
1071
|
+
def update!(**args)
|
1072
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1073
|
+
@tls_inspection_policies = args[:tls_inspection_policies] if args.key?(:tls_inspection_policies)
|
1074
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# Response returned by the ListUrlLists method.
|
1079
|
+
class ListUrlListsResponse
|
1080
|
+
include Google::Apis::Core::Hashable
|
1081
|
+
|
1082
|
+
# If there might be more results than those appearing in this response, then `
|
1083
|
+
# next_page_token` is included. To get the next set of results, call this method
|
1084
|
+
# again using the value of `next_page_token` as `page_token`.
|
1085
|
+
# Corresponds to the JSON property `nextPageToken`
|
1086
|
+
# @return [String]
|
1087
|
+
attr_accessor :next_page_token
|
1088
|
+
|
1089
|
+
# Locations that could not be reached.
|
1090
|
+
# Corresponds to the JSON property `unreachable`
|
1091
|
+
# @return [Array<String>]
|
1092
|
+
attr_accessor :unreachable
|
1093
|
+
|
1094
|
+
# List of UrlList resources.
|
1095
|
+
# Corresponds to the JSON property `urlLists`
|
1096
|
+
# @return [Array<Google::Apis::NetworksecurityV1::UrlList>]
|
1097
|
+
attr_accessor :url_lists
|
1098
|
+
|
1099
|
+
def initialize(**args)
|
1100
|
+
update!(**args)
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# Update properties of this object
|
1104
|
+
def update!(**args)
|
1105
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1106
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1107
|
+
@url_lists = args[:url_lists] if args.key?(:url_lists)
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
850
1111
|
# A resource that represents Google Cloud Platform location.
|
851
1112
|
class Location
|
852
1113
|
include Google::Apis::Core::Hashable
|
@@ -898,12 +1159,29 @@ module Google
|
|
898
1159
|
class MtlsPolicy
|
899
1160
|
include Google::Apis::Core::Hashable
|
900
1161
|
|
901
|
-
#
|
902
|
-
#
|
1162
|
+
# Required if the policy is to be used with Traffic Director. For external HTTPS
|
1163
|
+
# load balancers it must be empty. Defines the mechanism to obtain the
|
1164
|
+
# Certificate Authority certificate to validate the client certificate.
|
903
1165
|
# Corresponds to the JSON property `clientValidationCa`
|
904
1166
|
# @return [Array<Google::Apis::NetworksecurityV1::ValidationCa>]
|
905
1167
|
attr_accessor :client_validation_ca
|
906
1168
|
|
1169
|
+
# When the client presents an invalid certificate or no certificate to the load
|
1170
|
+
# balancer, the `client_validation_mode` specifies how the client connection is
|
1171
|
+
# handled. Required if the policy is to be used with the external HTTPS load
|
1172
|
+
# balancing. For Traffic Director it must be empty.
|
1173
|
+
# Corresponds to the JSON property `clientValidationMode`
|
1174
|
+
# @return [String]
|
1175
|
+
attr_accessor :client_validation_mode
|
1176
|
+
|
1177
|
+
# Reference to the TrustConfig from certificatemanager.googleapis.com namespace.
|
1178
|
+
# If specified, the chain validation will be performed against certificates
|
1179
|
+
# configured in the given TrustConfig. Allowed only if the policy is to be used
|
1180
|
+
# with external HTTPS load balancers.
|
1181
|
+
# Corresponds to the JSON property `clientValidationTrustConfig`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :client_validation_trust_config
|
1184
|
+
|
907
1185
|
def initialize(**args)
|
908
1186
|
update!(**args)
|
909
1187
|
end
|
@@ -911,6 +1189,8 @@ module Google
|
|
911
1189
|
# Update properties of this object
|
912
1190
|
def update!(**args)
|
913
1191
|
@client_validation_ca = args[:client_validation_ca] if args.key?(:client_validation_ca)
|
1192
|
+
@client_validation_mode = args[:client_validation_mode] if args.key?(:client_validation_mode)
|
1193
|
+
@client_validation_trust_config = args[:client_validation_trust_config] if args.key?(:client_validation_trust_config)
|
914
1194
|
end
|
915
1195
|
end
|
916
1196
|
|
@@ -1070,16 +1350,23 @@ module Google
|
|
1070
1350
|
# ServerTlsPolicy is a resource that specifies how a server should authenticate
|
1071
1351
|
# incoming requests. This resource itself does not affect configuration unless
|
1072
1352
|
# it is attached to a target HTTPS proxy or endpoint config selector resource.
|
1353
|
+
# ServerTlsPolicy in the form accepted by external HTTPS load balancers can be
|
1354
|
+
# attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED`
|
1355
|
+
# load balancing scheme. Traffic Director compatible ServerTlsPolicies can be
|
1356
|
+
# attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `
|
1357
|
+
# INTERNAL_SELF_MANAGED` load balancing scheme.
|
1073
1358
|
class ServerTlsPolicy
|
1074
1359
|
include Google::Apis::Core::Hashable
|
1075
1360
|
|
1076
|
-
#
|
1077
|
-
#
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1361
|
+
# This field applies only for Traffic Director policies. It is must be set to
|
1362
|
+
# false for external HTTPS load balancer policies. Determines if server allows
|
1363
|
+
# plaintext connections. If set to true, server allows plain text connections.
|
1364
|
+
# By default, it is set to false. This setting is not exclusive of other
|
1365
|
+
# encryption modes. For example, if `allow_open` and `mtls_policy` are set,
|
1366
|
+
# server allows both plain text and mTLS connections. See documentation of other
|
1367
|
+
# encryption modes to confirm compatibility. Consider using it if you wish to
|
1368
|
+
# upgrade in place your deployment to TLS while having mixed TLS and non-TLS
|
1369
|
+
# traffic reaching port :80.
|
1083
1370
|
# Corresponds to the JSON property `allowOpen`
|
1084
1371
|
# @return [Boolean]
|
1085
1372
|
attr_accessor :allow_open
|
@@ -1212,6 +1499,101 @@ module Google
|
|
1212
1499
|
end
|
1213
1500
|
end
|
1214
1501
|
|
1502
|
+
# The TlsInspectionPolicy resource contains references to CA pools in
|
1503
|
+
# Certificate Authority Service and associated metadata.
|
1504
|
+
class TlsInspectionPolicy
|
1505
|
+
include Google::Apis::Core::Hashable
|
1506
|
+
|
1507
|
+
# Required. A CA pool resource used to issue interception certificates. The CA
|
1508
|
+
# pool string has a relative resource path following the form "projects/`project`
|
1509
|
+
# /locations/`location`/caPools/`ca_pool`".
|
1510
|
+
# Corresponds to the JSON property `caPool`
|
1511
|
+
# @return [String]
|
1512
|
+
attr_accessor :ca_pool
|
1513
|
+
|
1514
|
+
# Output only. The timestamp when the resource was created.
|
1515
|
+
# Corresponds to the JSON property `createTime`
|
1516
|
+
# @return [String]
|
1517
|
+
attr_accessor :create_time
|
1518
|
+
|
1519
|
+
# Optional. Free-text description of the resource.
|
1520
|
+
# Corresponds to the JSON property `description`
|
1521
|
+
# @return [String]
|
1522
|
+
attr_accessor :description
|
1523
|
+
|
1524
|
+
# Required. Name of the resource. Name is of the form projects/`project`/
|
1525
|
+
# locations/`location`/tlsInspectionPolicies/`tls_inspection_policy`
|
1526
|
+
# tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])
|
1527
|
+
# ?$).
|
1528
|
+
# Corresponds to the JSON property `name`
|
1529
|
+
# @return [String]
|
1530
|
+
attr_accessor :name
|
1531
|
+
|
1532
|
+
# Output only. The timestamp when the resource was updated.
|
1533
|
+
# Corresponds to the JSON property `updateTime`
|
1534
|
+
# @return [String]
|
1535
|
+
attr_accessor :update_time
|
1536
|
+
|
1537
|
+
def initialize(**args)
|
1538
|
+
update!(**args)
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
# Update properties of this object
|
1542
|
+
def update!(**args)
|
1543
|
+
@ca_pool = args[:ca_pool] if args.key?(:ca_pool)
|
1544
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1545
|
+
@description = args[:description] if args.key?(:description)
|
1546
|
+
@name = args[:name] if args.key?(:name)
|
1547
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
# UrlList proto helps users to set reusable, independently manageable lists of
|
1552
|
+
# hosts, host patterns, URLs, URL patterns.
|
1553
|
+
class UrlList
|
1554
|
+
include Google::Apis::Core::Hashable
|
1555
|
+
|
1556
|
+
# Output only. Time when the security policy was created.
|
1557
|
+
# Corresponds to the JSON property `createTime`
|
1558
|
+
# @return [String]
|
1559
|
+
attr_accessor :create_time
|
1560
|
+
|
1561
|
+
# Optional. Free-text description of the resource.
|
1562
|
+
# Corresponds to the JSON property `description`
|
1563
|
+
# @return [String]
|
1564
|
+
attr_accessor :description
|
1565
|
+
|
1566
|
+
# Required. Name of the resource provided by the user. Name is of the form
|
1567
|
+
# projects/`project`/locations/`location`/urlLists/`url_list` url_list should
|
1568
|
+
# match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
|
1569
|
+
# Corresponds to the JSON property `name`
|
1570
|
+
# @return [String]
|
1571
|
+
attr_accessor :name
|
1572
|
+
|
1573
|
+
# Output only. Time when the security policy was updated.
|
1574
|
+
# Corresponds to the JSON property `updateTime`
|
1575
|
+
# @return [String]
|
1576
|
+
attr_accessor :update_time
|
1577
|
+
|
1578
|
+
# Required. FQDNs and URLs.
|
1579
|
+
# Corresponds to the JSON property `values`
|
1580
|
+
# @return [Array<String>]
|
1581
|
+
attr_accessor :values
|
1582
|
+
|
1583
|
+
def initialize(**args)
|
1584
|
+
update!(**args)
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# Update properties of this object
|
1588
|
+
def update!(**args)
|
1589
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1590
|
+
@description = args[:description] if args.key?(:description)
|
1591
|
+
@name = args[:name] if args.key?(:name)
|
1592
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1593
|
+
@values = args[:values] if args.key?(:values)
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1215
1597
|
# Specification of ValidationCA. Defines the mechanism to obtain the Certificate
|
1216
1598
|
# Authority certificate to validate the peer certificate.
|
1217
1599
|
class ValidationCa
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworksecurityV1
|
18
18
|
# Version of the google-apis-networksecurity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.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 = "20230415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|