google-apis-networksecurity_v1 0.27.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc04e3fd17b14fff5e2773c9a9db674ad38bc3d6e5964f7c959780d8b5efd59f
4
- data.tar.gz: 1cadddb8c2404d426eac75cdf6f0ebcdc4d95feee54be627aa113c9370266b9e
3
+ metadata.gz: 62ea3e8563e8a3e3dd684e92429c68388aa6180119f0a0ff0303e46d6e1f751c
4
+ data.tar.gz: f911ce2b7448ff82634b28f723d3594ed080052a0c9af010001f366fe7bbdb4d
5
5
  SHA512:
6
- metadata.gz: 14bbba18e66a9e55c7a4fda1f19b3452bd1fee068bdd19b8aaa126dba2725821e6d8172e299d8113f5287bd20ac71999161ea30b741587ba72be41e3cd452f45
7
- data.tar.gz: a9bd997f593cd214333c9b1db84315d1f048dca021efc05c937845be9acc448413b5b6132f30db51f714390d88f741cb70c36e162c6ae37df4ea6067e6f82041
6
+ metadata.gz: 93108d06679e1c719ca6f79c92e9081133506a005ff775119d804d2b89e6ae3e6c087ef5386938f304782d7e6902ce2649be3cb644dc9b3a52846e2eec51de4f
7
+ data.tar.gz: 22a7b2964162dff8a179c7de111fc3f1967db6d53f09c1cd2cd67bbf3a4e1ef8f7b7d7a15ccf937e19676936debfae129357d1c0a95b986b24349de056658383
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.29.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240803
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.28.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240626
11
+
3
12
  ### v0.27.0 (2024-05-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20240505
@@ -92,6 +92,11 @@ module Google
92
92
  # @return [String]
93
93
  attr_accessor :name
94
94
 
95
+ # Optional. List of supported purposes of the Address Group.
96
+ # Corresponds to the JSON property `purpose`
97
+ # @return [Array<String>]
98
+ attr_accessor :purpose
99
+
95
100
  # Output only. Server-defined fully-qualified URL for this resource.
96
101
  # Corresponds to the JSON property `selfLink`
97
102
  # @return [String]
@@ -119,6 +124,7 @@ module Google
119
124
  @items = args[:items] if args.key?(:items)
120
125
  @labels = args[:labels] if args.key?(:labels)
121
126
  @name = args[:name] if args.key?(:name)
127
+ @purpose = args[:purpose] if args.key?(:purpose)
122
128
  @self_link = args[:self_link] if args.key?(:self_link)
123
129
  @type = args[:type] if args.key?(:type)
124
130
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1707,8 +1713,8 @@ module Google
1707
1713
  class MtlsPolicy
1708
1714
  include Google::Apis::Core::Hashable
1709
1715
 
1710
- # Required if the policy is to be used with Traffic Director. For external HTTPS
1711
- # load balancers it must be empty. Defines the mechanism to obtain the
1716
+ # Required if the policy is to be used with Traffic Director. For Application
1717
+ # Load Balancers it must be empty. Defines the mechanism to obtain the
1712
1718
  # Certificate Authority certificate to validate the client certificate.
1713
1719
  # Corresponds to the JSON property `clientValidationCa`
1714
1720
  # @return [Array<Google::Apis::NetworksecurityV1::ValidationCa>]
@@ -1716,8 +1722,8 @@ module Google
1716
1722
 
1717
1723
  # When the client presents an invalid certificate or no certificate to the load
1718
1724
  # balancer, the `client_validation_mode` specifies how the client connection is
1719
- # handled. Required if the policy is to be used with the external HTTPS load
1720
- # balancing. For Traffic Director it must be empty.
1725
+ # handled. Required if the policy is to be used with the Application Load
1726
+ # Balancers. For Traffic Director it must be empty.
1721
1727
  # Corresponds to the JSON property `clientValidationMode`
1722
1728
  # @return [String]
1723
1729
  attr_accessor :client_validation_mode
@@ -1725,7 +1731,7 @@ module Google
1725
1731
  # Reference to the TrustConfig from certificatemanager.googleapis.com namespace.
1726
1732
  # If specified, the chain validation will be performed against certificates
1727
1733
  # configured in the given TrustConfig. Allowed only if the policy is to be used
