google-apis-networkservices_v1 0.23.0 → 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84aa76c9af77d5a4dd5fa5cbbe1ae44b396d2883e74636fc767161298280c739
|
4
|
+
data.tar.gz: 642e952e72afe3dacad8017706aacce36a727e2e3dfe5b0cad84f0d8119e07bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b418c383cf53e6785a4bed179a21226821e26de4ff394cccaddfd9705cf6a57aee7f1cfa491fe13d14422dfbc9d9deaaa2ce652594a3d3b204157a07cdaad0b4
|
7
|
+
data.tar.gz: 9aa45ed77c48ec7a1f9418b9ad7a8ac5bbfb40964f6f2e36774417e681a57e67352fb0ddccacaa49f1ec83ec58e32fb1c3a6bfff9aa89f11825214b5460a60af
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230424
|
6
|
+
|
7
|
+
### v0.24.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230404
|
10
|
+
|
3
11
|
### v0.23.0 (2023-04-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230323
|
@@ -590,19 +590,19 @@ module Google
|
|
590
590
|
# describes traffic. Format: [:] Hostname is the fully qualified domain name of
|
591
591
|
# a network host. This matches the RFC 1123 definition of a hostname with 2
|
592
592
|
# notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a
|
593
|
-
# wildcard label (
|
593
|
+
# wildcard label (`*.`). The wildcard label must appear by itself as the first
|
594
594
|
# label. Hostname can be "precise" which is a domain name without the
|
595
|
-
# terminating dot of a network host (e.g.
|
596
|
-
# which is a domain name prefixed with a single wildcard label (e.g.
|
597
|
-
# com). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
598
|
-
# alphanumeric characters or '-', and must start and end with an
|
599
|
-
# character. No other punctuation is allowed. The routes associated
|
600
|
-
# or Gateway must have unique hostnames. If you attempt to attach
|
601
|
-
# routes with conflicting hostnames, the configuration will be rejected.
|
602
|
-
# example, while it is acceptable for routes for the hostnames
|
603
|
-
# and
|
604
|
-
# associate two routes both with
|
605
|
-
# is specified, then gRPC clients must use the channel URI with the port to
|
595
|
+
# terminating dot of a network host (e.g. `foo.example.com`) or "wildcard",
|
596
|
+
# which is a domain name prefixed with a single wildcard label (e.g. `*.example.
|
597
|
+
# com`). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
598
|
+
# case alphanumeric characters or '-', and must start and end with an
|
599
|
+
# alphanumeric character. No other punctuation is allowed. The routes associated
|
600
|
+
# with a Mesh or Gateway must have unique hostnames. If you attempt to attach
|
601
|
+
# multiple routes with conflicting hostnames, the configuration will be rejected.
|
602
|
+
# For example, while it is acceptable for routes for the hostnames `*.foo.bar.
|
603
|
+
# com` and `*.bar.com` to be associated with the same route, it is not possible
|
604
|
+
# to associate two routes both with `*.bar.com` or both with `bar.com`. If a
|
605
|
+
# port is specified, then gRPC clients must use the channel URI with the port to
|
606
606
|
# match this rule (i.e. "xds:///service:123"), otherwise they must supply the
|
607
607
|
# URI without a port (i.e. "xds:///service").
|
608
608
|
# Corresponds to the JSON property `hostnames`
|
@@ -1020,19 +1020,19 @@ module Google
|
|
1020
1020
|
# host header to select a HttpRoute to process the request. Hostname is the
|
1021
1021
|
# fully qualified domain name of a network host, as defined by RFC 1123 with the
|
1022
1022
|
# exception that: - IPs are not allowed. - A hostname may be prefixed with a
|
1023
|
-
# wildcard label (
|
1023
|
+
# wildcard label (`*.`). The wildcard label must appear by itself as the first
|
1024
1024
|
# label. Hostname can be "precise" which is a domain name without the
|
1025
|
-
# terminating dot of a network host (e.g.
|
1026
|
-
# which is a domain name prefixed with a single wildcard label (e.g.
|
1027
|
-
# com). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
1028
|
-
# alphanumeric characters or '-', and must start and end with an
|
1029
|
-
# character. No other punctuation is allowed. The routes associated
|
1030
|
-
# or Gateways must have unique hostnames. If you attempt to attach
|
1031
|
-
# routes with conflicting hostnames, the configuration will be rejected.
|
1032
|
-
# example, while it is acceptable for routes for the hostnames
|
1033
|
-
# and
|
1034
|
-
# same scope), it is not possible to associate two routes both with
|
1035
|
-
# or both with
|
1025
|
+
# terminating dot of a network host (e.g. `foo.example.com`) or "wildcard",
|
1026
|
+
# which is a domain name prefixed with a single wildcard label (e.g. `*.example.
|
1027
|
+
# com`). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
1028
|
+
# case alphanumeric characters or '-', and must start and end with an
|
1029
|
+
# alphanumeric character. No other punctuation is allowed. The routes associated
|
1030
|
+
# with a Mesh or Gateways must have unique hostnames. If you attempt to attach
|
1031
|
+
# multiple routes with conflicting hostnames, the configuration will be rejected.
|
1032
|
+
# For example, while it is acceptable for routes for the hostnames `*.foo.bar.
|
1033
|
+
# com` and `*.bar.com` to be associated with the same Mesh (or Gateways under
|
1034
|
+
# the same scope), it is not possible to associate two routes both with `*.bar.
|
1035
|
+
# com` or both with `bar.com`.
|
1036
1036
|
# Corresponds to the JSON property `hostnames`
|
1037
1037
|
# @return [Array<String>]
|
1038
1038
|
attr_accessor :hostnames
|
@@ -2055,7 +2055,7 @@ module Google
|
|
2055
2055
|
end
|
2056
2056
|
end
|
2057
2057
|
|
2058
|
-
# A resource that represents Google Cloud
|
2058
|
+
# A resource that represents a Google Cloud location.
|
2059
2059
|
class Location
|
2060
2060
|
include Google::Apis::Core::Hashable
|
2061
2061
|
|
@@ -2606,13 +2606,15 @@ module Google
|
|
2606
2606
|
include Google::Apis::Core::Hashable
|
2607
2607
|
|
2608
2608
|
# Optional. The destination services to which traffic should be forwarded. At
|
2609
|
-
# least one destination service is required.
|
2609
|
+
# least one destination service is required. Only one of route destination or
|
2610
|
+
# original destination can be set.
|
2610
2611
|
# Corresponds to the JSON property `destinations`
|
2611
2612
|
# @return [Array<Google::Apis::NetworkservicesV1::TcpRouteRouteDestination>]
|
2612
2613
|
attr_accessor :destinations
|
2613
2614
|
|
2614
2615
|
# Optional. If true, Router will use the destination IP and port of the original
|
2615
|
-
# connection as the destination of the request. Default is false.
|
2616
|
+
# connection as the destination of the request. Default is false. Only one of
|
2617
|
+
# route destinations or original destination can be set.
|
2616
2618
|
# Corresponds to the JSON property `originalDestination`
|
2617
2619
|
# @return [Boolean]
|
2618
2620
|
attr_accessor :original_destination
|
@@ -2894,10 +2896,11 @@ module Google
|
|
2894
2896
|
attr_accessor :alpn
|
2895
2897
|
|
2896
2898
|
# Optional. SNI (server name indicator) to match against. SNI will be matched
|
2897
|
-
# against all wildcard domains, i.e. www.example.com will be first matched
|
2898
|
-
# against www.example.com
|
2899
|
-
# not supported, and values like *w.example.com are invalid. At
|
2900
|
-
# sni_host and alpn is required. Up to 5 sni hosts across all
|
2899
|
+
# against all wildcard domains, i.e. `www.example.com` will be first matched
|
2900
|
+
# against `www.example.com`, then `*.example.com`, then `*.com.` Partial
|
2901
|
+
# wildcards are not supported, and values like *w.example.com are invalid. At
|
2902
|
+
# least one of sni_host and alpn is required. Up to 5 sni hosts across all
|
2903
|
+
# matches can be set.
|
2901
2904
|
# Corresponds to the JSON property `sniHost`
|
2902
2905
|
# @return [Array<String>]
|
2903
2906
|
attr_accessor :sni_host
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1
|
18
18
|
# Version of the google-apis-networkservices_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230424"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1744,611 +1744,6 @@ module Google
|
|
1744
1744
|
execute_or_queue_command(command, &block)
|
1745
1745
|
end
|
1746
1746
|
|
1747
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
1748
|
-
# resource exists and does not have a policy set.
|
1749
|
-
# @param [String] resource
|
1750
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1751
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1752
|
-
# appropriate value for this field.
|
1753
|
-
# @param [Fixnum] options_requested_policy_version
|
1754
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
1755
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1756
|
-
# rejected. Requests for policies with any conditional role bindings must
|
1757
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
1758
|
-
# valid value or leave the field unset. The policy in the response might use the
|
1759
|
-
# policy version that you specified, or it might use a lower policy version. For
|
1760
|
-
# example, if you specify version 3, but the policy has no conditional role
|
1761
|
-
# bindings, the response uses version 1. To learn which resources support
|
1762
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1763
|
-
# google.com/iam/help/conditions/resource-policies).
|
1764
|
-
# @param [String] fields
|
1765
|
-
# Selector specifying which fields to include in a partial response.
|
1766
|
-
# @param [String] quota_user
|
1767
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1768
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1769
|
-
# @param [Google::Apis::RequestOptions] options
|
1770
|
-
# Request-specific options
|
1771
|
-
#
|
1772
|
-
# @yield [result, err] Result & error if block supplied
|
1773
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
1774
|
-
# @yieldparam err [StandardError] error object if request failed
|
1775
|
-
#
|
1776
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
1777
|
-
#
|
1778
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1779
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1780
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1781
|
-
def get_project_location_multicast_consumer_association_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1782
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1783
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
1784
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
1785
|
-
command.params['resource'] = resource unless resource.nil?
|
1786
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1787
|
-
command.query['fields'] = fields unless fields.nil?
|
1788
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1789
|
-
execute_or_queue_command(command, &block)
|
1790
|
-
end
|
1791
|
-
|
1792
|
-
# Sets the access control policy on the specified resource. Replaces any
|
1793
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1794
|
-
# PERMISSION_DENIED` errors.
|
1795
|
-
# @param [String] resource
|
1796
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1797
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1798
|
-
# appropriate value for this field.
|
1799
|
-
# @param [Google::Apis::NetworkservicesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1800
|
-
# @param [String] fields
|
1801
|
-
# Selector specifying which fields to include in a partial response.
|
1802
|
-
# @param [String] quota_user
|
1803
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1804
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1805
|
-
# @param [Google::Apis::RequestOptions] options
|
1806
|
-
# Request-specific options
|
1807
|
-
#
|
1808
|
-
# @yield [result, err] Result & error if block supplied
|
1809
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
1810
|
-
# @yieldparam err [StandardError] error object if request failed
|
1811
|
-
#
|
1812
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
1813
|
-
#
|
1814
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1815
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1816
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1817
|
-
def set_multicast_consumer_association_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1818
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1819
|
-
command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation
|
1820
|
-
command.request_object = set_iam_policy_request_object
|
1821
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
1822
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
1823
|
-
command.params['resource'] = resource unless resource.nil?
|
1824
|
-
command.query['fields'] = fields unless fields.nil?
|
1825
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1826
|
-
execute_or_queue_command(command, &block)
|
1827
|
-
end
|
1828
|
-
|
1829
|
-
# Returns permissions that a caller has on the specified resource. If the
|
1830
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
1831
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1832
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
1833
|
-
# This operation may "fail open" without warning.
|
1834
|
-
# @param [String] resource
|
1835
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1836
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1837
|
-
# appropriate value for this field.
|
1838
|
-
# @param [Google::Apis::NetworkservicesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1839
|
-
# @param [String] fields
|
1840
|
-
# Selector specifying which fields to include in a partial response.
|
1841
|
-
# @param [String] quota_user
|
1842
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1843
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1844
|
-
# @param [Google::Apis::RequestOptions] options
|
1845
|
-
# Request-specific options
|
1846
|
-
#
|
1847
|
-
# @yield [result, err] Result & error if block supplied
|
1848
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse] parsed result object
|
1849
|
-
# @yieldparam err [StandardError] error object if request failed
|
1850
|
-
#
|
1851
|
-
# @return [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse]
|
1852
|
-
#
|
1853
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1854
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1855
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1856
|
-
def test_multicast_consumer_association_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1857
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1858
|
-
command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation
|
1859
|
-
command.request_object = test_iam_permissions_request_object
|
1860
|
-
command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation
|
1861
|
-
command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
|
1862
|
-
command.params['resource'] = resource unless resource.nil?
|
1863
|
-
command.query['fields'] = fields unless fields.nil?
|
1864
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1865
|
-
execute_or_queue_command(command, &block)
|
1866
|
-
end
|
1867
|
-
|
1868
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
1869
|
-
# resource exists and does not have a policy set.
|
1870
|
-
# @param [String] resource
|
1871
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1872
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1873
|
-
# appropriate value for this field.
|
1874
|
-
# @param [Fixnum] options_requested_policy_version
|
1875
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
1876
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1877
|
-
# rejected. Requests for policies with any conditional role bindings must
|
1878
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
1879
|
-
# valid value or leave the field unset. The policy in the response might use the
|
1880
|
-
# policy version that you specified, or it might use a lower policy version. For
|
1881
|
-
# example, if you specify version 3, but the policy has no conditional role
|
1882
|
-
# bindings, the response uses version 1. To learn which resources support
|
1883
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1884
|
-
# google.com/iam/help/conditions/resource-policies).
|
1885
|
-
# @param [String] fields
|
1886
|
-
# Selector specifying which fields to include in a partial response.
|
1887
|
-
# @param [String] quota_user
|
1888
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1889
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1890
|
-
# @param [Google::Apis::RequestOptions] options
|
1891
|
-
# Request-specific options
|
1892
|
-
#
|
1893
|
-
# @yield [result, err] Result & error if block supplied
|
1894
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
1895
|
-
# @yieldparam err [StandardError] error object if request failed
|
1896
|
-
#
|
1897
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
1898
|
-
#
|
1899
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1900
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1901
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1902
|
-
def get_project_location_multicast_domain_activation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1903
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1904
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
1905
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
1906
|
-
command.params['resource'] = resource unless resource.nil?
|
1907
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1908
|
-
command.query['fields'] = fields unless fields.nil?
|
1909
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1910
|
-
execute_or_queue_command(command, &block)
|
1911
|
-
end
|
1912
|
-
|
1913
|
-
# Sets the access control policy on the specified resource. Replaces any
|
1914
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1915
|
-
# PERMISSION_DENIED` errors.
|
1916
|
-
# @param [String] resource
|
1917
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1918
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1919
|
-
# appropriate value for this field.
|
1920
|
-
# @param [Google::Apis::NetworkservicesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1921
|
-
# @param [String] fields
|
1922
|
-
# Selector specifying which fields to include in a partial response.
|
1923
|
-
# @param [String] quota_user
|
1924
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1925
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1926
|
-
# @param [Google::Apis::RequestOptions] options
|
1927
|
-
# Request-specific options
|
1928
|
-
#
|
1929
|
-
# @yield [result, err] Result & error if block supplied
|
1930
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
1931
|
-
# @yieldparam err [StandardError] error object if request failed
|
1932
|
-
#
|
1933
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
1934
|
-
#
|
1935
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1936
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1937
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1938
|
-
def set_multicast_domain_activation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1939
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1940
|
-
command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation
|
1941
|
-
command.request_object = set_iam_policy_request_object
|
1942
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
1943
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
1944
|
-
command.params['resource'] = resource unless resource.nil?
|
1945
|
-
command.query['fields'] = fields unless fields.nil?
|
1946
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1947
|
-
execute_or_queue_command(command, &block)
|
1948
|
-
end
|
1949
|
-
|
1950
|
-
# Returns permissions that a caller has on the specified resource. If the
|
1951
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
1952
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1953
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
1954
|
-
# This operation may "fail open" without warning.
|
1955
|
-
# @param [String] resource
|
1956
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1957
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1958
|
-
# appropriate value for this field.
|
1959
|
-
# @param [Google::Apis::NetworkservicesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1960
|
-
# @param [String] fields
|
1961
|
-
# Selector specifying which fields to include in a partial response.
|
1962
|
-
# @param [String] quota_user
|
1963
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1964
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1965
|
-
# @param [Google::Apis::RequestOptions] options
|
1966
|
-
# Request-specific options
|
1967
|
-
#
|
1968
|
-
# @yield [result, err] Result & error if block supplied
|
1969
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse] parsed result object
|
1970
|
-
# @yieldparam err [StandardError] error object if request failed
|
1971
|
-
#
|
1972
|
-
# @return [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse]
|
1973
|
-
#
|
1974
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1975
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1976
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1977
|
-
def test_multicast_domain_activation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1978
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1979
|
-
command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation
|
1980
|
-
command.request_object = test_iam_permissions_request_object
|
1981
|
-
command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation
|
1982
|
-
command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
|
1983
|
-
command.params['resource'] = resource unless resource.nil?
|
1984
|
-
command.query['fields'] = fields unless fields.nil?
|
1985
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1986
|
-
execute_or_queue_command(command, &block)
|
1987
|
-
end
|
1988
|
-
|
1989
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
1990
|
-
# resource exists and does not have a policy set.
|
1991
|
-
# @param [String] resource
|
1992
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1993
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1994
|
-
# appropriate value for this field.
|
1995
|
-
# @param [Fixnum] options_requested_policy_version
|
1996
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
1997
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1998
|
-
# rejected. Requests for policies with any conditional role bindings must
|
1999
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
2000
|
-
# valid value or leave the field unset. The policy in the response might use the
|
2001
|
-
# policy version that you specified, or it might use a lower policy version. For
|
2002
|
-
# example, if you specify version 3, but the policy has no conditional role
|
2003
|
-
# bindings, the response uses version 1. To learn which resources support
|
2004
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2005
|
-
# google.com/iam/help/conditions/resource-policies).
|
2006
|
-
# @param [String] fields
|
2007
|
-
# Selector specifying which fields to include in a partial response.
|
2008
|
-
# @param [String] quota_user
|
2009
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2010
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2011
|
-
# @param [Google::Apis::RequestOptions] options
|
2012
|
-
# Request-specific options
|
2013
|
-
#
|
2014
|
-
# @yield [result, err] Result & error if block supplied
|
2015
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2016
|
-
# @yieldparam err [StandardError] error object if request failed
|
2017
|
-
#
|
2018
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2019
|
-
#
|
2020
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2021
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2022
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2023
|
-
def get_project_location_multicast_domain_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2024
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2025
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2026
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2027
|
-
command.params['resource'] = resource unless resource.nil?
|
2028
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2029
|
-
command.query['fields'] = fields unless fields.nil?
|
2030
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2031
|
-
execute_or_queue_command(command, &block)
|
2032
|
-
end
|
2033
|
-
|
2034
|
-
# Sets the access control policy on the specified resource. Replaces any
|
2035
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2036
|
-
# PERMISSION_DENIED` errors.
|
2037
|
-
# @param [String] resource
|
2038
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2039
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2040
|
-
# appropriate value for this field.
|
2041
|
-
# @param [Google::Apis::NetworkservicesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2042
|
-
# @param [String] fields
|
2043
|
-
# Selector specifying which fields to include in a partial response.
|
2044
|
-
# @param [String] quota_user
|
2045
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2046
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2047
|
-
# @param [Google::Apis::RequestOptions] options
|
2048
|
-
# Request-specific options
|
2049
|
-
#
|
2050
|
-
# @yield [result, err] Result & error if block supplied
|
2051
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2052
|
-
# @yieldparam err [StandardError] error object if request failed
|
2053
|
-
#
|
2054
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2055
|
-
#
|
2056
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2057
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2058
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2059
|
-
def set_multicast_domain_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2060
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2061
|
-
command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation
|
2062
|
-
command.request_object = set_iam_policy_request_object
|
2063
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2064
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2065
|
-
command.params['resource'] = resource unless resource.nil?
|
2066
|
-
command.query['fields'] = fields unless fields.nil?
|
2067
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2068
|
-
execute_or_queue_command(command, &block)
|
2069
|
-
end
|
2070
|
-
|
2071
|
-
# Returns permissions that a caller has on the specified resource. If the
|
2072
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
2073
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2074
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
2075
|
-
# This operation may "fail open" without warning.
|
2076
|
-
# @param [String] resource
|
2077
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2078
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2079
|
-
# appropriate value for this field.
|
2080
|
-
# @param [Google::Apis::NetworkservicesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2081
|
-
# @param [String] fields
|
2082
|
-
# Selector specifying which fields to include in a partial response.
|
2083
|
-
# @param [String] quota_user
|
2084
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2085
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2086
|
-
# @param [Google::Apis::RequestOptions] options
|
2087
|
-
# Request-specific options
|
2088
|
-
#
|
2089
|
-
# @yield [result, err] Result & error if block supplied
|
2090
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse] parsed result object
|
2091
|
-
# @yieldparam err [StandardError] error object if request failed
|
2092
|
-
#
|
2093
|
-
# @return [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse]
|
2094
|
-
#
|
2095
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2096
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2097
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2098
|
-
def test_multicast_domain_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2099
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2100
|
-
command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation
|
2101
|
-
command.request_object = test_iam_permissions_request_object
|
2102
|
-
command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation
|
2103
|
-
command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
|
2104
|
-
command.params['resource'] = resource unless resource.nil?
|
2105
|
-
command.query['fields'] = fields unless fields.nil?
|
2106
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2107
|
-
execute_or_queue_command(command, &block)
|
2108
|
-
end
|
2109
|
-
|
2110
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
2111
|
-
# resource exists and does not have a policy set.
|
2112
|
-
# @param [String] resource
|
2113
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2114
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2115
|
-
# appropriate value for this field.
|
2116
|
-
# @param [Fixnum] options_requested_policy_version
|
2117
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
2118
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2119
|
-
# rejected. Requests for policies with any conditional role bindings must
|
2120
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
2121
|
-
# valid value or leave the field unset. The policy in the response might use the
|
2122
|
-
# policy version that you specified, or it might use a lower policy version. For
|
2123
|
-
# example, if you specify version 3, but the policy has no conditional role
|
2124
|
-
# bindings, the response uses version 1. To learn which resources support
|
2125
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2126
|
-
# google.com/iam/help/conditions/resource-policies).
|
2127
|
-
# @param [String] fields
|
2128
|
-
# Selector specifying which fields to include in a partial response.
|
2129
|
-
# @param [String] quota_user
|
2130
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2131
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2132
|
-
# @param [Google::Apis::RequestOptions] options
|
2133
|
-
# Request-specific options
|
2134
|
-
#
|
2135
|
-
# @yield [result, err] Result & error if block supplied
|
2136
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2137
|
-
# @yieldparam err [StandardError] error object if request failed
|
2138
|
-
#
|
2139
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2140
|
-
#
|
2141
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2142
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2143
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2144
|
-
def get_project_location_multicast_group_definition_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2145
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2146
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2147
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2148
|
-
command.params['resource'] = resource unless resource.nil?
|
2149
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2150
|
-
command.query['fields'] = fields unless fields.nil?
|
2151
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2152
|
-
execute_or_queue_command(command, &block)
|
2153
|
-
end
|
2154
|
-
|
2155
|
-
# Sets the access control policy on the specified resource. Replaces any
|
2156
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2157
|
-
# PERMISSION_DENIED` errors.
|
2158
|
-
# @param [String] resource
|
2159
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2160
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2161
|
-
# appropriate value for this field.
|
2162
|
-
# @param [Google::Apis::NetworkservicesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2163
|
-
# @param [String] fields
|
2164
|
-
# Selector specifying which fields to include in a partial response.
|
2165
|
-
# @param [String] quota_user
|
2166
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2167
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2168
|
-
# @param [Google::Apis::RequestOptions] options
|
2169
|
-
# Request-specific options
|
2170
|
-
#
|
2171
|
-
# @yield [result, err] Result & error if block supplied
|
2172
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2173
|
-
# @yieldparam err [StandardError] error object if request failed
|
2174
|
-
#
|
2175
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2176
|
-
#
|
2177
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2178
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2179
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2180
|
-
def set_multicast_group_definition_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2181
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2182
|
-
command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation
|
2183
|
-
command.request_object = set_iam_policy_request_object
|
2184
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2185
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2186
|
-
command.params['resource'] = resource unless resource.nil?
|
2187
|
-
command.query['fields'] = fields unless fields.nil?
|
2188
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2189
|
-
execute_or_queue_command(command, &block)
|
2190
|
-
end
|
2191
|
-
|
2192
|
-
# Returns permissions that a caller has on the specified resource. If the
|
2193
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
2194
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2195
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
2196
|
-
# This operation may "fail open" without warning.
|
2197
|
-
# @param [String] resource
|
2198
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2199
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2200
|
-
# appropriate value for this field.
|
2201
|
-
# @param [Google::Apis::NetworkservicesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2202
|
-
# @param [String] fields
|
2203
|
-
# Selector specifying which fields to include in a partial response.
|
2204
|
-
# @param [String] quota_user
|
2205
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2206
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2207
|
-
# @param [Google::Apis::RequestOptions] options
|
2208
|
-
# Request-specific options
|
2209
|
-
#
|
2210
|
-
# @yield [result, err] Result & error if block supplied
|
2211
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse] parsed result object
|
2212
|
-
# @yieldparam err [StandardError] error object if request failed
|
2213
|
-
#
|
2214
|
-
# @return [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse]
|
2215
|
-
#
|
2216
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2217
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2218
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2219
|
-
def test_multicast_group_definition_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2220
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2221
|
-
command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation
|
2222
|
-
command.request_object = test_iam_permissions_request_object
|
2223
|
-
command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation
|
2224
|
-
command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
|
2225
|
-
command.params['resource'] = resource unless resource.nil?
|
2226
|
-
command.query['fields'] = fields unless fields.nil?
|
2227
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2228
|
-
execute_or_queue_command(command, &block)
|
2229
|
-
end
|
2230
|
-
|
2231
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
2232
|
-
# resource exists and does not have a policy set.
|
2233
|
-
# @param [String] resource
|
2234
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2235
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2236
|
-
# appropriate value for this field.
|
2237
|
-
# @param [Fixnum] options_requested_policy_version
|
2238
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
2239
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2240
|
-
# rejected. Requests for policies with any conditional role bindings must
|
2241
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
2242
|
-
# valid value or leave the field unset. The policy in the response might use the
|
2243
|
-
# policy version that you specified, or it might use a lower policy version. For
|
2244
|
-
# example, if you specify version 3, but the policy has no conditional role
|
2245
|
-
# bindings, the response uses version 1. To learn which resources support
|
2246
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2247
|
-
# google.com/iam/help/conditions/resource-policies).
|
2248
|
-
# @param [String] fields
|
2249
|
-
# Selector specifying which fields to include in a partial response.
|
2250
|
-
# @param [String] quota_user
|
2251
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2252
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2253
|
-
# @param [Google::Apis::RequestOptions] options
|
2254
|
-
# Request-specific options
|
2255
|
-
#
|
2256
|
-
# @yield [result, err] Result & error if block supplied
|
2257
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2258
|
-
# @yieldparam err [StandardError] error object if request failed
|
2259
|
-
#
|
2260
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2261
|
-
#
|
2262
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2263
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2264
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2265
|
-
def get_project_location_multicast_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2266
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2267
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2268
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2269
|
-
command.params['resource'] = resource unless resource.nil?
|
2270
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2271
|
-
command.query['fields'] = fields unless fields.nil?
|
2272
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2273
|
-
execute_or_queue_command(command, &block)
|
2274
|
-
end
|
2275
|
-
|
2276
|
-
# Sets the access control policy on the specified resource. Replaces any
|
2277
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2278
|
-
# PERMISSION_DENIED` errors.
|
2279
|
-
# @param [String] resource
|
2280
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2281
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2282
|
-
# appropriate value for this field.
|
2283
|
-
# @param [Google::Apis::NetworkservicesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
2284
|
-
# @param [String] fields
|
2285
|
-
# Selector specifying which fields to include in a partial response.
|
2286
|
-
# @param [String] quota_user
|
2287
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2288
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2289
|
-
# @param [Google::Apis::RequestOptions] options
|
2290
|
-
# Request-specific options
|
2291
|
-
#
|
2292
|
-
# @yield [result, err] Result & error if block supplied
|
2293
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::Policy] parsed result object
|
2294
|
-
# @yieldparam err [StandardError] error object if request failed
|
2295
|
-
#
|
2296
|
-
# @return [Google::Apis::NetworkservicesV1::Policy]
|
2297
|
-
#
|
2298
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2299
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2300
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2301
|
-
def set_multicast_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2302
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2303
|
-
command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation
|
2304
|
-
command.request_object = set_iam_policy_request_object
|
2305
|
-
command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation
|
2306
|
-
command.response_class = Google::Apis::NetworkservicesV1::Policy
|
2307
|
-
command.params['resource'] = resource unless resource.nil?
|
2308
|
-
command.query['fields'] = fields unless fields.nil?
|
2309
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2310
|
-
execute_or_queue_command(command, &block)
|
2311
|
-
end
|
2312
|
-
|
2313
|
-
# Returns permissions that a caller has on the specified resource. If the
|
2314
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
2315
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2316
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
2317
|
-
# This operation may "fail open" without warning.
|
2318
|
-
# @param [String] resource
|
2319
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2320
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2321
|
-
# appropriate value for this field.
|
2322
|
-
# @param [Google::Apis::NetworkservicesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2323
|
-
# @param [String] fields
|
2324
|
-
# Selector specifying which fields to include in a partial response.
|
2325
|
-
# @param [String] quota_user
|
2326
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2327
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2328
|
-
# @param [Google::Apis::RequestOptions] options
|
2329
|
-
# Request-specific options
|
2330
|
-
#
|
2331
|
-
# @yield [result, err] Result & error if block supplied
|
2332
|
-
# @yieldparam result [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse] parsed result object
|
2333
|
-
# @yieldparam err [StandardError] error object if request failed
|
2334
|
-
#
|
2335
|
-
# @return [Google::Apis::NetworkservicesV1::TestIamPermissionsResponse]
|
2336
|
-
#
|
2337
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2338
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2339
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2340
|
-
def test_multicast_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2341
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2342
|
-
command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation
|
2343
|
-
command.request_object = test_iam_permissions_request_object
|
2344
|
-
command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation
|
2345
|
-
command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
|
2346
|
-
command.params['resource'] = resource unless resource.nil?
|
2347
|
-
command.query['fields'] = fields unless fields.nil?
|
2348
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2349
|
-
execute_or_queue_command(command, &block)
|
2350
|
-
end
|
2351
|
-
|
2352
1747
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2353
1748
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2354
1749
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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: 2023-04-
|
11
|
+
date: 2023-04-30 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-networkservices_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|