google-apis-networkconnectivity_v1 0.61.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +406 -12
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +167 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +522 -2
- metadata +2 -2
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
87
|
# @param [Array<String>, String] extra_location_types
|
88
|
-
# Optional.
|
89
|
-
#
|
88
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
89
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
90
90
|
# @param [String] filter
|
91
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
92
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1739,6 +1739,526 @@ module Google
|
|
1739
1739
|
execute_or_queue_command(command, &block)
|
1740
1740
|
end
|
1741
1741
|
|
1742
|
+
# Creates a MulticloudDataTransferConfig in a given project and location.
|
1743
|
+
# @param [String] parent
|
1744
|
+
# Required. The parent resource's name
|
1745
|
+
# @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
|
1746
|
+
# @param [String] multicloud_data_transfer_config_id
|
1747
|
+
# Required. The ID to use for the MulticloudDataTransferConfig, which will
|
1748
|
+
# become the final component of the MulticloudDataTransferConfig's resource name.
|
1749
|
+
# @param [String] request_id
|
1750
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1751
|
+
# request ID so that if you must retry your request, the server will know to
|
1752
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1753
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1754
|
+
# situation where you make an initial request and the request times out. If you
|
1755
|
+
# make the request again with the same request ID, the server can check if
|
1756
|
+
# original operation with the same request ID was received, and if so, will
|
1757
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1758
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1759
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1760
|
+
# 000000000000).
|
1761
|
+
# @param [String] fields
|
1762
|
+
# Selector specifying which fields to include in a partial response.
|
1763
|
+
# @param [String] quota_user
|
1764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
1767
|
+
# Request-specific options
|
1768
|
+
#
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
1770
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
1772
|
+
#
|
1773
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1774
|
+
#
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
+
def create_project_location_multicloud_data_transfer_config(parent, multicloud_data_transfer_config_object = nil, multicloud_data_transfer_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1779
|
+
command = make_simple_command(:post, 'v1/{+parent}/multicloudDataTransferConfigs', options)
|
1780
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1781
|
+
command.request_object = multicloud_data_transfer_config_object
|
1782
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1783
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1784
|
+
command.params['parent'] = parent unless parent.nil?
|
1785
|
+
command.query['multicloudDataTransferConfigId'] = multicloud_data_transfer_config_id unless multicloud_data_transfer_config_id.nil?
|
1786
|
+
command.query['requestId'] = request_id unless request_id.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
|
+
# Deletes a single MulticloudDataTransferConfig.
|
1793
|
+
# @param [String] name
|
1794
|
+
# Required. The name of the MulticloudDataTransferConfig resource to delete.
|
1795
|
+
# @param [String] etag
|
1796
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
1797
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
1798
|
+
# @param [String] request_id
|
1799
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1800
|
+
# request ID so that if you must retry your request, the server will know to
|
1801
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1802
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1803
|
+
# situation where you make an initial request and the request times out. If you
|
1804
|
+
# make the request again with the same request ID, the server can check if
|
1805
|
+
# original operation with the same request ID was received, and if so, will
|
1806
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1807
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1808
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1809
|
+
# 000000000000).
|
1810
|
+
# @param [String] fields
|
1811
|
+
# Selector specifying which fields to include in a partial response.
|
1812
|
+
# @param [String] quota_user
|
1813
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1814
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1815
|
+
# @param [Google::Apis::RequestOptions] options
|
1816
|
+
# Request-specific options
|
1817
|
+
#
|
1818
|
+
# @yield [result, err] Result & error if block supplied
|
1819
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1820
|
+
# @yieldparam err [StandardError] error object if request failed
|
1821
|
+
#
|
1822
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1823
|
+
#
|
1824
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1825
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1826
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1827
|
+
def delete_project_location_multicloud_data_transfer_config(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1828
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1829
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1830
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1831
|
+
command.params['name'] = name unless name.nil?
|
1832
|
+
command.query['etag'] = etag unless etag.nil?
|
1833
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1834
|
+
command.query['fields'] = fields unless fields.nil?
|
1835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1836
|
+
execute_or_queue_command(command, &block)
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
# Gets details of a single MulticloudDataTransferConfig.
|
1840
|
+
# @param [String] name
|
1841
|
+
# Required. Name of the MulticloudDataTransferConfig to get.
|
1842
|
+
# @param [String] fields
|
1843
|
+
# Selector specifying which fields to include in a partial response.
|
1844
|
+
# @param [String] quota_user
|
1845
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1846
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1847
|
+
# @param [Google::Apis::RequestOptions] options
|
1848
|
+
# Request-specific options
|
1849
|
+
#
|
1850
|
+
# @yield [result, err] Result & error if block supplied
|
1851
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] parsed result object
|
1852
|
+
# @yieldparam err [StandardError] error object if request failed
|
1853
|
+
#
|
1854
|
+
# @return [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig]
|
1855
|
+
#
|
1856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1859
|
+
def get_project_location_multicloud_data_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1860
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1861
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1862
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig
|
1863
|
+
command.params['name'] = name unless name.nil?
|
1864
|
+
command.query['fields'] = fields unless fields.nil?
|
1865
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1866
|
+
execute_or_queue_command(command, &block)
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# Lists MulticloudDataTransferConfigs in a given project and location.
|
1870
|
+
# @param [String] parent
|
1871
|
+
# Required. The parent resource's name
|
1872
|
+
# @param [String] filter
|
1873
|
+
# Optional. A filter expression that filters the results listed in the response.
|
1874
|
+
# @param [String] order_by
|
1875
|
+
# Optional. Sort the results by a certain order.
|
1876
|
+
# @param [Fixnum] page_size
|
1877
|
+
# Optional. The maximum number of results per page that should be returned.
|
1878
|
+
# @param [String] page_token
|
1879
|
+
# Optional. The page token.
|
1880
|
+
# @param [Boolean] return_partial_success
|
1881
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
1882
|
+
# requests.
|
1883
|
+
# @param [String] fields
|
1884
|
+
# Selector specifying which fields to include in a partial response.
|
1885
|
+
# @param [String] quota_user
|
1886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1888
|
+
# @param [Google::Apis::RequestOptions] options
|
1889
|
+
# Request-specific options
|
1890
|
+
#
|
1891
|
+
# @yield [result, err] Result & error if block supplied
|
1892
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse] parsed result object
|
1893
|
+
# @yieldparam err [StandardError] error object if request failed
|
1894
|
+
#
|
1895
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse]
|
1896
|
+
#
|
1897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1900
|
+
def list_project_location_multicloud_data_transfer_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1901
|
+
command = make_simple_command(:get, 'v1/{+parent}/multicloudDataTransferConfigs', options)
|
1902
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse::Representation
|
1903
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse
|
1904
|
+
command.params['parent'] = parent unless parent.nil?
|
1905
|
+
command.query['filter'] = filter unless filter.nil?
|
1906
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1907
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1908
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1909
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1910
|
+
command.query['fields'] = fields unless fields.nil?
|
1911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1912
|
+
execute_or_queue_command(command, &block)
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
# Updates a MulticloudDataTransferConfig in a given project and location.
|
1916
|
+
# @param [String] name
|
1917
|
+
# Identifier. The name of the MulticloudDataTransferConfig resource. Format: `
|
1918
|
+
# projects/`project`/locations/`location`/multicloudDataTransferConfigs/`
|
1919
|
+
# multicloud_data_transfer_config``.
|
1920
|
+
# @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
|
1921
|
+
# @param [String] request_id
|
1922
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1923
|
+
# request ID so that if you must retry your request, the server will know to
|
1924
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1925
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1926
|
+
# situation where you make an initial request and the request times out. If you
|
1927
|
+
# make the request again with the same request ID, the server can check if
|
1928
|
+
# original operation with the same request ID was received, and if so, will
|
1929
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1930
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1931
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1932
|
+
# 000000000000).
|
1933
|
+
# @param [String] update_mask
|
1934
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
1935
|
+
# MulticloudDataTransferConfig resource by the update. The fields specified in
|
1936
|
+
# the update_mask are relative to the resource, not the full request. A field
|
1937
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
1938
|
+
# then all fields will be overwritten.
|
1939
|
+
# @param [String] fields
|
1940
|
+
# Selector specifying which fields to include in a partial response.
|
1941
|
+
# @param [String] quota_user
|
1942
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1943
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1944
|
+
# @param [Google::Apis::RequestOptions] options
|
1945
|
+
# Request-specific options
|
1946
|
+
#
|
1947
|
+
# @yield [result, err] Result & error if block supplied
|
1948
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1949
|
+
# @yieldparam err [StandardError] error object if request failed
|
1950
|
+
#
|
1951
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1952
|
+
#
|
1953
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1954
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1955
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1956
|
+
def patch_project_location_multicloud_data_transfer_config(name, multicloud_data_transfer_config_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1957
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1958
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1959
|
+
command.request_object = multicloud_data_transfer_config_object
|
1960
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1961
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1962
|
+
command.params['name'] = name unless name.nil?
|
1963
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1964
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1965
|
+
command.query['fields'] = fields unless fields.nil?
|
1966
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1967
|
+
execute_or_queue_command(command, &block)
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# Creates a Destination in a given project and location.
|
1971
|
+
# @param [String] parent
|
1972
|
+
# Required. The parent resource's name
|
1973
|
+
# @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
|
1974
|
+
# @param [String] destination_id
|
1975
|
+
# Required. The ID to use for the Destination, which will become the final
|
1976
|
+
# component of the Destination's resource name.
|
1977
|
+
# @param [String] request_id
|
1978
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1979
|
+
# request ID so that if you must retry your request, the server will know to
|
1980
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1981
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1982
|
+
# situation where you make an initial request and the request times out. If you
|
1983
|
+
# make the request again with the same request ID, the server can check if
|
1984
|
+
# original operation with the same request ID was received, and if so, will
|
1985
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1986
|
+
# duplicate Destinations. The request ID must be a valid UUID with the exception
|
1987
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1988
|
+
# @param [String] fields
|
1989
|
+
# Selector specifying which fields to include in a partial response.
|
1990
|
+
# @param [String] quota_user
|
1991
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1992
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1993
|
+
# @param [Google::Apis::RequestOptions] options
|
1994
|
+
# Request-specific options
|
1995
|
+
#
|
1996
|
+
# @yield [result, err] Result & error if block supplied
|
1997
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1998
|
+
# @yieldparam err [StandardError] error object if request failed
|
1999
|
+
#
|
2000
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2001
|
+
#
|
2002
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2003
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2004
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2005
|
+
def create_project_location_multicloud_data_transfer_config_destination(parent, destination_object = nil, destination_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2006
|
+
command = make_simple_command(:post, 'v1/{+parent}/destinations', options)
|
2007
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2008
|
+
command.request_object = destination_object
|
2009
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2010
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2011
|
+
command.params['parent'] = parent unless parent.nil?
|
2012
|
+
command.query['destinationId'] = destination_id unless destination_id.nil?
|
2013
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2014
|
+
command.query['fields'] = fields unless fields.nil?
|
2015
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2016
|
+
execute_or_queue_command(command, &block)
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
# Deletes a single Destination.
|
2020
|
+
# @param [String] name
|
2021
|
+
# Required. The name of the Destination resource to delete.
|
2022
|
+
# @param [String] etag
|
2023
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
2024
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
2025
|
+
# @param [String] request_id
|
2026
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2027
|
+
# request ID so that if you must retry your request, the server will know to
|
2028
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2029
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2030
|
+
# situation where you make an initial request and the request times out. If you
|
2031
|
+
# make the request again with the same request ID, the server can check if
|
2032
|
+
# original operation with the same request ID was received, and if so, will
|
2033
|
+
# ignore the second request. The request ID must be a valid UUID with the
|
2034
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2035
|
+
# 000000000000).
|
2036
|
+
# @param [String] fields
|
2037
|
+
# Selector specifying which fields to include in a partial response.
|
2038
|
+
# @param [String] quota_user
|
2039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2041
|
+
# @param [Google::Apis::RequestOptions] options
|
2042
|
+
# Request-specific options
|
2043
|
+
#
|
2044
|
+
# @yield [result, err] Result & error if block supplied
|
2045
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2046
|
+
# @yieldparam err [StandardError] error object if request failed
|
2047
|
+
#
|
2048
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2049
|
+
#
|
2050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2053
|
+
def delete_project_location_multicloud_data_transfer_config_destination(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2054
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2055
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2056
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2057
|
+
command.params['name'] = name unless name.nil?
|
2058
|
+
command.query['etag'] = etag unless etag.nil?
|
2059
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2060
|
+
command.query['fields'] = fields unless fields.nil?
|
2061
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2062
|
+
execute_or_queue_command(command, &block)
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
# Gets details of a single Destination.
|
2066
|
+
# @param [String] name
|
2067
|
+
# Required. Name of the Destination to get.
|
2068
|
+
# @param [String] fields
|
2069
|
+
# Selector specifying which fields to include in a partial response.
|
2070
|
+
# @param [String] quota_user
|
2071
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2072
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2073
|
+
# @param [Google::Apis::RequestOptions] options
|
2074
|
+
# Request-specific options
|
2075
|
+
#
|
2076
|
+
# @yield [result, err] Result & error if block supplied
|
2077
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Destination] parsed result object
|
2078
|
+
# @yieldparam err [StandardError] error object if request failed
|
2079
|
+
#
|
2080
|
+
# @return [Google::Apis::NetworkconnectivityV1::Destination]
|
2081
|
+
#
|
2082
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2083
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2084
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2085
|
+
def get_project_location_multicloud_data_transfer_config_destination(name, fields: nil, quota_user: nil, options: nil, &block)
|
2086
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2087
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2088
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Destination
|
2089
|
+
command.params['name'] = name unless name.nil?
|
2090
|
+
command.query['fields'] = fields unless fields.nil?
|
2091
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2092
|
+
execute_or_queue_command(command, &block)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# Lists Destinations in a given project and location.
|
2096
|
+
# @param [String] parent
|
2097
|
+
# Required. The parent resource's name
|
2098
|
+
# @param [String] filter
|
2099
|
+
# Optional. A filter expression that filters the results listed in the response.
|
2100
|
+
# @param [String] order_by
|
2101
|
+
# Optional. Sort the results by a certain order.
|
2102
|
+
# @param [Fixnum] page_size
|
2103
|
+
# Optional. The maximum number of results per page that should be returned.
|
2104
|
+
# @param [String] page_token
|
2105
|
+
# Optional. The page token.
|
2106
|
+
# @param [Boolean] return_partial_success
|
2107
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
2108
|
+
# requests.
|
2109
|
+
# @param [String] fields
|
2110
|
+
# Selector specifying which fields to include in a partial response.
|
2111
|
+
# @param [String] quota_user
|
2112
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2113
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2114
|
+
# @param [Google::Apis::RequestOptions] options
|
2115
|
+
# Request-specific options
|
2116
|
+
#
|
2117
|
+
# @yield [result, err] Result & error if block supplied
|
2118
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse] parsed result object
|
2119
|
+
# @yieldparam err [StandardError] error object if request failed
|
2120
|
+
#
|
2121
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse]
|
2122
|
+
#
|
2123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2126
|
+
def list_project_location_multicloud_data_transfer_config_destinations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2127
|
+
command = make_simple_command(:get, 'v1/{+parent}/destinations', options)
|
2128
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse::Representation
|
2129
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse
|
2130
|
+
command.params['parent'] = parent unless parent.nil?
|
2131
|
+
command.query['filter'] = filter unless filter.nil?
|
2132
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2133
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2134
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2135
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
2136
|
+
command.query['fields'] = fields unless fields.nil?
|
2137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2138
|
+
execute_or_queue_command(command, &block)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# Updates a Destination in a given project and location.
|
2142
|
+
# @param [String] name
|
2143
|
+
# Identifier. The name of the Destination resource. Format: `projects/`project`/
|
2144
|
+
# locations/`location`/multicloudDataTransferConfigs/`
|
2145
|
+
# multicloud_data_transfer_config`/destinations/`destination``.
|
2146
|
+
# @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
|
2147
|
+
# @param [String] request_id
|
2148
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2149
|
+
# request ID so that if you must retry your request, the server will know to
|
2150
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2151
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2152
|
+
# situation where you make an initial request and the request times out. If you
|
2153
|
+
# make the request again with the same request ID, the server can check if
|
2154
|
+
# original operation with the same request ID was received, and if so, will
|
2155
|
+
# ignore the second request. The request ID must be a valid UUID with the
|
2156
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2157
|
+
# 000000000000).
|
2158
|
+
# @param [String] update_mask
|
2159
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2160
|
+
# Destination resource by the update. The fields specified in the update_mask
|
2161
|
+
# are relative to the resource, not the full request. A field will be
|
2162
|
+
# overwritten if it is in the mask. If the user does not provide a mask then all
|
2163
|
+
# fields will be overwritten.
|
2164
|
+
# @param [String] fields
|
2165
|
+
# Selector specifying which fields to include in a partial response.
|
2166
|
+
# @param [String] quota_user
|
2167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2169
|
+
# @param [Google::Apis::RequestOptions] options
|
2170
|
+
# Request-specific options
|
2171
|
+
#
|
2172
|
+
# @yield [result, err] Result & error if block supplied
|
2173
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2174
|
+
# @yieldparam err [StandardError] error object if request failed
|
2175
|
+
#
|
2176
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2177
|
+
#
|
2178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2181
|
+
def patch_project_location_multicloud_data_transfer_config_destination(name, destination_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2182
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2183
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2184
|
+
command.request_object = destination_object
|
2185
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2186
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2187
|
+
command.params['name'] = name unless name.nil?
|
2188
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2189
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2190
|
+
command.query['fields'] = fields unless fields.nil?
|
2191
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2192
|
+
execute_or_queue_command(command, &block)
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
# Gets details of a single MulticloudDataTransferSupportedServices.
|
2196
|
+
# @param [String] name
|
2197
|
+
# Required. The name of the service.
|
2198
|
+
# @param [String] fields
|
2199
|
+
# Selector specifying which fields to include in a partial response.
|
2200
|
+
# @param [String] quota_user
|
2201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2203
|
+
# @param [Google::Apis::RequestOptions] options
|
2204
|
+
# Request-specific options
|
2205
|
+
#
|
2206
|
+
# @yield [result, err] Result & error if block supplied
|
2207
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService] parsed result object
|
2208
|
+
# @yieldparam err [StandardError] error object if request failed
|
2209
|
+
#
|
2210
|
+
# @return [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService]
|
2211
|
+
#
|
2212
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2213
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2214
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2215
|
+
def get_project_location_multicloud_data_transfer_supported_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
2216
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2217
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService::Representation
|
2218
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService
|
2219
|
+
command.params['name'] = name unless name.nil?
|
2220
|
+
command.query['fields'] = fields unless fields.nil?
|
2221
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2222
|
+
execute_or_queue_command(command, &block)
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
# Lists the supported services for Multicloud Data Transfer. This is a
|
2226
|
+
# passthrough method.
|
2227
|
+
# @param [String] parent
|
2228
|
+
# Required. The parent resource's name
|
2229
|
+
# @param [Fixnum] page_size
|
2230
|
+
# Optional. The maximum number of results per page that should be returned.
|
2231
|
+
# @param [String] page_token
|
2232
|
+
# Optional. The page token.
|
2233
|
+
# @param [String] fields
|
2234
|
+
# Selector specifying which fields to include in a partial response.
|
2235
|
+
# @param [String] quota_user
|
2236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2238
|
+
# @param [Google::Apis::RequestOptions] options
|
2239
|
+
# Request-specific options
|
2240
|
+
#
|
2241
|
+
# @yield [result, err] Result & error if block supplied
|
2242
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse] parsed result object
|
2243
|
+
# @yieldparam err [StandardError] error object if request failed
|
2244
|
+
#
|
2245
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse]
|
2246
|
+
#
|
2247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2250
|
+
def list_project_location_multicloud_data_transfer_supported_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2251
|
+
command = make_simple_command(:get, 'v1/{+parent}/multicloudDataTransferSupportedServices', options)
|
2252
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse::Representation
|
2253
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse
|
2254
|
+
command.params['parent'] = parent unless parent.nil?
|
2255
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2256
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2257
|
+
command.query['fields'] = fields unless fields.nil?
|
2258
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2259
|
+
execute_or_queue_command(command, &block)
|
2260
|
+
end
|
2261
|
+
|
1742
2262
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1743
2263
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1744
2264
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.63.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.63.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|