google-apis-networksecurity_v1beta1 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +341 -3
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +134 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +918 -186
- metadata +3 -3
@@ -131,7 +131,7 @@ module Google
|
|
131
131
|
# request ID so that if you must retry your request, the server will know to
|
132
132
|
# ignore the request if it has already been completed. The server will guarantee
|
133
133
|
# that for at least 60 minutes since the first request. For example, consider a
|
134
|
-
# situation where you make an initial request and
|
134
|
+
# situation where you make an initial request and the request times out. If you
|
135
135
|
# make the request again with the same request ID, the server can check if
|
136
136
|
# original operation with the same request ID was received, and if so, will
|
137
137
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# request ID so that if you must retry your request, the server will know to
|
178
178
|
# ignore the request if it has already been completed. The server will guarantee
|
179
179
|
# that for at least 60 minutes since the first request. For example, consider a
|
180
|
-
# situation where you make an initial request and
|
180
|
+
# situation where you make an initial request and the request times out. If you
|
181
181
|
# make the request again with the same request ID, the server can check if
|
182
182
|
# original operation with the same request ID was received, and if so, will
|
183
183
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -331,7 +331,7 @@ module Google
|
|
331
331
|
# request ID so that if you must retry your request, the server will know to
|
332
332
|
# ignore the request if it has already been completed. The server will guarantee
|
333
333
|
# that for at least 60 minutes since the first request. For example, consider a
|
334
|
-
# situation where you make an initial request and
|
334
|
+
# situation where you make an initial request and the request times out. If you
|
335
335
|
# make the request again with the same request ID, the server can check if
|
336
336
|
# original operation with the same request ID was received, and if so, will
|
337
337
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -513,13 +513,7 @@ module Google
|
|
513
513
|
end
|
514
514
|
|
515
515
|
# Lists operations that match the specified filter in the request. If the server
|
516
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
517
|
-
# binding allows API services to override the binding to use different resource
|
518
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
519
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
520
|
-
# service configuration. For backwards compatibility, the default name includes
|
521
|
-
# the operations collection id, however overriding users must ensure the name
|
522
|
-
# binding is the parent resource, without the operations collection id.
|
516
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
523
517
|
# @param [String] name
|
524
518
|
# The name of the operation's parent resource.
|
525
519
|
# @param [String] filter
|
@@ -713,7 +707,7 @@ module Google
|
|
713
707
|
# request ID so that if you must retry your request, the server will know to
|
714
708
|
# ignore the request if it has already been completed. The server will guarantee
|
715
709
|
# that for at least 60 minutes since the first request. For example, consider a
|
716
|
-
# situation where you make an initial request and
|
710
|
+
# situation where you make an initial request and the request times out. If you
|
717
711
|
# make the request again with the same request ID, the server can check if
|
718
712
|
# original operation with the same request ID was received, and if so, will
|
719
713
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -759,7 +753,7 @@ module Google
|
|
759
753
|
# request ID so that if you must retry your request, the server will know to
|
760
754
|
# ignore the request if it has already been completed. The server will guarantee
|
761
755
|
# that for at least 60 minutes since the first request. For example, consider a
|
762
|
-
# situation where you make an initial request and
|
756
|
+
# situation where you make an initial request and the request times out. If you
|
763
757
|
# make the request again with the same request ID, the server can check if
|
764
758
|
# original operation with the same request ID was received, and if so, will
|
765
759
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -958,7 +952,7 @@ module Google
|
|
958
952
|
# request ID so that if you must retry your request, the server will know to
|
959
953
|
# ignore the request if it has already been completed. The server will guarantee
|
960
954
|
# that for at least 60 minutes since the first request. For example, consider a
|
961
|
-
# situation where you make an initial request and
|
955
|
+
# situation where you make an initial request and the request times out. If you
|
962
956
|
# make the request again with the same request ID, the server can check if
|
963
957
|
# original operation with the same request ID was received, and if so, will
|
964
958
|
# ignore the second request. This prevents clients from accidentally creating
|
@@ -1716,17 +1710,16 @@ module Google
|
|
1716
1710
|
execute_or_queue_command(command, &block)
|
1717
1711
|
end
|
1718
1712
|
|
1719
|
-
#
|
1720
|
-
#
|
1721
|
-
#
|
1722
|
-
#
|
1723
|
-
#
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1728
|
-
#
|
1729
|
-
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|
1713
|
+
# Creates a new GatewaySecurityPolicy in a given project and location.
|
1714
|
+
# @param [String] parent
|
1715
|
+
# Required. The parent resource of the GatewaySecurityPolicy. Must be in the
|
1716
|
+
# format `projects/`project`/locations/`location``.
|
1717
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] gateway_security_policy_object
|
1718
|
+
# @param [String] gateway_security_policy_id
|
1719
|
+
# Required. Short name of the GatewaySecurityPolicy resource to be created. This
|
1720
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
1721
|
+
# hyphens, and underscores, and should not start with a number. E.g. "
|
1722
|
+
# gateway_security_policy1".
|
1730
1723
|
# @param [String] fields
|
1731
1724
|
# Selector specifying which fields to include in a partial response.
|
1732
1725
|
# @param [String] quota_user
|
@@ -1736,32 +1729,31 @@ module Google
|
|
1736
1729
|
# Request-specific options
|
1737
1730
|
#
|
1738
1731
|
# @yield [result, err] Result & error if block supplied
|
1739
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1732
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
1740
1733
|
# @yieldparam err [StandardError] error object if request failed
|
1741
1734
|
#
|
1742
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1735
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
1743
1736
|
#
|
1744
1737
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1745
1738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1746
1739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1747
|
-
def
|
1748
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
1749
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
1750
|
-
command.request_object =
|
1751
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
1752
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
1753
|
-
command.params['
|
1740
|
+
def create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1741
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/gatewaySecurityPolicies', options)
|
1742
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
1743
|
+
command.request_object = gateway_security_policy_object
|
1744
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1745
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1746
|
+
command.params['parent'] = parent unless parent.nil?
|
1747
|
+
command.query['gatewaySecurityPolicyId'] = gateway_security_policy_id unless gateway_security_policy_id.nil?
|
1754
1748
|
command.query['fields'] = fields unless fields.nil?
|
1755
1749
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1756
1750
|
execute_or_queue_command(command, &block)
|
1757
1751
|
end
|
1758
1752
|
|
1759
|
-
# Deletes a
|
1760
|
-
# longer interested in the operation result. It does not cancel the operation.
|
1761
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1762
|
-
# UNIMPLEMENTED`.
|
1753
|
+
# Deletes a single GatewaySecurityPolicy.
|
1763
1754
|
# @param [String] name
|
1764
|
-
#
|
1755
|
+
# Required. A name of the GatewaySecurityPolicy to delete. Must be in the format
|
1756
|
+
# `projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
1765
1757
|
# @param [String] fields
|
1766
1758
|
# Selector specifying which fields to include in a partial response.
|
1767
1759
|
# @param [String] quota_user
|
@@ -1771,28 +1763,28 @@ module Google
|
|
1771
1763
|
# Request-specific options
|
1772
1764
|
#
|
1773
1765
|
# @yield [result, err] Result & error if block supplied
|
1774
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1766
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
1775
1767
|
# @yieldparam err [StandardError] error object if request failed
|
1776
1768
|
#
|
1777
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1769
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
1778
1770
|
#
|
1779
1771
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1780
1772
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1781
1773
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1782
|
-
def
|
1774
|
+
def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
1783
1775
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1784
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
1785
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
1776
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1777
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1786
1778
|
command.params['name'] = name unless name.nil?
|
1787
1779
|
command.query['fields'] = fields unless fields.nil?
|
1788
1780
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1789
1781
|
execute_or_queue_command(command, &block)
|
1790
1782
|
end
|
1791
1783
|
|
1792
|
-
# Gets
|
1793
|
-
# to poll the operation result at intervals as recommended by the API service.
|
1784
|
+
# Gets details of a single GatewaySecurityPolicy.
|
1794
1785
|
# @param [String] name
|
1795
|
-
#
|
1786
|
+
# Required. A name of the GatewaySecurityPolicy to get. Must be in the format `
|
1787
|
+
# projects/`project`/locations/`location`/gatewaySecurityPolicies/*`.
|
1796
1788
|
# @param [String] fields
|
1797
1789
|
# Selector specifying which fields to include in a partial response.
|
1798
1790
|
# @param [String] quota_user
|
@@ -1802,40 +1794,35 @@ module Google
|
|
1802
1794
|
# Request-specific options
|
1803
1795
|
#
|
1804
1796
|
# @yield [result, err] Result & error if block supplied
|
1805
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1797
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] parsed result object
|
1806
1798
|
# @yieldparam err [StandardError] error object if request failed
|
1807
1799
|
#
|
1808
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1800
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy]
|
1809
1801
|
#
|
1810
1802
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1811
1803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1812
1804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1813
|
-
def
|
1805
|
+
def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
1814
1806
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1815
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
1816
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
1807
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
1808
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy
|
1817
1809
|
command.params['name'] = name unless name.nil?
|
1818
1810
|
command.query['fields'] = fields unless fields.nil?
|
1819
1811
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1820
1812
|
execute_or_queue_command(command, &block)
|
1821
1813
|
end
|
1822
1814
|
|
1823
|
-
# Lists
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
# service configuration. For backwards compatibility, the default name includes
|
1829
|
-
# the operations collection id, however overriding users must ensure the name
|
1830
|
-
# binding is the parent resource, without the operations collection id.
|
1831
|
-
# @param [String] name
|
1832
|
-
# The name of the operation's parent resource.
|
1833
|
-
# @param [String] filter
|
1834
|
-
# The standard list filter.
|
1815
|
+
# Lists GatewaySecurityPolicies in a given project and location.
|
1816
|
+
# @param [String] parent
|
1817
|
+
# Required. The project and location from which the GatewaySecurityPolicies
|
1818
|
+
# should be listed, specified in the format `projects/`project`/locations/`
|
1819
|
+
# location``.
|
1835
1820
|
# @param [Fixnum] page_size
|
1836
|
-
#
|
1821
|
+
# Maximum number of GatewaySecurityPolicies to return per call.
|
1837
1822
|
# @param [String] page_token
|
1838
|
-
# The
|
1823
|
+
# The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates
|
1824
|
+
# that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and
|
1825
|
+
# that the system should return the next page of data.
|
1839
1826
|
# @param [String] fields
|
1840
1827
|
# Selector specifying which fields to include in a partial response.
|
1841
1828
|
# @param [String] quota_user
|
@@ -1845,20 +1832,19 @@ module Google
|
|
1845
1832
|
# Request-specific options
|
1846
1833
|
#
|
1847
1834
|
# @yield [result, err] Result & error if block supplied
|
1848
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1835
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse] parsed result object
|
1849
1836
|
# @yieldparam err [StandardError] error object if request failed
|
1850
1837
|
#
|
1851
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1838
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse]
|
1852
1839
|
#
|
1853
1840
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1854
1841
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1855
1842
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1856
|
-
def
|
1857
|
-
command = make_simple_command(:get, 'v1beta1/{+
|
1858
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
1859
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
1860
|
-
command.params['
|
1861
|
-
command.query['filter'] = filter unless filter.nil?
|
1843
|
+
def list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1844
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/gatewaySecurityPolicies', options)
|
1845
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse::Representation
|
1846
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse
|
1847
|
+
command.params['parent'] = parent unless parent.nil?
|
1862
1848
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1863
1849
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1864
1850
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1866,15 +1852,19 @@ module Google
|
|
1866
1852
|
execute_or_queue_command(command, &block)
|
1867
1853
|
end
|
1868
1854
|
|
1869
|
-
#
|
1870
|
-
# @param [String]
|
1871
|
-
# Required.
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
#
|
1877
|
-
#
|
1855
|
+
# Updates the parameters of a single GatewaySecurityPolicy.
|
1856
|
+
# @param [String] name
|
1857
|
+
# Required. Name of the resource. Name is of the form projects/`project`/
|
1858
|
+
# locations/`location`/gatewaySecurityPolicies/`gateway_security_policy`
|
1859
|
+
# gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-
|
1860
|
+
# 9])?$).
|
1861
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy] gateway_security_policy_object
|
1862
|
+
# @param [String] update_mask
|
1863
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
1864
|
+
# GatewaySecurityPolicy resource by the update. The fields specified in the
|
1865
|
+
# update_mask are relative to the resource, not the full request. A field will
|
1866
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
1867
|
+
# all fields will be overwritten.
|
1878
1868
|
# @param [String] fields
|
1879
1869
|
# Selector specifying which fields to include in a partial response.
|
1880
1870
|
# @param [String] quota_user
|
@@ -1892,23 +1882,28 @@ module Google
|
|
1892
1882
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1893
1883
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1894
1884
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1895
|
-
def
|
1896
|
-
command = make_simple_command(:
|
1897
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
1898
|
-
command.request_object =
|
1885
|
+
def patch_project_location_gateway_security_policy(name, gateway_security_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1886
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1887
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation
|
1888
|
+
command.request_object = gateway_security_policy_object
|
1899
1889
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1900
1890
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1901
|
-
command.params['
|
1902
|
-
command.query['
|
1891
|
+
command.params['name'] = name unless name.nil?
|
1892
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1903
1893
|
command.query['fields'] = fields unless fields.nil?
|
1904
1894
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1905
1895
|
execute_or_queue_command(command, &block)
|
1906
1896
|
end
|
1907
1897
|
|
1908
|
-
#
|
1909
|
-
# @param [String]
|
1910
|
-
# Required.
|
1911
|
-
#
|
1898
|
+
# Creates a new GatewaySecurityPolicy in a given project and location.
|
1899
|
+
# @param [String] parent
|
1900
|
+
# Required. The parent where this rule will be created. Format : projects/`
|
1901
|
+
# project`/location/`location`/gatewaySecurityPolicies/*
|
1902
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] gateway_security_policy_rule_object
|
1903
|
+
# @param [String] gateway_security_policy_rule_id
|
1904
|
+
# The ID to use for the rule, which will become the final component of the rule'
|
1905
|
+
# s resource name. This value should be 4-63 characters, and valid characters
|
1906
|
+
# are /a-z-/.
|
1912
1907
|
# @param [String] fields
|
1913
1908
|
# Selector specifying which fields to include in a partial response.
|
1914
1909
|
# @param [String] quota_user
|
@@ -1926,20 +1921,24 @@ module Google
|
|
1926
1921
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1927
1922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1928
1923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1929
|
-
def
|
1930
|
-
command = make_simple_command(:
|
1924
|
+
def create_project_location_gateway_security_policy_rule(parent, gateway_security_policy_rule_object = nil, gateway_security_policy_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1925
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/rules', options)
|
1926
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
1927
|
+
command.request_object = gateway_security_policy_rule_object
|
1931
1928
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1932
1929
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1933
|
-
command.params['
|
1930
|
+
command.params['parent'] = parent unless parent.nil?
|
1931
|
+
command.query['gatewaySecurityPolicyRuleId'] = gateway_security_policy_rule_id unless gateway_security_policy_rule_id.nil?
|
1934
1932
|
command.query['fields'] = fields unless fields.nil?
|
1935
1933
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1936
1934
|
execute_or_queue_command(command, &block)
|
1937
1935
|
end
|
1938
1936
|
|
1939
|
-
#
|
1937
|
+
# Deletes a single GatewaySecurityPolicyRule.
|
1940
1938
|
# @param [String] name
|
1941
|
-
# Required. A name of the
|
1942
|
-
# projects
|
1939
|
+
# Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the
|
1940
|
+
# format `projects/`project`/locations/`location`/gatewaySecurityPolicies/`
|
1941
|
+
# gatewaySecurityPolicy`/rules/*`.
|
1943
1942
|
# @param [String] fields
|
1944
1943
|
# Selector specifying which fields to include in a partial response.
|
1945
1944
|
# @param [String] quota_user
|
@@ -1949,41 +1948,28 @@ module Google
|
|
1949
1948
|
# Request-specific options
|
1950
1949
|
#
|
1951
1950
|
# @yield [result, err] Result & error if block supplied
|
1952
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1951
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
1953
1952
|
# @yieldparam err [StandardError] error object if request failed
|
1954
1953
|
#
|
1955
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1954
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
1956
1955
|
#
|
1957
1956
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1958
1957
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1959
1958
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1960
|
-
def
|
1961
|
-
command = make_simple_command(:
|
1962
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
1963
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
1959
|
+
def delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
1960
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1961
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
1962
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
1964
1963
|
command.params['name'] = name unless name.nil?
|
1965
1964
|
command.query['fields'] = fields unless fields.nil?
|
1966
1965
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1967
1966
|
execute_or_queue_command(command, &block)
|
1968
1967
|
end
|
1969
1968
|
|
1970
|
-
# Gets
|
1971
|
-
#
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1975
|
-
# appropriate value for this field.
|
1976
|
-
# @param [Fixnum] options_requested_policy_version
|
1977
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
1978
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1979
|
-
# rejected. Requests for policies with any conditional role bindings must
|
1980
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
1981
|
-
# valid value or leave the field unset. The policy in the response might use the
|
1982
|
-
# policy version that you specified, or it might use a lower policy version. For
|
1983
|
-
# example, if you specify version 3, but the policy has no conditional role
|
1984
|
-
# bindings, the response uses version 1. To learn which resources support
|
1985
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1986
|
-
# google.com/iam/help/conditions/resource-policies).
|
1969
|
+
# Gets details of a single GatewaySecurityPolicyRule.
|
1970
|
+
# @param [String] name
|
1971
|
+
# Required. The name of the GatewaySecurityPolicyRule to retrieve. Format:
|
1972
|
+
# projects/`project`/location/`location`/gatewaySecurityPolicies/*/rules/*
|
1987
1973
|
# @param [String] fields
|
1988
1974
|
# Selector specifying which fields to include in a partial response.
|
1989
1975
|
# @param [String] quota_user
|
@@ -1993,35 +1979,37 @@ module Google
|
|
1993
1979
|
# Request-specific options
|
1994
1980
|
#
|
1995
1981
|
# @yield [result, err] Result & error if block supplied
|
1996
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
1982
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] parsed result object
|
1997
1983
|
# @yieldparam err [StandardError] error object if request failed
|
1998
1984
|
#
|
1999
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
1985
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule]
|
2000
1986
|
#
|
2001
1987
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2002
1988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2003
1989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2004
|
-
def
|
2005
|
-
command = make_simple_command(:get, 'v1beta1/{+
|
2006
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2007
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
2008
|
-
command.params['
|
2009
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1990
|
+
def get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
1991
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1992
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
1993
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule
|
1994
|
+
command.params['name'] = name unless name.nil?
|
2010
1995
|
command.query['fields'] = fields unless fields.nil?
|
2011
1996
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2012
1997
|
execute_or_queue_command(command, &block)
|
2013
1998
|
end
|
2014
1999
|
|
2015
|
-
# Lists
|
2000
|
+
# Lists GatewaySecurityPolicyRules in a given project and location.
|
2016
2001
|
# @param [String] parent
|
2017
|
-
# Required. The project and
|
2018
|
-
# listed, specified in the format `projects
|
2002
|
+
# Required. The project, location and GatewaySecurityPolicy from which the
|
2003
|
+
# GatewaySecurityPolicyRules should be listed, specified in the format `projects/
|
2004
|
+
# `project`/locations/`location`/gatewaySecurityPolicies/`gatewaySecurityPolicy``
|
2005
|
+
# .
|
2019
2006
|
# @param [Fixnum] page_size
|
2020
|
-
# Maximum number of
|
2007
|
+
# Maximum number of GatewaySecurityPolicyRules to return per call.
|
2021
2008
|
# @param [String] page_token
|
2022
|
-
# The value returned by the last
|
2023
|
-
# this is a continuation of a prior
|
2024
|
-
#
|
2009
|
+
# The value returned by the last 'ListGatewaySecurityPolicyRulesResponse'
|
2010
|
+
# Indicates that this is a continuation of a prior '
|
2011
|
+
# ListGatewaySecurityPolicyRules' call, and that the system should return the
|
2012
|
+
# next page of data.
|
2025
2013
|
# @param [String] fields
|
2026
2014
|
# Selector specifying which fields to include in a partial response.
|
2027
2015
|
# @param [String] quota_user
|
@@ -2031,18 +2019,18 @@ module Google
|
|
2031
2019
|
# Request-specific options
|
2032
2020
|
#
|
2033
2021
|
# @yield [result, err] Result & error if block supplied
|
2034
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
2022
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse] parsed result object
|
2035
2023
|
# @yieldparam err [StandardError] error object if request failed
|
2036
2024
|
#
|
2037
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
2025
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse]
|
2038
2026
|
#
|
2039
2027
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2040
2028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2041
2029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2042
|
-
def
|
2043
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/
|
2044
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2045
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
2030
|
+
def list_project_location_gateway_security_policy_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2031
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/rules', options)
|
2032
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse::Representation
|
2033
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse
|
2046
2034
|
command.params['parent'] = parent unless parent.nil?
|
2047
2035
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2048
2036
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -2051,14 +2039,16 @@ module Google
|
|
2051
2039
|
execute_or_queue_command(command, &block)
|
2052
2040
|
end
|
2053
2041
|
|
2054
|
-
# Updates the parameters of a single
|
2042
|
+
# Updates the parameters of a single GatewaySecurityPolicyRule.
|
2055
2043
|
# @param [String] name
|
2056
|
-
# Required. Name of the
|
2057
|
-
# projects
|
2058
|
-
#
|
2044
|
+
# Required. Immutable. Name of the resource. ame is the full resource name so
|
2045
|
+
# projects/`project`/locations/`location`/gatewaySecurityPolicies/`
|
2046
|
+
# gateway_security_policy`/rules/`rule` rule should match the pattern: (^[a-z]([
|
2047
|
+
# a-z0-9-]`0,61`[a-z0-9])?$).
|
2048
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule] gateway_security_policy_rule_object
|
2059
2049
|
# @param [String] update_mask
|
2060
2050
|
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2061
|
-
#
|
2051
|
+
# GatewaySecurityPolicy resource by the update. The fields specified in the
|
2062
2052
|
# update_mask are relative to the resource, not the full request. A field will
|
2063
2053
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2064
2054
|
# all fields will be overwritten.
|
@@ -2079,10 +2069,10 @@ module Google
|
|
2079
2069
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2080
2070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2081
2071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2082
|
-
def
|
2072
|
+
def patch_project_location_gateway_security_policy_rule(name, gateway_security_policy_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2083
2073
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2084
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2085
|
-
command.request_object =
|
2074
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation
|
2075
|
+
command.request_object = gateway_security_policy_rule_object
|
2086
2076
|
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2087
2077
|
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2088
2078
|
command.params['name'] = name unless name.nil?
|
@@ -2092,14 +2082,17 @@ module Google
|
|
2092
2082
|
execute_or_queue_command(command, &block)
|
2093
2083
|
end
|
2094
2084
|
|
2095
|
-
#
|
2096
|
-
#
|
2097
|
-
#
|
2098
|
-
#
|
2099
|
-
#
|
2100
|
-
#
|
2101
|
-
#
|
2102
|
-
#
|
2085
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2086
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2087
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
2088
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
2089
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
2090
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2091
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
2092
|
+
# corresponding to `Code.CANCELLED`.
|
2093
|
+
# @param [String] name
|
2094
|
+
# The name of the operation resource to be cancelled.
|
2095
|
+
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|
2103
2096
|
# @param [String] fields
|
2104
2097
|
# Selector specifying which fields to include in a partial response.
|
2105
2098
|
# @param [String] quota_user
|
@@ -2109,36 +2102,32 @@ module Google
|
|
2109
2102
|
# Request-specific options
|
2110
2103
|
#
|
2111
2104
|
# @yield [result, err] Result & error if block supplied
|
2112
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
2105
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Empty] parsed result object
|
2113
2106
|
# @yieldparam err [StandardError] error object if request failed
|
2114
2107
|
#
|
2115
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
2108
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Empty]
|
2116
2109
|
#
|
2117
2110
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2118
2111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2119
2112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2120
|
-
def
|
2121
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
2122
|
-
command.request_representation = Google::Apis::NetworksecurityV1beta1::
|
2123
|
-
command.request_object =
|
2124
|
-
command.response_representation = Google::Apis::NetworksecurityV1beta1::
|
2125
|
-
command.response_class = Google::Apis::NetworksecurityV1beta1::
|
2126
|
-
command.params['
|
2113
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2114
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
2115
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::CancelOperationRequest::Representation
|
2116
|
+
command.request_object = cancel_operation_request_object
|
2117
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation
|
2118
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Empty
|
2119
|
+
command.params['name'] = name unless name.nil?
|
2127
2120
|
command.query['fields'] = fields unless fields.nil?
|
2128
2121
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2129
2122
|
execute_or_queue_command(command, &block)
|
2130
2123
|
end
|
2131
2124
|
|
2132
|
-
#
|
2133
|
-
#
|
2134
|
-
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2139
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2140
|
-
# appropriate value for this field.
|
2141
|
-
# @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2125
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
2126
|
+
# longer interested in the operation result. It does not cancel the operation.
|
2127
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
2128
|
+
# UNIMPLEMENTED`.
|
2129
|
+
# @param [String] name
|
2130
|
+
# The name of the operation resource to be deleted.
|
2142
2131
|
# @param [String] fields
|
2143
2132
|
# Selector specifying which fields to include in a partial response.
|
2144
2133
|
# @param [String] quota_user
|
@@ -2148,21 +2137,764 @@ module Google
|
|
2148
2137
|
# Request-specific options
|
2149
2138
|
#
|
2150
2139
|
# @yield [result, err] Result & error if block supplied
|
2151
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::
|
2140
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Empty] parsed result object
|
2152
2141
|
# @yieldparam err [StandardError] error object if request failed
|
2153
2142
|
#
|
2154
|
-
# @return [Google::Apis::NetworksecurityV1beta1::
|
2143
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Empty]
|
2155
2144
|
#
|
2156
2145
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2157
2146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2158
2147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2159
|
-
def
|
2160
|
-
command = make_simple_command(:
|
2161
|
-
command.
|
2162
|
-
command.
|
2163
|
-
command.
|
2164
|
-
command.
|
2165
|
-
command.
|
2148
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2149
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2150
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation
|
2151
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Empty
|
2152
|
+
command.params['name'] = name unless name.nil?
|
2153
|
+
command.query['fields'] = fields unless fields.nil?
|
2154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2155
|
+
execute_or_queue_command(command, &block)
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
2159
|
+
# to poll the operation result at intervals as recommended by the API service.
|
2160
|
+
# @param [String] name
|
2161
|
+
# The name of the operation resource.
|
2162
|
+
# @param [String] fields
|
2163
|
+
# Selector specifying which fields to include in a partial response.
|
2164
|
+
# @param [String] quota_user
|
2165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2167
|
+
# @param [Google::Apis::RequestOptions] options
|
2168
|
+
# Request-specific options
|
2169
|
+
#
|
2170
|
+
# @yield [result, err] Result & error if block supplied
|
2171
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2172
|
+
# @yieldparam err [StandardError] error object if request failed
|
2173
|
+
#
|
2174
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2175
|
+
#
|
2176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2180
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2181
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2182
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2183
|
+
command.params['name'] = name unless name.nil?
|
2184
|
+
command.query['fields'] = fields unless fields.nil?
|
2185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2186
|
+
execute_or_queue_command(command, &block)
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
# Lists operations that match the specified filter in the request. If the server
|
2190
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2191
|
+
# @param [String] name
|
2192
|
+
# The name of the operation's parent resource.
|
2193
|
+
# @param [String] filter
|
2194
|
+
# The standard list filter.
|
2195
|
+
# @param [Fixnum] page_size
|
2196
|
+
# The standard list page size.
|
2197
|
+
# @param [String] page_token
|
2198
|
+
# The standard list page token.
|
2199
|
+
# @param [String] fields
|
2200
|
+
# Selector specifying which fields to include in a partial response.
|
2201
|
+
# @param [String] quota_user
|
2202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2204
|
+
# @param [Google::Apis::RequestOptions] options
|
2205
|
+
# Request-specific options
|
2206
|
+
#
|
2207
|
+
# @yield [result, err] Result & error if block supplied
|
2208
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListOperationsResponse] parsed result object
|
2209
|
+
# @yieldparam err [StandardError] error object if request failed
|
2210
|
+
#
|
2211
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListOperationsResponse]
|
2212
|
+
#
|
2213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2216
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2217
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
2218
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation
|
2219
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
|
2220
|
+
command.params['name'] = name unless name.nil?
|
2221
|
+
command.query['filter'] = filter unless filter.nil?
|
2222
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2223
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2224
|
+
command.query['fields'] = fields unless fields.nil?
|
2225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2226
|
+
execute_or_queue_command(command, &block)
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
# Creates a new ServerTlsPolicy in a given project and location.
|
2230
|
+
# @param [String] parent
|
2231
|
+
# Required. The parent resource of the ServerTlsPolicy. Must be in the format `
|
2232
|
+
# projects/*/locations/`location``.
|
2233
|
+
# @param [Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy] server_tls_policy_object
|
2234
|
+
# @param [String] server_tls_policy_id
|
2235
|
+
# Required. Short name of the ServerTlsPolicy resource to be created. This value
|
2236
|
+
# should be 1-63 characters long, containing only letters, numbers, hyphens, and
|
2237
|
+
# underscores, and should not start with a number. E.g. "server_mtls_policy".
|
2238
|
+
# @param [String] fields
|
2239
|
+
# Selector specifying which fields to include in a partial response.
|
2240
|
+
# @param [String] quota_user
|
2241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2243
|
+
# @param [Google::Apis::RequestOptions] options
|
2244
|
+
# Request-specific options
|
2245
|
+
#
|
2246
|
+
# @yield [result, err] Result & error if block supplied
|
2247
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2248
|
+
# @yieldparam err [StandardError] error object if request failed
|
2249
|
+
#
|
2250
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2251
|
+
#
|
2252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2255
|
+
def create_project_location_server_tls_policy(parent, server_tls_policy_object = nil, server_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2256
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/serverTlsPolicies', options)
|
2257
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation
|
2258
|
+
command.request_object = server_tls_policy_object
|
2259
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2260
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2261
|
+
command.params['parent'] = parent unless parent.nil?
|
2262
|
+
command.query['serverTlsPolicyId'] = server_tls_policy_id unless server_tls_policy_id.nil?
|
2263
|
+
command.query['fields'] = fields unless fields.nil?
|
2264
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2265
|
+
execute_or_queue_command(command, &block)
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# Deletes a single ServerTlsPolicy.
|
2269
|
+
# @param [String] name
|
2270
|
+
# Required. A name of the ServerTlsPolicy to delete. Must be in the format `
|
2271
|
+
# projects/*/locations/`location`/serverTlsPolicies/*`.
|
2272
|
+
# @param [String] fields
|
2273
|
+
# Selector specifying which fields to include in a partial response.
|
2274
|
+
# @param [String] quota_user
|
2275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2277
|
+
# @param [Google::Apis::RequestOptions] options
|
2278
|
+
# Request-specific options
|
2279
|
+
#
|
2280
|
+
# @yield [result, err] Result & error if block supplied
|
2281
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2282
|
+
# @yieldparam err [StandardError] error object if request failed
|
2283
|
+
#
|
2284
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2285
|
+
#
|
2286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2289
|
+
def delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2290
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2291
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2292
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2293
|
+
command.params['name'] = name unless name.nil?
|
2294
|
+
command.query['fields'] = fields unless fields.nil?
|
2295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2296
|
+
execute_or_queue_command(command, &block)
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
# Gets details of a single ServerTlsPolicy.
|
2300
|
+
# @param [String] name
|
2301
|
+
# Required. A name of the ServerTlsPolicy to get. Must be in the format `
|
2302
|
+
# projects/*/locations/`location`/serverTlsPolicies/*`.
|
2303
|
+
# @param [String] fields
|
2304
|
+
# Selector specifying which fields to include in a partial response.
|
2305
|
+
# @param [String] quota_user
|
2306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2308
|
+
# @param [Google::Apis::RequestOptions] options
|
2309
|
+
# Request-specific options
|
2310
|
+
#
|
2311
|
+
# @yield [result, err] Result & error if block supplied
|
2312
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy] parsed result object
|
2313
|
+
# @yieldparam err [StandardError] error object if request failed
|
2314
|
+
#
|
2315
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy]
|
2316
|
+
#
|
2317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2320
|
+
def get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2321
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2322
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation
|
2323
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy
|
2324
|
+
command.params['name'] = name unless name.nil?
|
2325
|
+
command.query['fields'] = fields unless fields.nil?
|
2326
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2327
|
+
execute_or_queue_command(command, &block)
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2331
|
+
# resource exists and does not have a policy set.
|
2332
|
+
# @param [String] resource
|
2333
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2334
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2335
|
+
# appropriate value for this field.
|
2336
|
+
# @param [Fixnum] options_requested_policy_version
|
2337
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2338
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2339
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2340
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2341
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2342
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2343
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2344
|
+
# bindings, the response uses version 1. To learn which resources support
|
2345
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2346
|
+
# google.com/iam/help/conditions/resource-policies).
|
2347
|
+
# @param [String] fields
|
2348
|
+
# Selector specifying which fields to include in a partial response.
|
2349
|
+
# @param [String] quota_user
|
2350
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2351
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2352
|
+
# @param [Google::Apis::RequestOptions] options
|
2353
|
+
# Request-specific options
|
2354
|
+
#
|
2355
|
+
# @yield [result, err] Result & error if block supplied
|
2356
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
|
2357
|
+
# @yieldparam err [StandardError] error object if request failed
|
2358
|
+
#
|
2359
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
|
2360
|
+
#
|
2361
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2362
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2363
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2364
|
+
def get_project_location_server_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2365
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
2366
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
2367
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
|
2368
|
+
command.params['resource'] = resource unless resource.nil?
|
2369
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2370
|
+
command.query['fields'] = fields unless fields.nil?
|
2371
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2372
|
+
execute_or_queue_command(command, &block)
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
# Lists ServerTlsPolicies in a given project and location.
|
2376
|
+
# @param [String] parent
|
2377
|
+
# Required. The project and location from which the ServerTlsPolicies should be
|
2378
|
+
# listed, specified in the format `projects/*/locations/`location``.
|
2379
|
+
# @param [Fixnum] page_size
|
2380
|
+
# Maximum number of ServerTlsPolicies to return per call.
|
2381
|
+
# @param [String] page_token
|
2382
|
+
# The value returned by the last `ListServerTlsPoliciesResponse` Indicates that
|
2383
|
+
# this is a continuation of a prior `ListServerTlsPolicies` call, and that the
|
2384
|
+
# system should return the next page of data.
|
2385
|
+
# @param [String] fields
|
2386
|
+
# Selector specifying which fields to include in a partial response.
|
2387
|
+
# @param [String] quota_user
|
2388
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2389
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2390
|
+
# @param [Google::Apis::RequestOptions] options
|
2391
|
+
# Request-specific options
|
2392
|
+
#
|
2393
|
+
# @yield [result, err] Result & error if block supplied
|
2394
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse] parsed result object
|
2395
|
+
# @yieldparam err [StandardError] error object if request failed
|
2396
|
+
#
|
2397
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse]
|
2398
|
+
#
|
2399
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2400
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2401
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2402
|
+
def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2403
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/serverTlsPolicies', options)
|
2404
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse::Representation
|
2405
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse
|
2406
|
+
command.params['parent'] = parent unless parent.nil?
|
2407
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2408
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2409
|
+
command.query['fields'] = fields unless fields.nil?
|
2410
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2411
|
+
execute_or_queue_command(command, &block)
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
# Updates the parameters of a single ServerTlsPolicy.
|
2415
|
+
# @param [String] name
|
2416
|
+
# Required. Name of the ServerTlsPolicy resource. It matches the pattern `
|
2417
|
+
# projects/*/locations/`location`/serverTlsPolicies/`server_tls_policy``
|
2418
|
+
# @param [Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy] server_tls_policy_object
|
2419
|
+
# @param [String] update_mask
|
2420
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2421
|
+
# ServerTlsPolicy resource by the update. The fields specified in the
|
2422
|
+
# update_mask are relative to the resource, not the full request. A field will
|
2423
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2424
|
+
# all fields will be overwritten.
|
2425
|
+
# @param [String] fields
|
2426
|
+
# Selector specifying which fields to include in a partial response.
|
2427
|
+
# @param [String] quota_user
|
2428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2430
|
+
# @param [Google::Apis::RequestOptions] options
|
2431
|
+
# Request-specific options
|
2432
|
+
#
|
2433
|
+
# @yield [result, err] Result & error if block supplied
|
2434
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2435
|
+
# @yieldparam err [StandardError] error object if request failed
|
2436
|
+
#
|
2437
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2438
|
+
#
|
2439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2442
|
+
def patch_project_location_server_tls_policy(name, server_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2443
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2444
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation
|
2445
|
+
command.request_object = server_tls_policy_object
|
2446
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2447
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2448
|
+
command.params['name'] = name unless name.nil?
|
2449
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2450
|
+
command.query['fields'] = fields unless fields.nil?
|
2451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2452
|
+
execute_or_queue_command(command, &block)
|
2453
|
+
end
|
2454
|
+
|
2455
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2456
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2457
|
+
# PERMISSION_DENIED` errors.
|
2458
|
+
# @param [String] resource
|
2459
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2460
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2461
|
+
# appropriate value for this field.
|
2462
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2463
|
+
# @param [String] fields
|
2464
|
+
# Selector specifying which fields to include in a partial response.
|
2465
|
+
# @param [String] quota_user
|
2466
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2467
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2468
|
+
# @param [Google::Apis::RequestOptions] options
|
2469
|
+
# Request-specific options
|
2470
|
+
#
|
2471
|
+
# @yield [result, err] Result & error if block supplied
|
2472
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy] parsed result object
|
2473
|
+
# @yieldparam err [StandardError] error object if request failed
|
2474
|
+
#
|
2475
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
|
2476
|
+
#
|
2477
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2478
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2479
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2480
|
+
def set_project_location_server_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2481
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
2482
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
2483
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2484
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation
|
2485
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy
|
2486
|
+
command.params['resource'] = resource unless resource.nil?
|
2487
|
+
command.query['fields'] = fields unless fields.nil?
|
2488
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2489
|
+
execute_or_queue_command(command, &block)
|
2490
|
+
end
|
2491
|
+
|
2492
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2493
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2494
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2495
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2496
|
+
# This operation may "fail open" without warning.
|
2497
|
+
# @param [String] resource
|
2498
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2499
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2500
|
+
# appropriate value for this field.
|
2501
|
+
# @param [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2502
|
+
# @param [String] fields
|
2503
|
+
# Selector specifying which fields to include in a partial response.
|
2504
|
+
# @param [String] quota_user
|
2505
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2506
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2507
|
+
# @param [Google::Apis::RequestOptions] options
|
2508
|
+
# Request-specific options
|
2509
|
+
#
|
2510
|
+
# @yield [result, err] Result & error if block supplied
|
2511
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2512
|
+
# @yieldparam err [StandardError] error object if request failed
|
2513
|
+
#
|
2514
|
+
# @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
2515
|
+
#
|
2516
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2517
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2518
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2519
|
+
def test_project_location_server_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2520
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
2521
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2522
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2523
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2524
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse
|
2525
|
+
command.params['resource'] = resource unless resource.nil?
|
2526
|
+
command.query['fields'] = fields unless fields.nil?
|
2527
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2528
|
+
execute_or_queue_command(command, &block)
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
# Creates a new TlsInspectionPolicy in a given project and location.
|
2532
|
+
# @param [String] parent
|
2533
|
+
# Required. The parent resource of the TlsInspectionPolicy. Must be in the
|
2534
|
+
# format `projects/`project`/locations/`location``.
|
2535
|
+
# @param [Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy] tls_inspection_policy_object
|
2536
|
+
# @param [String] tls_inspection_policy_id
|
2537
|
+
# Required. Short name of the TlsInspectionPolicy resource to be created. This
|
2538
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
2539
|
+
# hyphens, and underscores, and should not start with a number. E.g. "
|
2540
|
+
# tls_inspection_policy1".
|
2541
|
+
# @param [String] fields
|
2542
|
+
# Selector specifying which fields to include in a partial response.
|
2543
|
+
# @param [String] quota_user
|
2544
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2545
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2546
|
+
# @param [Google::Apis::RequestOptions] options
|
2547
|
+
# Request-specific options
|
2548
|
+
#
|
2549
|
+
# @yield [result, err] Result & error if block supplied
|
2550
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2551
|
+
# @yieldparam err [StandardError] error object if request failed
|
2552
|
+
#
|
2553
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2554
|
+
#
|
2555
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2556
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2557
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2558
|
+
def create_project_location_tls_inspection_policy(parent, tls_inspection_policy_object = nil, tls_inspection_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2559
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/tlsInspectionPolicies', options)
|
2560
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation
|
2561
|
+
command.request_object = tls_inspection_policy_object
|
2562
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2563
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2564
|
+
command.params['parent'] = parent unless parent.nil?
|
2565
|
+
command.query['tlsInspectionPolicyId'] = tls_inspection_policy_id unless tls_inspection_policy_id.nil?
|
2566
|
+
command.query['fields'] = fields unless fields.nil?
|
2567
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2568
|
+
execute_or_queue_command(command, &block)
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
# Deletes a single TlsInspectionPolicy.
|
2572
|
+
# @param [String] name
|
2573
|
+
# Required. A name of the TlsInspectionPolicy to delete. Must be in the format `
|
2574
|
+
# projects/`project`/locations/`location`/tlsInspectionPolicies/`
|
2575
|
+
# tls_inspection_policy``.
|
2576
|
+
# @param [Boolean] force
|
2577
|
+
# If set to true, any rules for this TlsInspectionPolicy will also be deleted. (
|
2578
|
+
# Otherwise, the request will only work if the TlsInspectionPolicy has no rules.)
|
2579
|
+
# @param [String] fields
|
2580
|
+
# Selector specifying which fields to include in a partial response.
|
2581
|
+
# @param [String] quota_user
|
2582
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2583
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2584
|
+
# @param [Google::Apis::RequestOptions] options
|
2585
|
+
# Request-specific options
|
2586
|
+
#
|
2587
|
+
# @yield [result, err] Result & error if block supplied
|
2588
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2589
|
+
# @yieldparam err [StandardError] error object if request failed
|
2590
|
+
#
|
2591
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2592
|
+
#
|
2593
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2594
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2595
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2596
|
+
def delete_project_location_tls_inspection_policy(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2597
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2598
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2599
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2600
|
+
command.params['name'] = name unless name.nil?
|
2601
|
+
command.query['force'] = force unless force.nil?
|
2602
|
+
command.query['fields'] = fields unless fields.nil?
|
2603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2604
|
+
execute_or_queue_command(command, &block)
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
# Gets details of a single TlsInspectionPolicy.
|
2608
|
+
# @param [String] name
|
2609
|
+
# Required. A name of the TlsInspectionPolicy to get. Must be in the format `
|
2610
|
+
# projects/`project`/locations/`location`/tlsInspectionPolicies/`
|
2611
|
+
# tls_inspection_policy``.
|
2612
|
+
# @param [String] fields
|
2613
|
+
# Selector specifying which fields to include in a partial response.
|
2614
|
+
# @param [String] quota_user
|
2615
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2616
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2617
|
+
# @param [Google::Apis::RequestOptions] options
|
2618
|
+
# Request-specific options
|
2619
|
+
#
|
2620
|
+
# @yield [result, err] Result & error if block supplied
|
2621
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy] parsed result object
|
2622
|
+
# @yieldparam err [StandardError] error object if request failed
|
2623
|
+
#
|
2624
|
+
# @return [Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy]
|
2625
|
+
#
|
2626
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2627
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2628
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2629
|
+
def get_project_location_tls_inspection_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2630
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2631
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation
|
2632
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy
|
2633
|
+
command.params['name'] = name unless name.nil?
|
2634
|
+
command.query['fields'] = fields unless fields.nil?
|
2635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2636
|
+
execute_or_queue_command(command, &block)
|
2637
|
+
end
|
2638
|
+
|
2639
|
+
# Lists TlsInspectionPolicies in a given project and location.
|
2640
|
+
# @param [String] parent
|
2641
|
+
# Required. The project and location from which the TlsInspectionPolicies should
|
2642
|
+
# be listed, specified in the format `projects/`project`/locations/`location``.
|
2643
|
+
# @param [Fixnum] page_size
|
2644
|
+
# Maximum number of TlsInspectionPolicies to return per call.
|
2645
|
+
# @param [String] page_token
|
2646
|
+
# The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates
|
2647
|
+
# that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and
|
2648
|
+
# that the system should return the next page of data.
|
2649
|
+
# @param [String] fields
|
2650
|
+
# Selector specifying which fields to include in a partial response.
|
2651
|
+
# @param [String] quota_user
|
2652
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2653
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2654
|
+
# @param [Google::Apis::RequestOptions] options
|
2655
|
+
# Request-specific options
|
2656
|
+
#
|
2657
|
+
# @yield [result, err] Result & error if block supplied
|
2658
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse] parsed result object
|
2659
|
+
# @yieldparam err [StandardError] error object if request failed
|
2660
|
+
#
|
2661
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse]
|
2662
|
+
#
|
2663
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2664
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2665
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2666
|
+
def list_project_location_tls_inspection_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2667
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/tlsInspectionPolicies', options)
|
2668
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse::Representation
|
2669
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse
|
2670
|
+
command.params['parent'] = parent unless parent.nil?
|
2671
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2672
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2673
|
+
command.query['fields'] = fields unless fields.nil?
|
2674
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2675
|
+
execute_or_queue_command(command, &block)
|
2676
|
+
end
|
2677
|
+
|
2678
|
+
# Updates the parameters of a single TlsInspectionPolicy.
|
2679
|
+
# @param [String] name
|
2680
|
+
# Required. Name of the resource. Name is of the form projects/`project`/
|
2681
|
+
# locations/`location`/tlsInspectionPolicies/`tls_inspection_policy`
|
2682
|
+
# tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])
|
2683
|
+
# ?$).
|
2684
|
+
# @param [Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy] tls_inspection_policy_object
|
2685
|
+
# @param [String] update_mask
|
2686
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2687
|
+
# TlsInspectionPolicy resource by the update. The fields specified in the
|
2688
|
+
# update_mask are relative to the resource, not the full request. A field will
|
2689
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
2690
|
+
# all fields will be overwritten.
|
2691
|
+
# @param [String] fields
|
2692
|
+
# Selector specifying which fields to include in a partial response.
|
2693
|
+
# @param [String] quota_user
|
2694
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2695
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2696
|
+
# @param [Google::Apis::RequestOptions] options
|
2697
|
+
# Request-specific options
|
2698
|
+
#
|
2699
|
+
# @yield [result, err] Result & error if block supplied
|
2700
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2701
|
+
# @yieldparam err [StandardError] error object if request failed
|
2702
|
+
#
|
2703
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2704
|
+
#
|
2705
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2706
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2707
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2708
|
+
def patch_project_location_tls_inspection_policy(name, tls_inspection_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2709
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2710
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation
|
2711
|
+
command.request_object = tls_inspection_policy_object
|
2712
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2713
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2714
|
+
command.params['name'] = name unless name.nil?
|
2715
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2716
|
+
command.query['fields'] = fields unless fields.nil?
|
2717
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2718
|
+
execute_or_queue_command(command, &block)
|
2719
|
+
end
|
2720
|
+
|
2721
|
+
# Creates a new UrlList in a given project and location.
|
2722
|
+
# @param [String] parent
|
2723
|
+
# Required. The parent resource of the UrlList. Must be in the format `projects/*
|
2724
|
+
# /locations/`location``.
|
2725
|
+
# @param [Google::Apis::NetworksecurityV1beta1::UrlList] url_list_object
|
2726
|
+
# @param [String] url_list_id
|
2727
|
+
# Required. Short name of the UrlList resource to be created. This value should
|
2728
|
+
# be 1-63 characters long, containing only letters, numbers, hyphens, and
|
2729
|
+
# underscores, and should not start with a number. E.g. "url_list".
|
2730
|
+
# @param [String] fields
|
2731
|
+
# Selector specifying which fields to include in a partial response.
|
2732
|
+
# @param [String] quota_user
|
2733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2735
|
+
# @param [Google::Apis::RequestOptions] options
|
2736
|
+
# Request-specific options
|
2737
|
+
#
|
2738
|
+
# @yield [result, err] Result & error if block supplied
|
2739
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2740
|
+
# @yieldparam err [StandardError] error object if request failed
|
2741
|
+
#
|
2742
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2743
|
+
#
|
2744
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2745
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2746
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2747
|
+
def create_project_location_url_list(parent, url_list_object = nil, url_list_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2748
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/urlLists', options)
|
2749
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation
|
2750
|
+
command.request_object = url_list_object
|
2751
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2752
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2753
|
+
command.params['parent'] = parent unless parent.nil?
|
2754
|
+
command.query['urlListId'] = url_list_id unless url_list_id.nil?
|
2755
|
+
command.query['fields'] = fields unless fields.nil?
|
2756
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2757
|
+
execute_or_queue_command(command, &block)
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
# Deletes a single UrlList.
|
2761
|
+
# @param [String] name
|
2762
|
+
# Required. A name of the UrlList to delete. Must be in the format `projects/*/
|
2763
|
+
# locations/`location`/urlLists/*`.
|
2764
|
+
# @param [String] fields
|
2765
|
+
# Selector specifying which fields to include in a partial response.
|
2766
|
+
# @param [String] quota_user
|
2767
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2768
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2769
|
+
# @param [Google::Apis::RequestOptions] options
|
2770
|
+
# Request-specific options
|
2771
|
+
#
|
2772
|
+
# @yield [result, err] Result & error if block supplied
|
2773
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2774
|
+
# @yieldparam err [StandardError] error object if request failed
|
2775
|
+
#
|
2776
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2777
|
+
#
|
2778
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2779
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2780
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2781
|
+
def delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block)
|
2782
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
2783
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2784
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2785
|
+
command.params['name'] = name unless name.nil?
|
2786
|
+
command.query['fields'] = fields unless fields.nil?
|
2787
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2788
|
+
execute_or_queue_command(command, &block)
|
2789
|
+
end
|
2790
|
+
|
2791
|
+
# Gets details of a single UrlList.
|
2792
|
+
# @param [String] name
|
2793
|
+
# Required. A name of the UrlList to get. Must be in the format `projects/*/
|
2794
|
+
# locations/`location`/urlLists/*`.
|
2795
|
+
# @param [String] fields
|
2796
|
+
# Selector specifying which fields to include in a partial response.
|
2797
|
+
# @param [String] quota_user
|
2798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2800
|
+
# @param [Google::Apis::RequestOptions] options
|
2801
|
+
# Request-specific options
|
2802
|
+
#
|
2803
|
+
# @yield [result, err] Result & error if block supplied
|
2804
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::UrlList] parsed result object
|
2805
|
+
# @yieldparam err [StandardError] error object if request failed
|
2806
|
+
#
|
2807
|
+
# @return [Google::Apis::NetworksecurityV1beta1::UrlList]
|
2808
|
+
#
|
2809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2812
|
+
def get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block)
|
2813
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2814
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation
|
2815
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::UrlList
|
2816
|
+
command.params['name'] = name unless name.nil?
|
2817
|
+
command.query['fields'] = fields unless fields.nil?
|
2818
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2819
|
+
execute_or_queue_command(command, &block)
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# Lists UrlLists in a given project and location.
|
2823
|
+
# @param [String] parent
|
2824
|
+
# Required. The project and location from which the UrlLists should be listed,
|
2825
|
+
# specified in the format `projects/`project`/locations/`location``.
|
2826
|
+
# @param [Fixnum] page_size
|
2827
|
+
# Maximum number of UrlLists to return per call.
|
2828
|
+
# @param [String] page_token
|
2829
|
+
# The value returned by the last `ListUrlListsResponse` Indicates that this is a
|
2830
|
+
# continuation of a prior `ListUrlLists` call, and that the system should return
|
2831
|
+
# the next page of data.
|
2832
|
+
# @param [String] fields
|
2833
|
+
# Selector specifying which fields to include in a partial response.
|
2834
|
+
# @param [String] quota_user
|
2835
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2836
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2837
|
+
# @param [Google::Apis::RequestOptions] options
|
2838
|
+
# Request-specific options
|
2839
|
+
#
|
2840
|
+
# @yield [result, err] Result & error if block supplied
|
2841
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListUrlListsResponse] parsed result object
|
2842
|
+
# @yieldparam err [StandardError] error object if request failed
|
2843
|
+
#
|
2844
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListUrlListsResponse]
|
2845
|
+
#
|
2846
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2847
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2848
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2849
|
+
def list_project_location_url_lists(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2850
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/urlLists', options)
|
2851
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListUrlListsResponse::Representation
|
2852
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListUrlListsResponse
|
2853
|
+
command.params['parent'] = parent unless parent.nil?
|
2854
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2855
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2856
|
+
command.query['fields'] = fields unless fields.nil?
|
2857
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2858
|
+
execute_or_queue_command(command, &block)
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
# Updates the parameters of a single UrlList.
|
2862
|
+
# @param [String] name
|
2863
|
+
# Required. Name of the resource provided by the user. Name is of the form
|
2864
|
+
# projects/`project`/locations/`location`/urlLists/`url_list` url_list should
|
2865
|
+
# match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
|
2866
|
+
# @param [Google::Apis::NetworksecurityV1beta1::UrlList] url_list_object
|
2867
|
+
# @param [String] update_mask
|
2868
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2869
|
+
# UrlList resource by the update. The fields specified in the update_mask are
|
2870
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
2871
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
2872
|
+
# overwritten.
|
2873
|
+
# @param [String] fields
|
2874
|
+
# Selector specifying which fields to include in a partial response.
|
2875
|
+
# @param [String] quota_user
|
2876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2878
|
+
# @param [Google::Apis::RequestOptions] options
|
2879
|
+
# Request-specific options
|
2880
|
+
#
|
2881
|
+
# @yield [result, err] Result & error if block supplied
|
2882
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
2883
|
+
# @yieldparam err [StandardError] error object if request failed
|
2884
|
+
#
|
2885
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
2886
|
+
#
|
2887
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2888
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2889
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2890
|
+
def patch_project_location_url_list(name, url_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2891
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
2892
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation
|
2893
|
+
command.request_object = url_list_object
|
2894
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
2895
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
2896
|
+
command.params['name'] = name unless name.nil?
|
2897
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2166
2898
|
command.query['fields'] = fields unless fields.nil?
|
2167
2899
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2168
2900
|
execute_or_queue_command(command, &block)
|