1728
- # with external HTTPS load balancers.
1734
+ # with Application Load Balancers.
1729
1735
  # Corresponds to the JSON property `clientValidationTrustConfig`
1730
1736
  # @return [String]
1731
1737
  attr_accessor :client_validation_trust_config
@@ -1930,7 +1936,7 @@ module Google
1930
1936
  end
1931
1937
 
1932
1938
  # SecurityProfile is a resource that defines the behavior for one of many
1933
- # ProfileTypes. Next ID: 10
1939
+ # ProfileTypes. Next ID: 12
1934
1940
  class SecurityProfile
1935
1941
  include Google::Apis::Core::Hashable
1936
1942
 
@@ -1997,7 +2003,7 @@ module Google
1997
2003
  end
1998
2004
 
1999
2005
  # SecurityProfileGroup is a resource that defines the behavior for various
2000
- # ProfileTypes. Next ID: 9
2006
+ # ProfileTypes. Next ID: 11
2001
2007
  class SecurityProfileGroup
2002
2008
  include Google::Apis::Core::Hashable
2003
2009
 
@@ -2031,8 +2037,8 @@ module Google
2031
2037
  # @return [String]
2032
2038
  attr_accessor :name
2033
2039
 
2034
- # Optional. Reference to a SecurityProfile with the threat prevention
2035
- # configuration for the SecurityProfileGroup.
2040
+ # Optional. Reference to a SecurityProfile with the ThreatPrevention
2041
+ # configuration.
2036
2042
  # Corresponds to the JSON property `threatPreventionProfile`
2037
2043
  # @return [String]
2038
2044
  attr_accessor :threat_prevention_profile
@@ -2061,16 +2067,16 @@ module Google
2061
2067
  # ServerTlsPolicy is a resource that specifies how a server should authenticate
2062
2068
  # incoming requests. This resource itself does not affect configuration unless
2063
2069
  # it is attached to a target HTTPS proxy or endpoint config selector resource.
2064
- # ServerTlsPolicy in the form accepted by external HTTPS load balancers can be
2065
- # attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED`
2066
- # load balancing scheme. Traffic Director compatible ServerTlsPolicies can be
2067
- # attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `
2068
- # INTERNAL_SELF_MANAGED` load balancing scheme.
2070
+ # ServerTlsPolicy in the form accepted by Application Load Balancers can be
2071
+ # attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `
2072
+ # INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible
2073
+ # ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with
2074
+ # Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.
2069
2075
  class ServerTlsPolicy
2070
2076
  include Google::Apis::Core::Hashable
2071
2077
 
2072
2078
  # This field applies only for Traffic Director policies. It is must be set to
2073
- # false for external HTTPS load balancer policies. Determines if server allows
2079
+ # false for Application Load Balancer policies. Determines if server allows
2074
2080
  # plaintext connections. If set to true, server allows plain text connections.
2075
2081
  # By default, it is set to false. This setting is not exclusive of other
2076
2082
  # encryption modes. For example, if `allow_open` and `mtls_policy` are set,
@@ -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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240505"
25
+ REVISION = "20240803"
26
26
  end
27
27
  end
28
28
  end
@@ -387,6 +387,7 @@ module Google
387
387
  collection :items, as: 'items'
388
388
  hash :labels, as: 'labels'
389
389
  property :name, as: 'name'
390
+ collection :purpose, as: 'purpose'
390
391
  property :self_link, as: 'selfLink'
391
392
  property :type, as: 'type'
392
393
  property :update_time, as: 'updateTime'
@@ -2004,6 +2004,127 @@ module Google
2004
2004
  execute_or_queue_command(command, &block)
2005
2005
  end
2006
2006
 
2007
+ # Gets the access control policy for a resource. Returns an empty policy if the
2008
+ # resource exists and does not have a policy set.
2009
+ # @param [String] resource
2010
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2011
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2012
+ # appropriate value for this field.
2013
+ # @param [Fixnum] options_requested_policy_version
2014
+ # Optional. The maximum policy version that will be used to format the policy.
2015
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2016
+ # rejected. Requests for policies with any conditional role bindings must
2017
+ # specify version 3. Policies with no conditional role bindings may specify any
2018
+ # valid value or leave the field unset. The policy in the response might use the
2019
+ # policy version that you specified, or it might use a lower policy version. For
2020
+ # example, if you specify version 3, but the policy has no conditional role
2021
+ # bindings, the response uses version 1. To learn which resources support
2022
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2023
+ # google.com/iam/help/conditions/resource-policies).
2024
+ # @param [String] fields
2025
+ # Selector specifying which fields to include in a partial response.
2026
+ # @param [String] quota_user
2027
+ # Available to use for quota purposes for server-side applications. Can be any
2028
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2029
+ # @param [Google::Apis::RequestOptions] options
2030
+ # Request-specific options
2031
+ #
2032
+ # @yield [result, err] Result & error if block supplied
2033
+ # @yieldparam result [Google::Apis::NetworksecurityV1::GoogleIamV1Policy] parsed result object
2034
+ # @yieldparam err [StandardError] error object if request failed
2035
+ #
2036
+ # @return [Google::Apis::NetworksecurityV1::GoogleIamV1Policy]
2037
+ #
2038
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2039
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2040
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2041
+ def get_project_location_authz_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2042
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2043
+ command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation
2044
+ command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy
2045
+ command.params['resource'] = resource unless resource.nil?
2046
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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
+ # Sets the access control policy on the specified resource. Replaces any
2053
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2054
+ # PERMISSION_DENIED` errors.
2055
+ # @param [String] resource
2056
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2057
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2058
+ # appropriate value for this field.
2059
+ # @param [Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
2060
+ # @param [String] fields
2061
+ # Selector specifying which fields to include in a partial response.
2062
+ # @param [String] quota_user
2063
+ # Available to use for quota purposes for server-side applications. Can be any
2064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2065
+ # @param [Google::Apis::RequestOptions] options
2066
+ # Request-specific options
2067
+ #
2068
+ # @yield [result, err] Result & error if block supplied
2069
+ # @yieldparam result [Google::Apis::NetworksecurityV1::GoogleIamV1Policy] parsed result object
2070
+ # @yieldparam err [StandardError] error object if request failed
2071
+ #
2072
+ # @return [Google::Apis::NetworksecurityV1::GoogleIamV1Policy]
2073
+ #
2074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2077
+ def set_project_location_authz_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2078
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2079
+ command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation
2080
+ command.request_object = google_iam_v1_set_iam_policy_request_object
2081
+ command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation
2082
+ command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy
2083
+ command.params['resource'] = resource unless resource.nil?
2084
+ command.query['fields'] = fields unless fields.nil?
2085
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2086
+ execute_or_queue_command(command, &block)
2087
+ end
2088
+
2089
+ # Returns permissions that a caller has on the specified resource. If the
2090
+ # resource does not exist, this will return an empty set of permissions, not a `
2091
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
2092
+ # permission-aware UIs and command-line tools, not for authorization checking.
2093
+ # This operation may "fail open" without warning.
2094
+ # @param [String] resource
2095
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2096
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2097
+ # appropriate value for this field.
2098
+ # @param [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
2099
+ # @param [String] fields
2100
+ # Selector specifying which fields to include in a partial response.
2101
+ # @param [String] quota_user
2102
+ # Available to use for quota purposes for server-side applications. Can be any
2103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2104
+ # @param [Google::Apis::RequestOptions] options
2105
+ # Request-specific options
2106
+ #
2107
+ # @yield [result, err] Result & error if block supplied
2108
+ # @yieldparam result [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
2109
+ # @yieldparam err [StandardError] error object if request failed
2110
+ #
2111
+ # @return [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse]
2112
+ #
2113
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2114
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2115
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2116
+ def test_project_location_authz_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2117
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
2118
+ command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation
2119
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
2120
+ command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation
2121
+ command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
2122
+ command.params['resource'] = resource unless resource.nil?
2123
+ command.query['fields'] = fields unless fields.nil?
2124
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2125
+ execute_or_queue_command(command, &block)
2126
+ end
2127
+
2007
2128
  # Creates a new ClientTlsPolicy in a given project and location.
2008
2129
  # @param [String] parent
2009
2130
  # Required. The parent resource of the ClientTlsPolicy. Must be in the format `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.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: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-08-11 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []