google-apis-networksecurity_v1 0.33.0 → 0.35.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 +80 -0
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +36 -0
- data/lib/google/apis/networksecurity_v1/service.rb +13 -2
- 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: 7cd4ae0117e16f7e3ac13578afb538dadcb613e6d651d9a031e58061653ce8cf
|
4
|
+
data.tar.gz: e0245d37c511c3d37e753249c3709b440e17a74ef829712a7cc4f299ed28d643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72a5a22ba7be7e5780ab0cbd34effe9870532f4b928514c9209efddf6fc00f16448ca860ee4478ed4c1fc0e542f5d0929eae9e985b606457973a79cde9cf59bf
|
7
|
+
data.tar.gz: b3b59a72efc99085aef410ca3cdad5c93bc10d1d6d437be42d5c3282dca2b442fdcd2dd458635d30672325858c23d1c42ca882523611dda71590e55295a4d378
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250326
|
6
|
+
|
7
|
+
### v0.34.0 (2025-03-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250310
|
10
|
+
|
3
11
|
### v0.33.0 (2025-03-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250217
|
@@ -2331,6 +2331,13 @@ module Google
|
|
2331
2331
|
# @return [Array<Google::Apis::NetworksecurityV1::ServerTlsPolicy>]
|
2332
2332
|
attr_accessor :server_tls_policies
|
2333
2333
|
|
2334
|
+
# Unreachable resources. Populated when the request opts into `
|
2335
|
+
# return_partial_success` and reading across collections e.g. when attempting to
|
2336
|
+
# list all resources across all supported locations.
|
2337
|
+
# Corresponds to the JSON property `unreachable`
|
2338
|
+
# @return [Array<String>]
|
2339
|
+
attr_accessor :unreachable
|
2340
|
+
|
2334
2341
|
def initialize(**args)
|
2335
2342
|
update!(**args)
|
2336
2343
|
end
|
@@ -2339,6 +2346,7 @@ module Google
|
|
2339
2346
|
def update!(**args)
|
2340
2347
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2341
2348
|
@server_tls_policies = args[:server_tls_policies] if args.key?(:server_tls_policies)
|
2349
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2342
2350
|
end
|
2343
2351
|
end
|
2344
2352
|
|
@@ -2608,6 +2616,11 @@ module Google
|
|
2608
2616
|
# @return [Hash<String,String>]
|
2609
2617
|
attr_accessor :labels
|
2610
2618
|
|
2619
|
+
# Output only. The list of locations where the deployment group is present.
|
2620
|
+
# Corresponds to the JSON property `locations`
|
2621
|
+
# @return [Array<Google::Apis::NetworksecurityV1::MirroringLocation>]
|
2622
|
+
attr_accessor :locations
|
2623
|
+
|
2611
2624
|
# Immutable. Identifier. The resource name of this deployment group, for example:
|
2612
2625
|
# `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See
|
2613
2626
|
# https://google.aip.dev/122 for more details.
|
@@ -2658,6 +2671,7 @@ module Google
|
|
2658
2671
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2659
2672
|
@description = args[:description] if args.key?(:description)
|
2660
2673
|
@labels = args[:labels] if args.key?(:labels)
|
2674
|
+
@locations = args[:locations] if args.key?(:locations)
|
2661
2675
|
@name = args[:name] if args.key?(:name)
|
2662
2676
|
@nested_deployments = args[:nested_deployments] if args.key?(:nested_deployments)
|
2663
2677
|
@network = args[:network] if args.key?(:network)
|
@@ -2727,6 +2741,12 @@ module Google
|
|
2727
2741
|
# @return [Array<Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationDetails>]
|
2728
2742
|
attr_accessor :associations
|
2729
2743
|
|
2744
|
+
# Output only. List of details about the connected deployment groups to this
|
2745
|
+
# endpoint group.
|
2746
|
+
# Corresponds to the JSON property `connectedDeploymentGroups`
|
2747
|
+
# @return [Array<Google::Apis::NetworksecurityV1::MirroringEndpointGroupConnectedDeploymentGroup>]
|
2748
|
+
attr_accessor :connected_deployment_groups
|
2749
|
+
|
2730
2750
|
# Output only. The timestamp when the resource was created. See https://google.
|
2731
2751
|
# aip.dev/148#timestamps.
|
2732
2752
|
# Corresponds to the JSON property `createTime`
|
@@ -2787,6 +2807,7 @@ module Google
|
|
2787
2807
|
# Update properties of this object
|
2788
2808
|
def update!(**args)
|
2789
2809
|
@associations = args[:associations] if args.key?(:associations)
|
2810
|
+
@connected_deployment_groups = args[:connected_deployment_groups] if args.key?(:connected_deployment_groups)
|
2790
2811
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2791
2812
|
@description = args[:description] if args.key?(:description)
|
2792
2813
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -2819,6 +2840,12 @@ module Google
|
|
2819
2840
|
# @return [Hash<String,String>]
|
2820
2841
|
attr_accessor :labels
|
2821
2842
|
|
2843
|
+
# Output only. The list of locations where the association is configured. This
|
2844
|
+
# information is retrieved from the linked endpoint group.
|
2845
|
+
# Corresponds to the JSON property `locations`
|
2846
|
+
# @return [Array<Google::Apis::NetworksecurityV1::MirroringLocation>]
|
2847
|
+
attr_accessor :locations
|
2848
|
+
|
2822
2849
|
# Output only. The list of locations where the association is present. This
|
2823
2850
|
# information is retrieved from the linked endpoint group, and not configured as
|
2824
2851
|
# part of the association itself.
|
@@ -2875,6 +2902,7 @@ module Google
|
|
2875
2902
|
def update!(**args)
|
2876
2903
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2877
2904
|
@labels = args[:labels] if args.key?(:labels)
|
2905
|
+
@locations = args[:locations] if args.key?(:locations)
|
2878
2906
|
@locations_details = args[:locations_details] if args.key?(:locations_details)
|
2879
2907
|
@mirroring_endpoint_group = args[:mirroring_endpoint_group] if args.key?(:mirroring_endpoint_group)
|
2880
2908
|
@name = args[:name] if args.key?(:name)
|
@@ -2945,6 +2973,58 @@ module Google
|
|
2945
2973
|
end
|
2946
2974
|
end
|
2947
2975
|
|
2976
|
+
# The endpoint group's view of a connected deployment group.
|
2977
|
+
class MirroringEndpointGroupConnectedDeploymentGroup
|
2978
|
+
include Google::Apis::Core::Hashable
|
2979
|
+
|
2980
|
+
# Output only. The list of locations where the deployment group is present.
|
2981
|
+
# Corresponds to the JSON property `locations`
|
2982
|
+
# @return [Array<Google::Apis::NetworksecurityV1::MirroringLocation>]
|
2983
|
+
attr_accessor :locations
|
2984
|
+
|
2985
|
+
# Output only. The connected deployment group's resource name, for example: `
|
2986
|
+
# projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See
|
2987
|
+
# https://google.aip.dev/124.
|
2988
|
+
# Corresponds to the JSON property `name`
|
2989
|
+
# @return [String]
|
2990
|
+
attr_accessor :name
|
2991
|
+
|
2992
|
+
def initialize(**args)
|
2993
|
+
update!(**args)
|
2994
|
+
end
|
2995
|
+
|
2996
|
+
# Update properties of this object
|
2997
|
+
def update!(**args)
|
2998
|
+
@locations = args[:locations] if args.key?(:locations)
|
2999
|
+
@name = args[:name] if args.key?(:name)
|
3000
|
+
end
|
3001
|
+
end
|
3002
|
+
|
3003
|
+
# Details about mirroring in a specific cloud location.
|
3004
|
+
class MirroringLocation
|
3005
|
+
include Google::Apis::Core::Hashable
|
3006
|
+
|
3007
|
+
# Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
|
3008
|
+
# Corresponds to the JSON property `location`
|
3009
|
+
# @return [String]
|
3010
|
+
attr_accessor :location
|
3011
|
+
|
3012
|
+
# Output only. The current state of the association in this location.
|
3013
|
+
# Corresponds to the JSON property `state`
|
3014
|
+
# @return [String]
|
3015
|
+
attr_accessor :state
|
3016
|
+
|
3017
|
+
def initialize(**args)
|
3018
|
+
update!(**args)
|
3019
|
+
end
|
3020
|
+
|
3021
|
+
# Update properties of this object
|
3022
|
+
def update!(**args)
|
3023
|
+
@location = args[:location] if args.key?(:location)
|
3024
|
+
@state = args[:state] if args.key?(:state)
|
3025
|
+
end
|
3026
|
+
end
|
3027
|
+
|
2948
3028
|
# This resource represents a long-running operation that is the result of a
|
2949
3029
|
# network API call.
|
2950
3030
|
class Operation
|
@@ -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.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -466,6 +466,18 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
+
class MirroringEndpointGroupConnectedDeploymentGroup
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class MirroringLocation
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
469
481
|
class Operation
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
@@ -1160,6 +1172,7 @@ module Google
|
|
1160
1172
|
property :next_page_token, as: 'nextPageToken'
|
1161
1173
|
collection :server_tls_policies, as: 'serverTlsPolicies', class: Google::Apis::NetworksecurityV1::ServerTlsPolicy, decorator: Google::Apis::NetworksecurityV1::ServerTlsPolicy::Representation
|
1162
1174
|
|
1175
|
+
collection :unreachable, as: 'unreachable'
|
1163
1176
|
end
|
1164
1177
|
end
|
1165
1178
|
|
@@ -1227,6 +1240,8 @@ module Google
|
|
1227
1240
|
property :create_time, as: 'createTime'
|
1228
1241
|
property :description, as: 'description'
|
1229
1242
|
hash :labels, as: 'labels'
|
1243
|
+
collection :locations, as: 'locations', class: Google::Apis::NetworksecurityV1::MirroringLocation, decorator: Google::Apis::NetworksecurityV1::MirroringLocation::Representation
|
1244
|
+
|
1230
1245
|
property :name, as: 'name'
|
1231
1246
|
collection :nested_deployments, as: 'nestedDeployments', class: Google::Apis::NetworksecurityV1::MirroringDeploymentGroupDeployment, decorator: Google::Apis::NetworksecurityV1::MirroringDeploymentGroupDeployment::Representation
|
1232
1247
|
|
@@ -1257,6 +1272,8 @@ module Google
|
|
1257
1272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1258
1273
|
collection :associations, as: 'associations', class: Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationDetails, decorator: Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationDetails::Representation
|
1259
1274
|
|
1275
|
+
collection :connected_deployment_groups, as: 'connectedDeploymentGroups', class: Google::Apis::NetworksecurityV1::MirroringEndpointGroupConnectedDeploymentGroup, decorator: Google::Apis::NetworksecurityV1::MirroringEndpointGroupConnectedDeploymentGroup::Representation
|
1276
|
+
|
1260
1277
|
property :create_time, as: 'createTime'
|
1261
1278
|
property :description, as: 'description'
|
1262
1279
|
hash :labels, as: 'labels'
|
@@ -1273,6 +1290,8 @@ module Google
|
|
1273
1290
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1274
1291
|
property :create_time, as: 'createTime'
|
1275
1292
|
hash :labels, as: 'labels'
|
1293
|
+
collection :locations, as: 'locations', class: Google::Apis::NetworksecurityV1::MirroringLocation, decorator: Google::Apis::NetworksecurityV1::MirroringLocation::Representation
|
1294
|
+
|
1276
1295
|
collection :locations_details, as: 'locationsDetails', class: Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationLocationDetails, decorator: Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationLocationDetails::Representation
|
1277
1296
|
|
1278
1297
|
property :mirroring_endpoint_group, as: 'mirroringEndpointGroup'
|
@@ -1301,6 +1320,23 @@ module Google
|
|
1301
1320
|
end
|
1302
1321
|
end
|
1303
1322
|
|
1323
|
+
class MirroringEndpointGroupConnectedDeploymentGroup
|
1324
|
+
# @private
|
1325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1326
|
+
collection :locations, as: 'locations', class: Google::Apis::NetworksecurityV1::MirroringLocation, decorator: Google::Apis::NetworksecurityV1::MirroringLocation::Representation
|
1327
|
+
|
1328
|
+
property :name, as: 'name'
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
class MirroringLocation
|
1333
|
+
# @private
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1335
|
+
property :location, as: 'location'
|
1336
|
+
property :state, as: 'state'
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1304
1340
|
class Operation
|
1305
1341
|
# @private
|
1306
1342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1185,6 +1185,9 @@ module Google
|
|
1185
1185
|
# Lists information about the supported locations for this service.
|
1186
1186
|
# @param [String] name
|
1187
1187
|
# The resource that owns the locations collection, if applicable.
|
1188
|
+
# @param [Array<String>, String] extra_location_types
|
1189
|
+
# Optional. A list of extra location types that should be used as conditions for
|
1190
|
+
# controlling the visibility of the locations.
|
1188
1191
|
# @param [String] filter
|
1189
1192
|
# A filter to narrow down results to a preferred subset. The filtering language
|
1190
1193
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1212,11 +1215,12 @@ module Google
|
|
1212
1215
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1213
1216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1214
1217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1215
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1218
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1216
1219
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
1217
1220
|
command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation
|
1218
1221
|
command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse
|
1219
1222
|
command.params['name'] = name unless name.nil?
|
1223
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
1220
1224
|
command.query['filter'] = filter unless filter.nil?
|
1221
1225
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1222
1226
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -4378,6 +4382,12 @@ module Google
|
|
4378
4382
|
# The value returned by the last `ListServerTlsPoliciesResponse` Indicates that
|
4379
4383
|
# this is a continuation of a prior `ListServerTlsPolicies` call, and that the
|
4380
4384
|
# system should return the next page of data.
|
4385
|
+
# @param [Boolean] return_partial_success
|
4386
|
+
# Optional. Setting this field to `true` will opt the request into returning the
|
4387
|
+
# resources that are reachable, and into including the names of those that were
|
4388
|
+
# unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can
|
4389
|
+
# only be `true` when reading across collections e.g. when `parent` is set to `"
|
4390
|
+
# projects/example/locations/-"`.
|
4381
4391
|
# @param [String] fields
|
4382
4392
|
# Selector specifying which fields to include in a partial response.
|
4383
4393
|
# @param [String] quota_user
|
@@ -4395,13 +4405,14 @@ module Google
|
|
4395
4405
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4396
4406
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4397
4407
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4398
|
-
def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4408
|
+
def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4399
4409
|
command = make_simple_command(:get, 'v1/{+parent}/serverTlsPolicies', options)
|
4400
4410
|
command.response_representation = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse::Representation
|
4401
4411
|
command.response_class = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
|
4402
4412
|
command.params['parent'] = parent unless parent.nil?
|
4403
4413
|
command.query['pageSize'] = page_size unless page_size.nil?
|
4404
4414
|
command.query['pageToken'] = page_token unless page_token.nil?
|
4415
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
4405
4416
|
command.query['fields'] = fields unless fields.nil?
|
4406
4417
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4407
4418
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networksecurity_v1
|
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
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.35.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|