google-apis-networksecurity_v1 0.33.0 → 0.34.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca547a5f376284aa4b438d739b6bd4cc1048a752d841a8a2ead3cacdd2e266c0
4
- data.tar.gz: 7d74c41bf750db1e0accd359954a3a2eebb3ff7c47ca1467d1bcf7c6e5298852
3
+ metadata.gz: 4d5d8d0bb28b07a8a9567e1b8f387d8d9e59d78d7cc4848d1e2394e8abcbc77e
4
+ data.tar.gz: 675df71080871d49f2f81bb310cc285c9803c17573a14cbc333da0dc85d0ff57
5
5
  SHA512:
6
- metadata.gz: dbd6636329996818d7817aff34435aaf72775462749d8ca181f659b3338cb4e17a5abf00766046520a3e2ea59222351b595b995a9af357b2029b6b495abbb398
7
- data.tar.gz: 5d7350b3b8bed96b6c6d124f71e188c901d869b6e7fb6c00a988a3d32d6323fe33882006cf3b8f814141efd0bacc4ecc3e471d089cc4d23be6ed03da781548f5
6
+ metadata.gz: f7985d2b180af24c265c32d719eae3839278eb68e99cae78c12c2c287533f750b31181954757280fa3d5c9033afebf210d447a02c4c3456eb301e08d7e8e1e4f
7
+ data.tar.gz: a18e4700a7d037cbf884236f759bf226e1214871b981373bccc206b5f8a7c3cb55e6651529008aa877b2dc4084bd7be3e3cd8cc8e03111691001765609fcf850
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.34.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250310
6
+
3
7
  ### v0.33.0 (2025-03-02)
4
8
 
5
9
  * 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.33.0"
19
+ GEM_VERSION = "0.34.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 = "20250217"
25
+ REVISION = "20250310"
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
@@ -4378,6 +4378,12 @@ module Google
4378
4378
  # The value returned by the last `ListServerTlsPoliciesResponse` Indicates that
4379
4379
  # this is a continuation of a prior `ListServerTlsPolicies` call, and that the
4380
4380
  # system should return the next page of data.
4381
+ # @param [Boolean] return_partial_success
4382
+ # Optional. Setting this field to `true` will opt the request into returning the
4383
+ # resources that are reachable, and into including the names of those that were
4384
+ # unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can
4385
+ # only be `true` when reading across collections e.g. when `parent` is set to `"
4386
+ # projects/example/locations/-"`.
4381
4387
  # @param [String] fields
4382
4388
  # Selector specifying which fields to include in a partial response.
4383
4389
  # @param [String] quota_user
@@ -4395,13 +4401,14 @@ module Google
4395
4401
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4396
4402
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4397
4403
  # @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)
4404
+ 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
4405
  command = make_simple_command(:get, 'v1/{+parent}/serverTlsPolicies', options)
4400
4406
  command.response_representation = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse::Representation
4401
4407
  command.response_class = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
4402
4408
  command.params['parent'] = parent unless parent.nil?
4403
4409
  command.query['pageSize'] = page_size unless page_size.nil?
4404
4410
  command.query['pageToken'] = page_token unless page_token.nil?
4411
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4405
4412
  command.query['fields'] = fields unless fields.nil?
4406
4413
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4407
4414
  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.33.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-16 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.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.34.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: