google-apis-networksecurity_v1beta1 0.55.0 → 0.57.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: 0c6e261332bd76efca1f64f3541d9e019121f182cdbfee1cff0184377f5f4a95
4
- data.tar.gz: 4811f39ee8831128893a9b77741831b245c59a1bfe93eb229fbc3654900dad6c
3
+ metadata.gz: 8babc90a963e6891be888c22f84bfff8b7f72d2f29645bba57babebd5fb01951
4
+ data.tar.gz: fcb96ee443307aefc49344745517103659461e887983d4b0ff0522c01e2ff843
5
5
  SHA512:
6
- metadata.gz: 41fd55a747532eff1ccba3652d4c1f0a70e41b373f1dd610168e19c3c62cd0953cf82b5922855903d4affb81ccb97cbe4283be519b2085fd8f93207297a24a5a
7
- data.tar.gz: 3f90e2af3ed7c7ce7fb3bf5094c50c039c3d507c62f918aac6480d32d5e16582fbedce1b137224d796bd0f3796a40cfbe8587d18bb736dc8b4f157d78ace7eef
6
+ metadata.gz: cf48700f36e89be12a97e15ea14590d0b1b2252fea8ff79d56ad03397256eeeb6026f2ff9856d6f89df25e208c1e63729a9b218115ae908a0dd49e67e5194058
7
+ data.tar.gz: 5eddfd7251bd93225687ccd79f13878a90adef9d422cf9851e3c116eda16cf2a44931171a48c782beada882e875f3dda0b06b6f2512d84ebc27a59f2d5351605
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.57.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250925
6
+
7
+ ### v0.56.0 (2025-09-07)
8
+
9
+ * Regenerated from discovery document revision 20250903
10
+
3
11
  ### v0.55.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250822
@@ -388,11 +388,10 @@ module Google
388
388
  # successfully validated by mTLS. Each identity is a string whose value is
389
389
  # matched against a list of URI SANs, DNS Name SANs, or the common name in the
390
390
  # client's certificate. A match happens when any principal matches with the rule.
391
- # Limited to 50 principals per Authorization Policy for Regional Internal
392
- # Application Load Balancer, Regional External Application Load Balancer, Cross-
393
- # region Internal Application Load Balancer, and Cloud Service Mesh. Limited to
394
- # 25 principals per Authorization Policy for Global External Application Load
395
- # Balancer.
391
+ # Limited to 50 principals per Authorization Policy for regional internal
392
+ # Application Load Balancers, regional external Application Load Balancers,
393
+ # cross-region internal Application Load Balancers, and Cloud Service Mesh. This
394
+ # field is not supported for global external Application Load Balancers.
396
395
  # Corresponds to the JSON property `principals`
397
396
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRulePrincipal>]
398
397
  attr_accessor :principals
@@ -772,16 +771,15 @@ module Google
772
771
 
773
772
  # Required. All gateways and forwarding rules referenced by this policy and
774
773
  # extensions must share the same load balancing scheme. Supported values: `
775
- # INTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`. For more
776
- # information, refer to [Backend services overview](https://cloud.google.com/
777
- # load-balancing/docs/backend-service).
774
+ # INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [
775
+ # Backend services overview](https://cloud.google.com/load-balancing/docs/
776
+ # backend-service).
778
777
  # Corresponds to the JSON property `loadBalancingScheme`
779
778
  # @return [String]
780
779
  attr_accessor :load_balancing_scheme
781
780
 
782
781
  # Required. A list of references to the Forwarding Rules on which this policy
783
- # will be applied. For policies created for Cloudrun, this field will reference
784
- # the Cloud Run services.
782
+ # will be applied.
785
783
  # Corresponds to the JSON property `resources`
786
784
  # @return [Array<String>]
787
785
  attr_accessor :resources
@@ -3176,6 +3174,13 @@ module Google
3176
3174
  # @return [Array<Google::Apis::NetworksecurityV1beta1::Operation>]
