v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1358182299.4 KB
projects

Creates a new ODB Network in a given project and location.

post/v1/{+parent}/odbNetworks

Path parameters

parentstring required

Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.

Query parameters

odbNetworkIdstring

Required. The ID of the OdbNetwork to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

requestIdstring

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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).

Request body

namestring

Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}

networkstring

Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}

createTimestring google-datetime

Output only. The date and time that the OdbNetwork was created.

gcpOracleZonestring

Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.

labelsobject

Optional. Labels or tags associated with the resource.

state'STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'TERMINATING' | 'FAILED'

Output only. State of the ODB Network.

entitlementIdstring

Output only. The ID of the subscription entitlement associated with the OdbNetwork.

Response

Successful response