google-apis-networkconnectivity_v1 0.63.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.
@@ -1739,25 +1739,26 @@ 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.
1742
+ # Creates a `MulticloudDataTransferConfig` resource in a specified project and
1743
+ # location.
1743
1744
  # @param [String] parent
1744
- # Required. The parent resource's name
1745
+ # Required. The name of the parent resource.
1745
1746
  # @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
1746
1747
  # @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.
1748
+ # Required. The ID to use for the `MulticloudDataTransferConfig` resource, which
1749
+ # becomes the final component of the `MulticloudDataTransferConfig` resource
1750
+ # name.
1749
1751
  # @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).
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.
1761
1762
  # @param [String] fields
1762
1763
  # Selector specifying which fields to include in a partial response.
1763
1764
  # @param [String] quota_user
@@ -1789,24 +1790,24 @@ module Google
1789
1790
  execute_or_queue_command(command, &block)
1790
1791
  end
1791
1792
 
1792
- # Deletes a single MulticloudDataTransferConfig.
1793
+ # Deletes a `MulticloudDataTransferConfig` resource.
1793
1794
  # @param [String] name
1794
- # Required. The name of the MulticloudDataTransferConfig resource to delete.
1795
+ # Required. The name of the `MulticloudDataTransferConfig` resource to delete.
1795
1796
  # @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.
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.
1798
1800
  # @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).
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.
1810
1811
  # @param [String] fields
1811
1812
  # Selector specifying which fields to include in a partial response.
1812
1813
  # @param [String] quota_user
@@ -1836,9 +1837,9 @@ module Google
1836
1837
  execute_or_queue_command(command, &block)
1837
1838
  end
1838
1839
 
1839
- # Gets details of a single MulticloudDataTransferConfig.
1840
+ # Gets the details of a `MulticloudDataTransferConfig` resource.
1840
1841
  # @param [String] name
1841
- # Required. Name of the MulticloudDataTransferConfig to get.
1842
+ # Required. The name of the `MulticloudDataTransferConfig` resource to get.
1842
1843
  # @param [String] fields
1843
1844
  # Selector specifying which fields to include in a partial response.
1844
1845
  # @param [String] quota_user
@@ -1866,20 +1867,21 @@ module Google
1866
1867
  execute_or_queue_command(command, &block)
1867
1868
  end
1868
1869
 
1869
- # Lists MulticloudDataTransferConfigs in a given project and location.
1870
+ # Lists the `MulticloudDataTransferConfig` resources in a specified project and
1871
+ # location.
1870
1872
  # @param [String] parent
1871
- # Required. The parent resource's name
1873
+ # Required. The name of the parent resource.
1872
1874
  # @param [String] filter
1873
- # Optional. A filter expression that filters the results listed in the response.
1875
+ # Optional. An expression that filters the results listed in the response.
1874
1876
  # @param [String] order_by
1875
- # Optional. Sort the results by a certain order.
1877
+ # Optional. The sort order of the results.
1876
1878
  # @param [Fixnum] page_size
1877
- # Optional. The maximum number of results per page that should be returned.
1879
+ # Optional. The maximum number of results listed per page.
1878
1880
  # @param [String] page_token
1879
1881
  # Optional. The page token.
1880
1882
  # @param [Boolean] return_partial_success
1881
- # Optional. If true, allow partial responses for multi-regional Aggregated List
1882
- # requests.
1883
+ # Optional. If `true`, allows partial responses for multi-regional aggregated
1884
+ # list requests.
1883
1885
  # @param [String] fields
1884
1886
  # Selector specifying which fields to include in a partial response.
1885
1887
  # @param [String] quota_user
@@ -1912,30 +1914,30 @@ module Google
1912
1914
  execute_or_queue_command(command, &block)
1913
1915
  end
1914
1916
 
1915
- # Updates a MulticloudDataTransferConfig in a given project and location.
1917
+ # Updates a `MulticloudDataTransferConfig` resource in a specified project and
1918
+ # location.
1916
1919
  # @param [String] name