3177
3175
  attr_accessor :operations
3178
3176
 
3177
+ # Unordered list. Unreachable resources. Populated when the request sets `
3178
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
3179
+ # when attempting to list all resources across all supported locations.
3180
+ # Corresponds to the JSON property `unreachable`
3181
+ # @return [Array<String>]
3182
+ attr_accessor :unreachable
3183
+
3179
3184
  def initialize(**args)
3180
3185
  update!(**args)
3181
3186
  end
@@ -3184,6 +3189,7 @@ module Google
3184
3189
  def update!(**args)
3185
3190
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3186
3191
  @operations = args[:operations] if args.key?(:operations)
3192
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3187
3193
  end
3188
3194
  end
3189
3195
 
@@ -3782,6 +3788,12 @@ module Google
3782
3788
  # @return [String]
3783
3789
  attr_accessor :state
3784
3790
 
3791
+ # Immutable. The type of the endpoint group. If left unspecified, defaults to
3792
+ # DIRECT.
3793
+ # Corresponds to the JSON property `type`
3794
+ # @return [String]
3795
+ attr_accessor :type
3796
+
3785
3797
  # Output only. The timestamp when the resource was most recently updated. See
3786
3798
  # https://google.aip.dev/148#timestamps.
3787
3799
  # Corresponds to the JSON property `updateTime`
@@ -3803,6 +3815,7 @@ module Google
3803
3815
  @name = args[:name] if args.key?(:name)
3804
3816
  @reconciling = args[:reconciling] if args.key?(:reconciling)
3805
3817
  @state = args[:state] if args.key?(:state)
3818
+ @type = args[:type] if args.key?(:type)
3806
3819
  @update_time = args[:update_time] if args.key?(:update_time)
3807
3820
  end
3808
3821
  end
@@ -4495,6 +4508,11 @@ module Google
4495
4508
  # @return [String]
4496
4509
  attr_accessor :update_time
4497
4510
 
4511
+ # UrlFilteringProfile defines filters based on URL.
4512
+ # Corresponds to the JSON property `urlFilteringProfile`
4513
+ # @return [Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile]
4514
+ attr_accessor :url_filtering_profile
4515
+
4498
4516
  def initialize(**args)
4499
4517
  update!(**args)
4500
4518
  end
@@ -4511,6 +4529,7 @@ module Google
4511
4529
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4512
4530
  @type = args[:type] if args.key?(:type)
4513
4531
  @update_time = args[:update_time] if args.key?(:update_time)
4532
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4514
4533
  end
4515
4534
  end
4516
4535
 
@@ -4578,6 +4597,11 @@ module Google
4578
4597
  # @return [String]
4579
4598
  attr_accessor :update_time
4580
4599
 
4600
+ # Optional. Reference to a SecurityProfile with the UrlFiltering configuration.
4601
+ # Corresponds to the JSON property `urlFilteringProfile`
4602
+ # @return [String]
4603
+ attr_accessor :url_filtering_profile
4604
+
4581
4605
  def initialize(**args)
4582
4606
  update!(**args)
4583
4607
  end
@@ -4594,6 +4618,7 @@ module Google
4594
4618
  @name = args[:name] if args.key?(:name)
4595
4619
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4596
4620
  @update_time = args[:update_time] if args.key?(:update_time)
4621
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4597
4622
  end
4598
4623
  end
4599
4624
 
@@ -4946,6 +4971,60 @@ module Google
4946
4971
  end
4947
4972
  end
4948
4973
 
