1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="datastream_v1alpha1.html">Datastream API</a> . <a href="datastream_v1alpha1.projects.html">projects</a> . <a href="datastream_v1alpha1.projects.locations.html">locations</a> . <a href="datastream_v1alpha1.projects.locations.privateConnections.html">privateConnections</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="datastream_v1alpha1.projects.locations.privateConnections.routes.html">routes()</a></code> 79</p> 80<p class="firstline">Returns the routes Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="#close">close()</a></code></p> 84<p class="firstline">Close httplib2 connections.</p> 85<p class="toc_element"> 86 <code><a href="#create">create(parent, body=None, privateConnectionId=None, requestId=None, x__xgafv=None)</a></code></p> 87<p class="firstline">Use this method to create a private connectivity configuration.</p> 88<p class="toc_element"> 89 <code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p> 90<p class="firstline">Use this method to delete a private connectivity configuration.</p> 91<p class="toc_element"> 92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 93<p class="firstline">Use this method to get details about a private connectivity configuration.</p> 94<p class="toc_element"> 95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 96<p class="firstline">Use this method to list private connectivity configurations in a project and location.</p> 97<p class="toc_element"> 98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 99<p class="firstline">Retrieves the next page of results.</p> 100<h3>Method Details</h3> 101<div class="method"> 102 <code class="details" id="close">close()</code> 103 <pre>Close httplib2 connections.</pre> 104</div> 105 106<div class="method"> 107 <code class="details" id="create">create(parent, body=None, privateConnectionId=None, requestId=None, x__xgafv=None)</code> 108 <pre>Use this method to create a private connectivity configuration. 109 110Args: 111 parent: string, Required. The parent that owns the collection of PrivateConnections. (required) 112 body: object, The request body. 113 The object takes the form of: 114 115{ # The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network. 116 "createTime": "A String", # Output only. The create time of the resource. 117 "displayName": "A String", # Required. Display name. 118 "error": { # Represent a user-facing Error. # Output only. In case of error, the details of the error in a user-friendly format. 119 "details": { # Additional information about the error. 120 "a_key": "A String", 121 }, 122 "errorTime": "A String", # The time when the error occurred. 123 "errorUuid": "A String", # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. 124 "message": "A String", # A message containing more information about the error that occurred. 125 "reason": "A String", # A title that explains the reason for the error. 126 }, 127 "labels": { # Labels. 128 "a_key": "A String", 129 }, 130 "name": "A String", # Output only. The resource's name. 131 "state": "A String", # Output only. The state of the Private Connection. 132 "updateTime": "A String", # Output only. The update time of the resource. 133 "vpcPeeringConfig": { # The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. # VPC Peering Config 134 "subnet": "A String", # Required. A free subnet for peering. (CIDR of /29) TODO(b/172995841) add validators. 135 "vpcName": "A String", # Required. fully qualified name of the VPC Datastream will peer to. 136 }, 137} 138 139 privateConnectionId: string, Required. The private connectivity identifier. 140 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 141 x__xgafv: string, V1 error format. 142 Allowed values 143 1 - v1 error format 144 2 - v2 error format 145 146Returns: 147 An object of the form: 148 149 { # This resource represents a long-running operation that is the result of a network API call. 150 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 151 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 152 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 153 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 154 { 155 "a_key": "", # Properties of the object. Contains field @type with type URL. 156 }, 157 ], 158 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 159 }, 160 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 161 "a_key": "", # Properties of the object. Contains field @type with type URL. 162 }, 163 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 164 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 165 "a_key": "", # Properties of the object. Contains field @type with type URL. 166 }, 167}</pre> 168</div> 169 170<div class="method"> 171 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code> 172 <pre>Use this method to delete a private connectivity configuration. 173 174Args: 175 name: string, Required. The name of the private connectivity configuration to delete. (required) 176 force: boolean, Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted. 177 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 178 x__xgafv: string, V1 error format. 179 Allowed values 180 1 - v1 error format 181 2 - v2 error format 182 183Returns: 184 An object of the form: 185 186 { # This resource represents a long-running operation that is the result of a network API call. 187 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 188 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 189 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 190 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 191 { 192 "a_key": "", # Properties of the object. Contains field @type with type URL. 193 }, 194 ], 195 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 196 }, 197 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 198 "a_key": "", # Properties of the object. Contains field @type with type URL. 199 }, 200 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 201 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 202 "a_key": "", # Properties of the object. Contains field @type with type URL. 203 }, 204}</pre> 205</div> 206 207<div class="method"> 208 <code class="details" id="get">get(name, x__xgafv=None)</code> 209 <pre>Use this method to get details about a private connectivity configuration. 210 211Args: 212 name: string, Required. The name of the private connectivity configuration to get. (required) 213 x__xgafv: string, V1 error format. 214 Allowed values 215 1 - v1 error format 216 2 - v2 error format 217 218Returns: 219 An object of the form: 220 221 { # The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network. 222 "createTime": "A String", # Output only. The create time of the resource. 223 "displayName": "A String", # Required. Display name. 224 "error": { # Represent a user-facing Error. # Output only. In case of error, the details of the error in a user-friendly format. 225 "details": { # Additional information about the error. 226 "a_key": "A String", 227 }, 228 "errorTime": "A String", # The time when the error occurred. 229 "errorUuid": "A String", # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. 230 "message": "A String", # A message containing more information about the error that occurred. 231 "reason": "A String", # A title that explains the reason for the error. 232 }, 233 "labels": { # Labels. 234 "a_key": "A String", 235 }, 236 "name": "A String", # Output only. The resource's name. 237 "state": "A String", # Output only. The state of the Private Connection. 238 "updateTime": "A String", # Output only. The update time of the resource. 239 "vpcPeeringConfig": { # The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. # VPC Peering Config 240 "subnet": "A String", # Required. A free subnet for peering. (CIDR of /29) TODO(b/172995841) add validators. 241 "vpcName": "A String", # Required. fully qualified name of the VPC Datastream will peer to. 242 }, 243}</pre> 244</div> 245 246<div class="method"> 247 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code> 248 <pre>Use this method to list private connectivity configurations in a project and location. 249 250Args: 251 parent: string, Required. The parent that owns the collection of private connectivity configurations. (required) 252 filter: string, Filter request. 253 orderBy: string, Order by fields for the result. 254 pageSize: integer, Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. 255 pageToken: string, Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. 256 x__xgafv: string, V1 error format. 257 Allowed values 258 1 - v1 error format 259 2 - v2 error format 260 261Returns: 262 An object of the form: 263 264 { 265 "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. 266 "privateConnections": [ # List of private connectivity configurations. 267 { # The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network. 268 "createTime": "A String", # Output only. The create time of the resource. 269 "displayName": "A String", # Required. Display name. 270 "error": { # Represent a user-facing Error. # Output only. In case of error, the details of the error in a user-friendly format. 271 "details": { # Additional information about the error. 272 "a_key": "A String", 273 }, 274 "errorTime": "A String", # The time when the error occurred. 275 "errorUuid": "A String", # A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. 276 "message": "A String", # A message containing more information about the error that occurred. 277 "reason": "A String", # A title that explains the reason for the error. 278 }, 279 "labels": { # Labels. 280 "a_key": "A String", 281 }, 282 "name": "A String", # Output only. The resource's name. 283 "state": "A String", # Output only. The state of the Private Connection. 284 "updateTime": "A String", # Output only. The update time of the resource. 285 "vpcPeeringConfig": { # The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. # VPC Peering Config 286 "subnet": "A String", # Required. A free subnet for peering. (CIDR of /29) TODO(b/172995841) add validators. 287 "vpcName": "A String", # Required. fully qualified name of the VPC Datastream will peer to. 288 }, 289 }, 290 ], 291 "unreachable": [ # Locations that could not be reached. 292 "A String", 293 ], 294}</pre> 295</div> 296 297<div class="method"> 298 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 299 <pre>Retrieves the next page of results. 300 301Args: 302 previous_request: The request for the previous page. (required) 303 previous_response: The response from the request for the previous page. (required) 304 305Returns: 306 A request object that you can call 'execute()' on to request the next 307 page. Returns None if there are no more items in the collection. 308 </pre> 309</div> 310 311</body></html>