google-apis-networkconnectivity_v1 0.62.0 → 0.64.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.
@@ -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. A list of extra location types that should be used as conditions for
89
- # controlling the visibility of the locations.
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` resource in a specified project and
1743
+ # location.
1744
+ # @param [String] parent
1745
+ # Required. The name of the parent resource.
1746
+ # @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
1747
+ # @param [String] multicloud_data_transfer_config_id
1748
+ # Required. The ID to use for the `MulticloudDataTransferConfig` resource, which
1749
+ # becomes the final component of the `MulticloudDataTransferConfig` resource
1750
+ # name.
1751
+ # @param [String] request_id
1752
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1753
+ # that if you must retry your request, the server can ignore the request if it
1754
+ # has already been completed. The server waits for at least 60 minutes since the
1755
+ # first request. For example, consider a situation where you make an initial
1756
+ # request and the request times out. If you make the request again with the same
1757
+ # request ID, the server can check if original operation with the same request
1758
+ # ID was received, and if so, can ignore the second request. This prevents
1759
+ # clients from accidentally creating duplicate `MulticloudDataTransferConfig`
1760
+ # resources. The request ID must be a valid UUID with the exception that zero
1761
+ # UUID (00000000-0000-0000-0000-000000000000) isn't supported.
1762
+ # @param [String] fields
1763
+ # Selector specifying which fields to include in a partial response.
1764
+ # @param [String] quota_user
1765
+ # Available to use for quota purposes for server-side applications. Can be any
1766
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1767
+ # @param [Google::Apis::RequestOptions] options
1768
+ # Request-specific options
1769
+ #
1770
+ # @yield [result, err] Result & error if block supplied
1771
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
1772
+ # @yieldparam err [StandardError] error object if request failed
1773
+ #
1774
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
1775
+ #
1776
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1777
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1778
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1779
+ 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)
1780
+ command = make_simple_command(:post, 'v1/{+parent}/multicloudDataTransferConfigs', options)
1781
+ command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
1782
+ command.request_object = multicloud_data_transfer_config_object
1783
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
1784
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
1785
+ command.params['parent'] = parent unless parent.nil?
1786
+ command.query['multicloudDataTransferConfigId'] = multicloud_data_transfer_config_id unless multicloud_data_transfer_config_id.nil?
1787
+ command.query['requestId'] = request_id unless request_id.nil?
1788
+ command.query['fields'] = fields unless fields.nil?
1789
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1790
+ execute_or_queue_command(command, &block)
1791
+ end
1792
+
1793
+ # Deletes a `MulticloudDataTransferConfig` resource.
1794
+ # @param [String] name
1795
+ # Required. The name of the `MulticloudDataTransferConfig` resource to delete.
1796
+ # @param [String] etag
1797
+ # Optional. The etag is computed by the server, and might be sent with update
1798
+ # and delete requests so that the client has an up-to-date value before
1799
+ # proceeding.
1800
+ # @param [String] request_id
1801
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1802
+ # that if you must retry your request, the server can ignore the request if it
1803
+ # has already been completed. The server waits for at least 60 minutes since the
1804
+ # first request. For example, consider a situation where you make an initial
1805
+ # request and the request times out. If you make the request again with the same
1806
+ # request ID, the server can check if original operation with the same request
1807
+ # ID was received, and if so, can ignore the second request. This prevents
1808
+ # clients from accidentally creating duplicate `MulticloudDataTransferConfig`
1809
+ # resources. The request ID must be a valid UUID with the exception that zero
1810
+ # UUID (00000000-0000-0000-0000-000000000000) isn't supported.
1811
+ # @param [String] fields
1812
+ # Selector specifying which fields to include in a partial response.
1813
+ # @param [String] quota_user
1814
+ # Available to use for quota purposes for server-side applications. Can be any
1815
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1816
+ # @param [Google::Apis::RequestOptions] options
1817
+ # Request-specific options
1818
+ #
1819
+ # @yield [result, err] Result & error if block supplied
1820
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
1821
+ # @yieldparam err [StandardError] error object if request failed
1822
+ #
1823
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
1824
+ #
1825
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1826
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1827
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1828
+ def delete_project_location_multicloud_data_transfer_config(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1829
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1830
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
1831
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
1832
+ command.params['name'] = name unless name.nil?
1833
+ command.query['etag'] = etag unless etag.nil?
1834
+ command.query['requestId'] = request_id unless request_id.nil?
1835
+ command.query['fields'] = fields unless fields.nil?
1836
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1837
+ execute_or_queue_command(command, &block)
1838
+ end
1839
+
1840
+ # Gets the details of a `MulticloudDataTransferConfig` resource.
1841
+ # @param [String] name
1842
+ # Required. The name of the `MulticloudDataTransferConfig` resource to get.
1843
+ # @param [String] fields
1844
+ # Selector specifying which fields to include in a partial response.
1845
+ # @param [String] quota_user
1846
+ # Available to use for quota purposes for server-side applications. Can be any
1847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1848
+ # @param [Google::Apis::RequestOptions] options
1849
+ # Request-specific options
1850
+ #
1851
+ # @yield [result, err] Result & error if block supplied
1852
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] parsed result object
1853
+ # @yieldparam err [StandardError] error object if request failed
1854
+ #
1855
+ # @return [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig]
1856
+ #
1857
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1858
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1859
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1860
+ def get_project_location_multicloud_data_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
1861
+ command = make_simple_command(:get, 'v1/{+name}', options)
1862
+ command.response_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
1863
+ command.response_class = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig
1864
+ command.params['name'] = name unless name.nil?
1865
+ command.query['fields'] = fields unless fields.nil?
1866
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1867
+ execute_or_queue_command(command, &block)
1868
+ end
1869
+
1870
+ # Lists the `MulticloudDataTransferConfig` resources in a specified project and
1871
+ # location.
1872
+ # @param [String] parent
1873
+ # Required. The name of the parent resource.
1874
+ # @param [String] filter
1875
+ # Optional. An expression that filters the results listed in the response.
1876
+ # @param [String] order_by
1877
+ # Optional. The sort order of the results.
1878
+ # @param [Fixnum] page_size
1879
+ # Optional. The maximum number of results listed per page.
1880
+ # @param [String] page_token
1881
+ # Optional. The page token.
1882
+ # @param [Boolean] return_partial_success
1883
+ # Optional. If `true`, allows partial responses for multi-regional aggregated
1884
+ # list requests.
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::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse] parsed result object
1895
+ # @yieldparam err [StandardError] error object if request failed
1896
+ #
1897
+ # @return [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse]
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 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)
1903
+ command = make_simple_command(:get, 'v1/{+parent}/multicloudDataTransferConfigs', options)
1904
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse::Representation
1905
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse
1906
+ command.params['parent'] = parent unless parent.nil?
1907
+ command.query['filter'] = filter unless filter.nil?
1908
+ command.query['orderBy'] = order_by unless order_by.nil?
1909
+ command.query['pageSize'] = page_size unless page_size.nil?
1910
+ command.query['pageToken'] = page_token unless page_token.nil?
1911
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1912
+ command.query['fields'] = fields unless fields.nil?
1913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1914
+ execute_or_queue_command(command, &block)
1915
+ end
1916
+
1917
+ # Updates a `MulticloudDataTransferConfig` resource in a specified project and
1918
+ # location.
1919
+ # @param [String] name
1920
+ # Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `
1921
+ # projects/`project`/locations/`location`/multicloudDataTransferConfigs/`
1922
+ # multicloud_data_transfer_config``.
1923
+ # @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
1924
+ # @param [String] request_id
1925
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1926
+ # that if you must retry your request, the server can ignore the request if it
1927
+ # has already been completed. The server waits for at least 60 minutes since the
1928
+ # first request. For example, consider a situation where you make an initial
1929
+ # request and the request times out. If you make the request again with the same
1930
+ # request ID, the server can check if original operation with the same request
1931
+ # ID was received, and if so, can ignore the second request. This prevents
1932
+ # clients from accidentally creating duplicate `MulticloudDataTransferConfig`
1933
+ # resources. The request ID must be a valid UUID with the exception that zero
1934
+ # UUID (00000000-0000-0000-0000-000000000000) isn't supported.
1935
+ # @param [String] update_mask
1936
+ # Optional. `FieldMask` is used to specify the fields in the `
1937
+ # MulticloudDataTransferConfig` resource to be overwritten by the update. The
1938
+ # fields specified in `update_mask` are relative to the resource, not the full
1939
+ # request. A field is overwritten if it is in the mask. If you don't specify a
1940
+ # mask, all fields are overwritten.
1941
+ # @param [String] fields
1942
+ # Selector specifying which fields to include in a partial response.
1943
+ # @param [String] quota_user
1944
+ # Available to use for quota purposes for server-side applications. Can be any
1945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1946
+ # @param [Google::Apis::RequestOptions] options
1947
+ # Request-specific options
1948
+ #
1949
+ # @yield [result, err] Result & error if block supplied
1950
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
1951
+ # @yieldparam err [StandardError] error object if request failed
1952
+ #
1953
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
1954
+ #
1955
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1956
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1957
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1958
+ 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)
1959
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1960
+ command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
1961
+ command.request_object = multicloud_data_transfer_config_object
1962
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
1963
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
1964
+ command.params['name'] = name unless name.nil?
1965
+ command.query['requestId'] = request_id unless request_id.nil?
1966
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1967
+ command.query['fields'] = fields unless fields.nil?
1968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1969
+ execute_or_queue_command(command, &block)
1970
+ end
1971
+
1972
+ # Creates a `Destination` resource in a specified project and location.
1973
+ # @param [String] parent
1974
+ # Required. The name of the parent resource.
1975
+ # @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
1976
+ # @param [String] destination_id
1977
+ # Required. The ID to use for the `Destination` resource, which becomes the
1978
+ # final component of the `Destination` resource name.
1979
+ # @param [String] request_id
1980
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1981
+ # that if you must retry your request, the server can ignore the request if it
1982
+ # has already been completed. The server waits for at least 60 minutes since the
1983
+ # first request. For example, consider a situation where you make an initial
1984
+ # request and the request times out. If you make the request again with the same
1985
+ # request ID, the server can check if original operation with the same request
1986
+ # ID was received, and if so, can ignore the second request. This prevents
1987
+ # clients from accidentally creating duplicate `Destination` resources. The
1988
+ # request ID must be a valid UUID with the exception that zero UUID (00000000-
1989
+ # 0000-0000-0000-000000000000) isn't supported.
1990
+ # @param [String] fields
1991
+ # Selector specifying which fields to include in a partial response.
1992
+ # @param [String] quota_user
1993
+ # Available to use for quota purposes for server-side applications. Can be any
1994
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1995
+ # @param [Google::Apis::RequestOptions] options
1996
+ # Request-specific options
1997
+ #
1998
+ # @yield [result, err] Result & error if block supplied
1999
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
2000
+ # @yieldparam err [StandardError] error object if request failed
2001
+ #
2002
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
2003
+ #
2004
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2005
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2006
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2007
+ 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)
2008
+ command = make_simple_command(:post, 'v1/{+parent}/destinations', options)
2009
+ command.request_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
2010
+ command.request_object = destination_object
2011
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
2012
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
2013
+ command.params['parent'] = parent unless parent.nil?
2014
+ command.query['destinationId'] = destination_id unless destination_id.nil?
2015
+ command.query['requestId'] = request_id unless request_id.nil?
2016
+ command.query['fields'] = fields unless fields.nil?
2017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2018
+ execute_or_queue_command(command, &block)
2019
+ end
2020
+
2021
+ # Deletes a `Destination` resource.
2022
+ # @param [String] name
2023
+ # Required. The name of the `Destination` resource to delete.
2024
+ # @param [String] etag
2025
+ # Optional. The etag is computed by the server, and might be sent with update
2026
+ # and delete requests so that the client has an up-to-date value before
2027
+ # proceeding.
2028
+ # @param [String] request_id
2029
+ # Optional. A request ID to identify requests. Specify a unique request ID so
2030
+ # that if you must retry your request, the server can ignore the request if it
2031
+ # has already been completed. The server waits for at least 60 minutes since the
2032
+ # first request. For example, consider a situation where you make an initial
2033
+ # request and the request times out. If you make the request again with the same
2034
+ # request ID, the server can check if original operation with the same request
2035
+ # ID was received, and if so, can ignore the second request. The request ID must
2036
+ # be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-
2037
+ # 000000000000) isn't supported.
2038
+ # @param [String] fields
2039
+ # Selector specifying which fields to include in a partial response.
2040
+ # @param [String] quota_user
2041
+ # Available to use for quota purposes for server-side applications. Can be any
2042
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2043
+ # @param [Google::Apis::RequestOptions] options
2044
+ # Request-specific options
2045
+ #
2046
+ # @yield [result, err] Result & error if block supplied
2047
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
2048
+ # @yieldparam err [StandardError] error object if request failed
2049
+ #
2050
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
2051
+ #
2052
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2053
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2054
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2055
+ def delete_project_location_multicloud_data_transfer_config_destination(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2056
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2057
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
2058
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
2059
+ command.params['name'] = name unless name.nil?
2060
+ command.query['etag'] = etag unless etag.nil?
2061
+ command.query['requestId'] = request_id unless request_id.nil?
2062
+ command.query['fields'] = fields unless fields.nil?
2063
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2064
+ execute_or_queue_command(command, &block)
2065
+ end
2066
+
2067
+ # Gets the details of a `Destination` resource.
2068
+ # @param [String] name
2069
+ # Required. The name of the `Destination` resource to get.
2070
+ # @param [String] fields
2071
+ # Selector specifying which fields to include in a partial response.
2072
+ # @param [String] quota_user
2073
+ # Available to use for quota purposes for server-side applications. Can be any
2074
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2075
+ # @param [Google::Apis::RequestOptions] options
2076
+ # Request-specific options
2077
+ #
2078
+ # @yield [result, err] Result & error if block supplied
2079
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::Destination] parsed result object
2080
+ # @yieldparam err [StandardError] error object if request failed
2081
+ #
2082
+ # @return [Google::Apis::NetworkconnectivityV1::Destination]
2083
+ #
2084
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2085
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2086
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2087
+ def get_project_location_multicloud_data_transfer_config_destination(name, fields: nil, quota_user: nil, options: nil, &block)
2088
+ command = make_simple_command(:get, 'v1/{+name}', options)
2089
+ command.response_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
2090
+ command.response_class = Google::Apis::NetworkconnectivityV1::Destination
2091
+ command.params['name'] = name unless name.nil?
2092
+ command.query['fields'] = fields unless fields.nil?
2093
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2094
+ execute_or_queue_command(command, &block)
2095
+ end
2096
+
2097
+ # Lists the `Destination` resources in a specified project and location.
2098
+ # @param [String] parent
2099
+ # Required. The name of the parent resource.
2100
+ # @param [String] filter
2101
+ # Optional. An expression that filters the results listed in the response.
2102
+ # @param [String] order_by
2103
+ # Optional. The sort order of the results.
2104
+ # @param [Fixnum] page_size
2105
+ # Optional. The maximum number of results listed per page.
2106
+ # @param [String] page_token
2107
+ # Optional. The page token.
2108
+ # @param [Boolean] return_partial_success
2109
+ # Optional. If `true`, allow partial responses for multi-regional aggregated
2110
+ # list requests.
2111
+ # @param [String] fields
2112
+ # Selector specifying which fields to include in a partial response.
2113
+ # @param [String] quota_user
2114
+ # Available to use for quota purposes for server-side applications. Can be any
2115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2116
+ # @param [Google::Apis::RequestOptions] options
2117
+ # Request-specific options
2118
+ #
2119
+ # @yield [result, err] Result & error if block supplied
2120
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse] parsed result object
2121
+ # @yieldparam err [StandardError] error object if request failed
2122
+ #
2123
+ # @return [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse]
2124
+ #
2125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2128
+ 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)
2129
+ command = make_simple_command(:get, 'v1/{+parent}/destinations', options)
2130
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse::Representation
2131
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse
2132
+ command.params['parent'] = parent unless parent.nil?
2133
+ command.query['filter'] = filter unless filter.nil?
2134
+ command.query['orderBy'] = order_by unless order_by.nil?
2135
+ command.query['pageSize'] = page_size unless page_size.nil?
2136
+ command.query['pageToken'] = page_token unless page_token.nil?
2137
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2138
+ command.query['fields'] = fields unless fields.nil?
2139
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2140
+ execute_or_queue_command(command, &block)
2141
+ end
2142
+
2143
+ # Updates a `Destination` resource in a specified project and location.
2144
+ # @param [String] name
2145
+ # Identifier. The name of the `Destination` resource. Format: `projects/`project`
2146
+ # /locations/`location`/multicloudDataTransferConfigs/`
2147
+ # multicloud_data_transfer_config`/destinations/`destination``.
2148
+ # @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
2149
+ # @param [String] request_id
2150
+ # Optional. A request ID to identify requests. Specify a unique request ID so
2151
+ # that if you must retry your request, the server can ignore the request if it
2152
+ # has already been completed. The server waits for at least 60 minutes since the
2153
+ # first request. For example, consider a situation where you make an initial
2154
+ # request and the request times out. If you make the request again with the same
2155
+ # request ID, the server can check if original operation with the same request
2156
+ # ID was received, and if so, can ignore the second request. The request ID must
2157
+ # be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-
2158
+ # 000000000000) isn't supported.
2159
+ # @param [String] update_mask
2160
+ # Optional. `FieldMask is used to specify the fields to be overwritten in the `
2161
+ # Destination` resource by the update. The fields specified in `update_mask` are
2162
+ # relative to the resource, not the full request. A field is overwritten if it
2163
+ # is in the mask. If you don't specify a mask, all fields are 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 the details of a service that is supported for Data Transfer Essentials.
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 services in the project for a region that are supported for Data
2226
+ # Transfer Essentials.
2227
+ # @param [String] parent
2228
+ # Required. The name of the parent resource.
2229
+ # @param [Fixnum] page_size
2230
+ # Optional. The maximum number of results listed per page.
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`.
@@ -2048,6 +2568,79 @@ module Google
2048
2568
  execute_or_queue_command(command, &block)
2049
2569
  end
2050
2570
 
2571
+ # Gets details of a single RemoteTransportProfile.
2572
+ # @param [String] name
2573
+ # Required. Name of the resource
2574
+ # @param [String] fields
2575
+ # Selector specifying which fields to include in a partial response.
2576
+ # @param [String] quota_user
2577
+ # Available to use for quota purposes for server-side applications. Can be any
2578
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2579
+ # @param [Google::Apis::RequestOptions] options
2580
+ # Request-specific options
2581
+ #
2582
+ # @yield [result, err] Result & error if block supplied
2583
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile] parsed result object
2584
+ # @yieldparam err [StandardError] error object if request failed
2585
+ #
2586
+ # @return [Google::Apis::NetworkconnectivityV1::RemoteTransportProfile]
2587
+ #
2588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2591
+ def get_project_location_remote_transport_profile(name, fields: nil, quota_user: nil, options: nil, &block)
2592
+ command = make_simple_command(:get, 'v1/{+name}', options)
2593
+ command.response_representation = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile::Representation
2594
+ command.response_class = Google::Apis::NetworkconnectivityV1::RemoteTransportProfile
2595
+ command.params['name'] = name unless name.nil?
2596
+ command.query['fields'] = fields unless fields.nil?
2597
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2598
+ execute_or_queue_command(command, &block)
2599
+ end
2600
+
2601
+ # Lists RemoteTransportProfiles in a given project and location.
2602
+ # @param [String] parent
2603
+ # Required. Parent value for ListRemoteTransportProfilesRequest
2604
+ # @param [String] filter
2605
+ # Optional. Filtering results
2606
+ # @param [String] order_by
2607
+ # Optional. Hint for how to order the results
2608
+ # @param [Fixnum] page_size
2609
+ # Optional. Requested page size. Server may return fewer items than requested.
2610
+ # If unspecified, server will pick an appropriate default.
2611
+ # @param [String] page_token
2612
+ # Optional. A token identifying a page of results the server should return.
2613
+ # @param [String] fields
2614
+ # Selector specifying which fields to include in a partial response.
2615
+ # @param [String] quota_user
2616
+ # Available to use for quota purposes for server-side applications. Can be any
2617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2618
+ # @param [Google::Apis::RequestOptions] options
2619
+ # Request-specific options
2620
+ #
2621
+ # @yield [result, err] Result & error if block supplied
2622
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse] parsed result object
2623
+ # @yieldparam err [StandardError] error object if request failed
2624
+ #
2625
+ # @return [Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse]
2626
+ #
2627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2630
+ def list_project_location_remote_transport_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2631
+ command = make_simple_command(:get, 'v1/{+parent}/remoteTransportProfiles', options)
2632
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse::Representation
2633
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListRemoteTransportProfilesResponse
2634
+ command.params['parent'] = parent unless parent.nil?
2635
+ command.query['filter'] = filter unless filter.nil?
2636
+ command.query['orderBy'] = order_by unless order_by.nil?
2637
+ command.query['pageSize'] = page_size unless page_size.nil?
2638
+ command.query['pageToken'] = page_token unless page_token.nil?
2639
+ command.query['fields'] = fields unless fields.nil?
2640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2641
+ execute_or_queue_command(command, &block)
2642
+ end
2643
+
2051
2644
  # Deletes a single ServiceClass.
2052
2645
  # @param [String] name
2053
2646
  # Required. The name of the ServiceClass to delete.
@@ -2690,6 +3283,18 @@ module Google
2690
3283
  # Required. The parent resource's name of the ServiceConnectionPolicy. ex.
2691
3284
  # projects/123/locations/us-east1
2692
3285
  # @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy] service_connection_policy_object
3286
+ # @param [String] auto_subnetwork_config_alloc_range_space
3287
+ # Optional. The space where we search for a free range to create a subnetwork.
3288
+ # It can be narrow down or pick a different space. This is in standard CIDR
3289
+ # format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY
3290
+ # and IPV4_IPV6 subnetwork.
3291
+ # @param [String] auto_subnetwork_config_ip_stack
3292
+ # Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is
3293
+ # used.
3294
+ # @param [Fixnum] auto_subnetwork_config_prefix_length
3295
+ # Optional. The desired prefix length for the subnet's IP address range. E.g.,
3296
+ # 24 for a /24. The actual range is allocated from available space. If not
3297
+ # specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork.
2693
3298
  # @param [String] request_id
2694
3299
  # Optional. An optional request ID to identify requests. Specify a unique
2695
3300
  # request ID so that if you must retry your request, the server will know to
@@ -2705,6 +3310,8 @@ module Google
2705
3310
  # Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/
2706
3311
  # serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-
2707
3312
  # segments Unique per location.
3313
+ # @param [String] subnetwork_mode
3314
+ # Optional. If this field is not set, USER_PROVIDED is the inferred value to use.
2708
3315
  # @param [String] fields
2709
3316
  # Selector specifying which fields to include in a partial response.
2710
3317
  # @param [String] quota_user
@@ -2722,15 +3329,19 @@ module Google
2722
3329
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2723
3330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2724
3331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2725
- def create_project_location_service_connection_policy(parent, service_connection_policy_object = nil, request_id: nil, service_connection_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3332
+ def create_project_location_service_connection_policy(parent, service_connection_policy_object = nil, auto_subnetwork_config_alloc_range_space: nil, auto_subnetwork_config_ip_stack: nil, auto_subnetwork_config_prefix_length: nil, request_id: nil, service_connection_policy_id: nil, subnetwork_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
2726
3333
  command = make_simple_command(:post, 'v1/{+parent}/serviceConnectionPolicies', options)
2727
3334
  command.request_representation = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy::Representation
2728
3335
  command.request_object = service_connection_policy_object
2729
3336
  command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
2730
3337
  command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
2731
3338
  command.params['parent'] = parent unless parent.nil?
3339
+ command.query['autoSubnetworkConfig.allocRangeSpace'] = auto_subnetwork_config_alloc_range_space unless auto_subnetwork_config_alloc_range_space.nil?
3340
+ command.query['autoSubnetworkConfig.ipStack'] = auto_subnetwork_config_ip_stack unless auto_subnetwork_config_ip_stack.nil?
3341
+ command.query['autoSubnetworkConfig.prefixLength'] = auto_subnetwork_config_prefix_length unless auto_subnetwork_config_prefix_length.nil?
2732
3342
  command.query['requestId'] = request_id unless request_id.nil?
2733
3343
  command.query['serviceConnectionPolicyId'] = service_connection_policy_id unless service_connection_policy_id.nil?
3344
+ command.query['subnetworkMode'] = subnetwork_mode unless subnetwork_mode.nil?
2734
3345
  command.query['fields'] = fields unless fields.nil?
2735
3346
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2736
3347
  execute_or_queue_command(command, &block)
@@ -3538,6 +4149,221 @@ module Google
3538
4149
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3539
4150
  execute_or_queue_command(command, &block)
3540
4151
  end
4152
+
4153
+ # Creates a new Transport in a given project and location.
4154
+ # @param [String] parent
4155
+ # Required. Value for parent.
4156
+ # @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
4157
+ # @param [String] request_id
4158
+ # Optional. An optional request ID to identify requests. Specify a unique
4159
+ # request ID so that if you must retry your request, the server will know to
4160
+ # ignore the request if it has already been completed. The server will guarantee
4161
+ # that for at least 60 minutes since the first request. For example, consider a
4162
+ # situation where you make an initial request and the request times out. If you
4163
+ # make the request again with the same request ID, the server can check if
4164
+ # original operation with the same request ID was received, and if so, will
4165
+ # ignore the second request. This prevents clients from accidentally creating
4166
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4167
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4168
+ # @param [String] transport_id
4169
+ # Required. Id of the requesting object
4170
+ # @param [String] fields
4171
+ # Selector specifying which fields to include in a partial response.
4172
+ # @param [String] quota_user
4173
+ # Available to use for quota purposes for server-side applications. Can be any
4174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4175
+ # @param [Google::Apis::RequestOptions] options
4176
+ # Request-specific options
4177
+ #
4178
+ # @yield [result, err] Result & error if block supplied
4179
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
4180
+ # @yieldparam err [StandardError] error object if request failed
4181
+ #
4182
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
4183
+ #
4184
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4185
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4186
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4187
+ def create_project_location_transport(parent, transport_object = nil, request_id: nil, transport_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4188
+ command = make_simple_command(:post, 'v1/{+parent}/transports', options)
4189
+ command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
4190
+ command.request_object = transport_object
4191
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
4192
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
4193
+ command.params['parent'] = parent unless parent.nil?
4194
+ command.query['requestId'] = request_id unless request_id.nil?
4195
+ command.query['transportId'] = transport_id unless transport_id.nil?
4196
+ command.query['fields'] = fields unless fields.nil?
4197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4198
+ execute_or_queue_command(command, &block)
4199
+ end
4200
+
4201
+ # Deletes a single Transport.
4202
+ # @param [String] name
4203
+ # Required. Name of the resource
4204
+ # @param [String] request_id
4205
+ # Optional. An optional request ID to identify requests. Specify a unique
4206
+ # request ID so that if you must retry your request, the server will know to
4207
+ # ignore the request if it has already been completed. The server will guarantee
4208
+ # that for at least 60 minutes after the first request. For example, consider a
4209
+ # situation where you make an initial request and the request times out. If you
4210
+ # make the request again with the same request ID, the server can check if
4211
+ # original operation with the same request ID was received, and if so, will
4212
+ # ignore the second request. This prevents clients from accidentally creating
4213
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4214
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4215
+ # @param [String] fields
4216
+ # Selector specifying which fields to include in a partial response.
4217
+ # @param [String] quota_user
4218
+ # Available to use for quota purposes for server-side applications. Can be any
4219
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4220
+ # @param [Google::Apis::RequestOptions] options
4221
+ # Request-specific options
4222
+ #
4223
+ # @yield [result, err] Result & error if block supplied
4224
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
4225
+ # @yieldparam err [StandardError] error object if request failed
4226
+ #
4227
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
4228
+ #
4229
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4230
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4231
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4232
+ def delete_project_location_transport(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4233
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4234
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
4235
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
4236
+ command.params['name'] = name unless name.nil?
4237
+ command.query['requestId'] = request_id unless request_id.nil?
4238
+ command.query['fields'] = fields unless fields.nil?
4239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4240
+ execute_or_queue_command(command, &block)
4241
+ end
4242
+
4243
+ # Gets details of a single Transport.
4244
+ # @param [String] name
4245
+ # Required. Name of the resource
4246
+ # @param [String] fields
4247
+ # Selector specifying which fields to include in a partial response.
4248
+ # @param [String] quota_user
4249
+ # Available to use for quota purposes for server-side applications. Can be any
4250
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4251
+ # @param [Google::Apis::RequestOptions] options
4252
+ # Request-specific options
4253
+ #
4254
+ # @yield [result, err] Result & error if block supplied
4255
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::Transport] parsed result object
4256
+ # @yieldparam err [StandardError] error object if request failed
4257
+ #
4258
+ # @return [Google::Apis::NetworkconnectivityV1::Transport]
4259
+ #
4260
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4261
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4262
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4263
+ def get_project_location_transport(name, fields: nil, quota_user: nil, options: nil, &block)
4264
+ command = make_simple_command(:get, 'v1/{+name}', options)
4265
+ command.response_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
4266
+ command.response_class = Google::Apis::NetworkconnectivityV1::Transport
4267
+ command.params['name'] = name unless name.nil?
4268
+ command.query['fields'] = fields unless fields.nil?
4269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4270
+ execute_or_queue_command(command, &block)
4271
+ end
4272
+
4273
+ # Lists Transports in a given project and location.
4274
+ # @param [String] parent
4275
+ # Required. Parent value for ListTransportsRequest
4276
+ # @param [String] filter
4277
+ # Optional. Filtering results
4278
+ # @param [String] order_by
4279
+ # Optional. Hint for how to order the results
4280
+ # @param [Fixnum] page_size
4281
+ # Optional. Requested page size. Server may return fewer items than requested.
4282
+ # If unspecified, server will pick an appropriate default.
4283
+ # @param [String] page_token
4284
+ # Optional. A token identifying a page of results the server should return.
4285
+ # @param [String] fields
4286
+ # Selector specifying which fields to include in a partial response.
4287
+ # @param [String] quota_user
4288
+ # Available to use for quota purposes for server-side applications. Can be any
4289
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4290
+ # @param [Google::Apis::RequestOptions] options
4291
+ # Request-specific options
4292
+ #
4293
+ # @yield [result, err] Result & error if block supplied
4294
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::ListTransportsResponse] parsed result object
4295
+ # @yieldparam err [StandardError] error object if request failed
4296
+ #
4297
+ # @return [Google::Apis::NetworkconnectivityV1::ListTransportsResponse]
4298
+ #
4299
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4300
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4301
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4302
+ def list_project_location_transports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4303
+ command = make_simple_command(:get, 'v1/{+parent}/transports', options)
4304
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListTransportsResponse::Representation
4305
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListTransportsResponse
4306
+ command.params['parent'] = parent unless parent.nil?
4307
+ command.query['filter'] = filter unless filter.nil?
4308
+ command.query['orderBy'] = order_by unless order_by.nil?
4309
+ command.query['pageSize'] = page_size unless page_size.nil?
4310
+ command.query['pageToken'] = page_token unless page_token.nil?
4311
+ command.query['fields'] = fields unless fields.nil?
4312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4313
+ execute_or_queue_command(command, &block)
4314
+ end
4315
+
4316
+ # Updates the parameters of a single Transport.
4317
+ # @param [String] name
4318
+ # Identifier. name of resource
4319
+ # @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object
4320
+ # @param [String] request_id
4321
+ # Optional. An optional request ID to identify requests. Specify a unique
4322
+ # request ID so that if you must retry your request, the server will know to
4323
+ # ignore the request if it has already been completed. The server will guarantee
4324
+ # that for at least 60 minutes since the first request. For example, consider a
4325
+ # situation where you make an initial request and the request times out. If you
4326
+ # make the request again with the same request ID, the server can check if
4327
+ # original operation with the same request ID was received, and if so, will
4328
+ # ignore the second request. This prevents clients from accidentally creating
4329
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4330
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4331
+ # @param [String] update_mask
4332
+ # Optional. Field mask is used to specify the fields to be overwritten in the
4333
+ # Transport resource by the update. The fields specified in the update_mask are
4334
+ # relative to the resource, not the full request. A field will be overwritten if
4335
+ # it is in the mask. If the user does not provide a mask then all fields present
4336
+ # in the request will be overwritten.
4337
+ # @param [String] fields
4338
+ # Selector specifying which fields to include in a partial response.
4339
+ # @param [String] quota_user
4340
+ # Available to use for quota purposes for server-side applications. Can be any
4341
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4342
+ # @param [Google::Apis::RequestOptions] options
4343
+ # Request-specific options
4344
+ #
4345
+ # @yield [result, err] Result & error if block supplied
4346
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
4347
+ # @yieldparam err [StandardError] error object if request failed
4348
+ #
4349
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
4350
+ #
4351
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4352
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4353
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4354
+ def patch_project_location_transport(name, transport_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4355
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4356
+ command.request_representation = Google::Apis::NetworkconnectivityV1::Transport::Representation
4357
+ command.request_object = transport_object
4358
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
4359
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
4360
+ command.params['name'] = name unless name.nil?
4361
+ command.query['requestId'] = request_id unless request_id.nil?
4362
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4363
+ command.query['fields'] = fields unless fields.nil?
4364
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4365
+ execute_or_queue_command(command, &block)
4366
+ end
3541
4367
 
3542
4368
  protected
3543
4369