4974
+ # A URL filter defines an action to take for some URL match.
4975
+ class UrlFilter
4976
+ include Google::Apis::Core::Hashable
4977
+
4978
+ # Required. The action taken when this filter is applied.
4979
+ # Corresponds to the JSON property `filteringAction`
4980
+ # @return [String]
4981
+ attr_accessor :filtering_action
4982
+
4983
+ # Required. The priority of this filter within the URL Filtering Profile. Lower
4984
+ # integers indicate higher priorities. The priority of a filter must be unique
4985
+ # within a URL Filtering Profile.
4986
+ # Corresponds to the JSON property `priority`
4987
+ # @return [Fixnum]
4988
+ attr_accessor :priority
4989
+
4990
+ # Required. The list of strings that a URL must match with for this filter to be
4991
+ # applied.
4992
+ # Corresponds to the JSON property `urls`
4993
+ # @return [Array<String>]
4994
+ attr_accessor :urls
4995
+
4996
+ def initialize(**args)
4997
+ update!(**args)
4998
+ end
4999
+
5000
+ # Update properties of this object
5001
+ def update!(**args)
5002
+ @filtering_action = args[:filtering_action] if args.key?(:filtering_action)
5003
+ @priority = args[:priority] if args.key?(:priority)
5004
+ @urls = args[:urls] if args.key?(:urls)
5005
+ end
5006
+ end
5007
+
5008
+ # UrlFilteringProfile defines filters based on URL.
5009
+ class UrlFilteringProfile
5010
+ include Google::Apis::Core::Hashable
5011
+
5012
+ # Optional. The list of filtering configs in which each config defines an action
5013
+ # to take for some URL match.
5014
+ # Corresponds to the JSON property `urlFilters`
5015
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::UrlFilter>]
5016
+ attr_accessor :url_filters
5017
+
5018
+ def initialize(**args)
5019
+ update!(**args)
5020
+ end
5021
+
5022
+ # Update properties of this object
5023
+ def update!(**args)
5024
+ @url_filters = args[:url_filters] if args.key?(:url_filters)
5025
+ end
5026
+ end
5027
+
4949
5028
  # UrlList proto helps users to set reusable, independently manageable lists of
4950
5029
  # hosts, host patterns, URLs, URL patterns.
4951
5030
  class UrlList
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250822"
25
+ REVISION = "20250925"
26
26
  end
27
27
  end
28
28
  end
@@ -724,6 +724,18 @@ module Google
724
724
  include Google::Apis::Core::JsonObjectSupport
725
725
  end
726
726
 
727
+ class UrlFilter
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class UrlFilteringProfile
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
727
739
  class UrlList
728
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
741
 
@@ -1544,6 +1556,7 @@ module Google
1544
1556
  property :next_page_token, as: 'nextPageToken'
1545
1557
  collection :operations, as: 'operations', class: Google::Apis::NetworksecurityV1beta1::Operation, decorator: Google::Apis::NetworksecurityV1beta1::Operation::Representation
1546
1558
 
1559
+ collection :unreachable, as: 'unreachable'
1547
1560
  end
1548
1561
  end
1549
1562
 
@@ -1700,6 +1713,7 @@ module Google
1700
1713
  property :name, as: 'name'
1701
1714
  property :reconciling, as: 'reconciling'
1702
1715
  property :state, as: 'state'
1716
+ property :type, as: 'type'
1703
1717
  property :update_time, as: 'updateTime'
1704
1718
  end
1705
1719
  end
@@ -1873,6 +1887,8 @@ module Google
1873
1887
 
1874
1888
  property :type, as: 'type'
1875
1889
  property :update_time, as: 'updateTime'
1890
+ property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile::Representation
1891
+
1876
1892
  end
1877
1893
  end
1878
1894
 
@@ -1889,6 +1905,7 @@ module Google
1889
1905
  property :name, as: 'name'
1890
1906
  property :threat_prevention_profile, as: 'threatPreventionProfile'
1891
1907
  property :update_time, as: 'updateTime'
1908
+ property :url_filtering_profile, as: 'urlFilteringProfile'
1892
1909
  end
1893
1910
  end
1894
1911
 
@@ -1970,6 +1987,23 @@ module Google
1970
1987
  end
1971
1988
  end
1972
1989
 