1917
- # Identifier. The name of the MulticloudDataTransferConfig resource. Format: `
1920
+ # Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `
1918
1921
  # projects/`project`/locations/`location`/multicloudDataTransferConfigs/`
1919
1922
  # multicloud_data_transfer_config``.
1920
1923
  # @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
1921
1924
  # @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).
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.
1933
1935
  # @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.
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.
1939
1941
  # @param [String] fields
1940
1942
  # Selector specifying which fields to include in a partial response.
1941
1943
  # @param [String] quota_user
@@ -1967,24 +1969,24 @@ module Google
1967
1969
  execute_or_queue_command(command, &block)
1968
1970
  end
1969
1971
 
1970
- # Creates a Destination in a given project and location.
1972
+ # Creates a `Destination` resource in a specified project and location.
1971
1973
  # @param [String] parent
1972
- # Required. The parent resource's name
1974
+ # Required. The name of the parent resource.
1973
1975
  # @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
1974
1976
  # @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
+ # Required. The ID to use for the `Destination` resource, which becomes the
1978
+ # final component of the `Destination` resource name.
1977
1979
  # @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).
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.
1988
1990
  # @param [String] fields
1989
1991
  # Selector specifying which fields to include in a partial response.
1990
1992
  # @param [String] quota_user
@@ -2016,23 +2018,23 @@ module Google
2016
2018
  execute_or_queue_command(command, &block)
2017
2019
  end
2018
2020
 
2019
- # Deletes a single Destination.
2021
+ # Deletes a `Destination` resource.
2020
2022
  # @param [String] name
2021
- # Required. The name of the Destination resource to delete.
2023
+ # Required. The name of the `Destination` resource to delete.
2022
2024
  # @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
+ # 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.
2025
2028
  # @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).
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.
2036
2038
  # @param [String] fields
2037
2039
  # Selector specifying which fields to include in a partial response.
2038
2040
  # @param [String] quota_user
@@ -2062,9 +2064,9 @@ module Google
2062
2064
  execute_or_queue_command(command, &block)
2063
2065
  end
2064
2066
 
2065
- # Gets details of a single Destination.
2067
+ # Gets the details of a `Destination` resource.
2066
2068
  # @param [String] name
2067
- # Required. Name of the Destination to get.
2069
+ # Required. The name of the `Destination` resource to get.
2068
2070
  # @param [String] fields
2069
2071
  # Selector specifying which fields to include in a partial response.
2070
2072
  # @param [String] quota_user
@@ -2092,20 +2094,20 @@ module Google
2092
2094
  execute_or_queue_command(command, &block)
2093
2095
  end
2094
2096
 
2095
- # Lists Destinations in a given project and location.
2097
+ # Lists the `Destination` resources in a specified project and location.
2096
2098
  # @param [String] parent
2097
- # Required. The parent resource's name
2099
+ # Required. The name of the parent resource.
2098
2100
  # @param [String] filter
2099
- # Optional. A filter expression that filters the results listed in the response.
2101
+ # Optional. An expression that filters the results listed in the response.
2100
2102
  # @param [String] order_by
2101
- # Optional. Sort the results by a certain order.
2103
+ # Optional. The sort order of the results.
2102
2104
  # @param [Fixnum] page_size
2103
- # Optional. The maximum number of results per page that should be returned.
2105
+ # Optional. The maximum number of results listed per page.
2104
2106
  # @param [String] page_token
2105
2107
  # Optional. The page token.
2106
2108
  # @param [Boolean] return_partial_success
2107
- # Optional. If true, allow partial responses for multi-regional Aggregated List
2108
- # requests.
2109
+ # Optional. If `true`, allow partial responses for multi-regional aggregated
2110
+ # list requests.
2109
2111
  # @param [String] fields
2110
2112
  # Selector specifying which fields to include in a partial response.
2111
2113
  # @param [String] quota_user
@@ -2138,29 +2140,27 @@ module Google
2138
2140
  execute_or_queue_command(command, &block)
2139
2141
  end
2140
2142
 
2141
- # Updates a Destination in a given project and location.
2143
+ # Updates a `Destination` resource in a specified project and location.
2142
2144
  # @param [String] name
2143
- # Identifier. The name of the Destination resource. Format: `projects/`project`/
2144
- # locations/`location`/multicloudDataTransferConfigs/`
2145
+ # Identifier. The name of the `Destination` resource. Format: `projects/`project`
2146
+ # /locations/`location`/multicloudDataTransferConfigs/`
2145
2147
  # multicloud_data_transfer_config`/destinations/`destination``.
2146
2148
  # @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
2147
2149
  # @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).
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.
2158
2159
  # @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.
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
2164
  # @param [String] fields
2165
2165
  # Selector specifying which fields to include in a partial response.
2166
2166
  # @param [String] quota_user
@@ -2192,7 +2192,7 @@ module Google
2192
2192
  execute_or_queue_command(command, &block)
2193
2193
  end
2194
2194
 
2195
- # Gets details of a single MulticloudDataTransferSupportedServices.
2195
+ # Gets the details of a service that is supported for Data Transfer Essentials.
2196
2196
  # @param [String] name
2197
2197
  # Required. The name of the service.
2198
2198
  # @param [String] fields
@@ -2222,12 +2222,12 @@ module Google
2222
2222
  execute_or_queue_command(command, &block)
2223
2223
  end
2224
2224
 
2225
- # Lists the supported services for Multicloud Data Transfer. This is a
2226
- # passthrough method.
2225
+ # Lists the services in the project for a region that are supported for Data
2226
+ # Transfer Essentials.
2227
2227
  # @param [String] parent
2228
- # Required. The parent resource's name
2228
+ # Required. The name of the parent resource.
2229
2229
  # @param [Fixnum] page_size
2230
- # Optional. The maximum number of results per page that should be returned.
2230
+ # Optional. The maximum number of results listed per page.
2231
2231
  # @param [String] page_token
2232
2232
  # Optional. The page token.
2233
2233
  # @param [String] fields
@@ -2568,6 +2568,79 @@ module Google
2568
2568
  execute_or_queue_command(command, &block)
2569
2569
  end
2570
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
+
2571
2644
  # Deletes a single ServiceClass.
2572
2645
  # @param [String] name
2573
2646
  # Required. The name of the ServiceClass to delete.
@@ -3210,6 +3283,18 @@ module Google
3210
3283
  # Required. The parent resource's name of the ServiceConnectionPolicy. ex.
3211
3284
  # projects/123/locations/us-east1
3212
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.
3213
3298
  # @param [String] request_id
3214
3299
  # Optional. An optional request ID to identify requests. Specify a unique
3215
3300
  # request ID so that if you must retry your request, the server will know to
@@ -3225,6 +3310,8 @@ module Google
3225
3310
  # Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/
3226
3311
  # serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-
3227
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.
3228
3315
  # @param [String] fields
3229
3316
  # Selector specifying which fields to include in a partial response.
3230
3317
  # @param [String] quota_user
@@ -3242,15 +3329,19 @@ module Google
3242
3329
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3243
3330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3244
3331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3245
- 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)
3246
3333
  command = make_simple_command(:post, 'v1/{+parent}/serviceConnectionPolicies', options)
3247
3334
  command.request_representation = Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy::Representation
3248
3335
  command.request_object = service_connection_policy_object
3249
3336
  command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
3250
3337
  command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
3251
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?
3252
3342
  command.query['requestId'] = request_id unless request_id.nil?
3253
3343
  command.query['serviceConnectionPolicyId'] = service_connection_policy_id unless service_connection_policy_id.nil?
3344
+ command.query['subnetworkMode'] = subnetwork_mode unless subnetwork_mode.nil?
3254
3345
  command.query['fields'] = fields unless fields.nil?
3255
3346
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3256
3347
  execute_or_queue_command(command, &block)
@@ -4058,6 +4149,221 @@ module Google
4058
4149
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4059
4150
  execute_or_queue_command(command, &block)
4060
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
4061
4367
 
4062
4368
  protected
4063
4369