google-apis-networksecurity_v1 0.28.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: 5e5cad729899413ebfc939385bae8e3002b3121eed25897cb4a93e2d0d5b9caa
4
- data.tar.gz: 4a25de0166726746ac782ae70bd23d9ccc810a4c512836abfb1247849440d8ec
3
+ metadata.gz: 62ea3e8563e8a3e3dd684e92429c68388aa6180119f0a0ff0303e46d6e1f751c
4
+ data.tar.gz: f911ce2b7448ff82634b28f723d3594ed080052a0c9af010001f366fe7bbdb4d
5
5
  SHA512:
6
- metadata.gz: 86d959be0657789a426388d1c992f630fd7cbed2045997d2c9afc909fa2a5b5c85891e4c60ef12b2912ff4196a026a039b2d17913e10d0443438383a91606650
7
- data.tar.gz: b9b8cc181af2f78ad1493ebdc245660faf1672e62ec4d1501c66a86951e1f0fc84456814c2f77054a5306deb2342de4ea3b2aae2f620ecdce6183bffc89be1d6
6
+ metadata.gz: 93108d06679e1c719ca6f79c92e9081133506a005ff775119d804d2b89e6ae3e6c087ef5386938f304782d7e6902ce2649be3cb644dc9b3a52846e2eec51de4f
7
+ data.tar.gz: 22a7b2964162dff8a179c7de111fc3f1967db6d53f09c1cd2cd67bbf3a4e1ef8f7b7d7a15ccf937e19676936debfae129357d1c0a95b986b24349de056658383
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.28.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240626
@@ -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)
@@ -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: 11
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: 10
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
@@ -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.28.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 = "20240626"
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.28.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-07-25 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.28.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: []