1990
+ class UrlFilter
1991
+ # @private
1992
+ class Representation < Google::Apis::Core::JsonRepresentation
1993
+ property :filtering_action, as: 'filteringAction'
1994
+ property :priority, as: 'priority'
1995
+ collection :urls, as: 'urls'
1996
+ end
1997
+ end
1998
+
1999
+ class UrlFilteringProfile
2000
+ # @private
2001
+ class Representation < Google::Apis::Core::JsonRepresentation
2002
+ collection :url_filters, as: 'urlFilters', class: Google::Apis::NetworksecurityV1beta1::UrlFilter, decorator: Google::Apis::NetworksecurityV1beta1::UrlFilter::Representation
2003
+
2004
+ end
2005
+ end
2006
+
1973
2007
  class UrlList
1974
2008
  # @private
1975
2009
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -745,6 +745,13 @@ module Google
745
745
  # The standard list page size.
746
746
  # @param [String] page_token
747
747
  # The standard list page token.
748
+ # @param [Boolean] return_partial_success
749
+ # When set to `true`, operations that are reachable are returned as normal, and
750
+ # those that are unreachable are returned in the [ListOperationsResponse.
751
+ # unreachable] field. This can only be `true` when reading across collections e.
752
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
753
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
754
+ # explicitly documented otherwise in service or product specific documentation.
748
755
  # @param [String] fields
749
756
  # Selector specifying which fields to include in a partial response.
750
757
  # @param [String] quota_user
@@ -762,7 +769,7 @@ module Google
762
769
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
770
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
771
  # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
772
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
766
773
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
767
774
  command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
768
775
  command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
@@ -770,6 +777,7 @@ module Google
770
777
  command.query['filter'] = filter unless filter.nil?
771
778
  command.query['pageSize'] = page_size unless page_size.nil?
772
779
  command.query['pageToken'] = page_token unless page_token.nil?
780
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
773
781
  command.query['fields'] = fields unless fields.nil?
774
782
  command.query['quotaUser'] = quota_user unless quota_user.nil?
775
783
  execute_or_queue_command(command, &block)
@@ -1186,8 +1194,8 @@ module Google
1186
1194
  # @param [String] name
1187
1195
  # The resource that owns the locations collection, if applicable.
1188
1196
  # @param [Array<String>, String] extra_location_types
1189
- # Optional. Do not use this field. It is unsupported and is ignored unless
1190
- # explicitly documented otherwise. This is primarily for internal usage.
1197
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
1198
+ # field which is primarily intended for internal usage.
1191
1199
  # @param [String] filter
1192
1200
  # A filter to narrow down results to a preferred subset. The filtering language
1193
1201
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -5395,6 +5403,13 @@ module Google
5395
5403
  # The standard list page size.
5396
5404
  # @param [String] page_token
5397
5405
  # The standard list page token.
5406
+ # @param [Boolean] return_partial_success
5407
+ # When set to `true`, operations that are reachable are returned as normal, and
5408
+ # those that are unreachable are returned in the [ListOperationsResponse.
5409
+ # unreachable] field. This can only be `true` when reading across collections e.
5410
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5411
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5412
+ # explicitly documented otherwise in service or product specific documentation.
5398
5413
  # @param [String] fields
5399
5414
  # Selector specifying which fields to include in a partial response.
5400
5415
  # @param [String] quota_user
@@ -5412,7 +5427,7 @@ module Google
5412
5427
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5413
5428
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5414
5429
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5415
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5430
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
5416
5431
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
5417
5432
  command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
5418
5433
  command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
@@ -5420,6 +5435,7 @@ module Google
5420
5435
  command.query['filter'] = filter unless filter.nil?
5421
5436
  command.query['pageSize'] = page_size unless page_size.nil?
5422
5437
  command.query['pageToken'] = page_token unless page_token.nil?
5438
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5423
5439
  command.query['fields'] = fields unless fields.nil?
5424
5440
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5425
5441
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: