- NAME
-
- gcloud oracle-database goldengate-connection-assignments create - create a new GoldengateConnectionAssignment
- SYNOPSIS
-
-
gcloud oracle-database goldengate-connection-assignments createGOLDENGATE_CONNECTION_ASSIGNMENT(--properties-goldengate-connection=PROPERTIES_GOLDENGATE_CONNECTION--properties-goldengate-deployment=PROPERTIES_GOLDENGATE_DEPLOYMENT) [--async] [--display-name=DISPLAY_NAME] [--labels=[LABELS,…]] [--location=LOCATION] [--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Create a new GoldengateConnectionAssignment.
- EXAMPLES
-
To create a GoldengateConnectionAssignment with id
my-assignmentin the locationus-east4assigning connectionmy-connectionto deploymentmy-deployment, run:gcloud oracle-database goldengate-connection-assignments create my-assignment --location=us-east4 --properties-goldengate-connection=projects/my-project/locations/us-east4/goldengateConnections/my-connection --properties-goldengate-deployment=projects/my-project/locations/us-east4/goldengateDeployments/my-deployment - POSITIONAL ARGUMENTS
-
-
GoldengateConnectionAssignment resource - Identifier. The name of the
GoldengateConnectionAssignment resource in the following format:
projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
This represents a Cloud resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
goldengate_connection_assignmenton the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
goldengate_connection_assignmenton the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
GOLDENGATE_CONNECTION_ASSIGNMENT-
ID of the goldengateConnectionAssignment or fully qualified identifier for the
goldengateConnectionAssignment.
To set the
goldengate_connection_assignmentattribute:-
provide the argument
goldengate_connection_assignmenton the command line.
-
provide the argument
-
provide the argument
-
GoldengateConnectionAssignment resource - Identifier. The name of the
GoldengateConnectionAssignment resource in the following format:
projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
This represents a Cloud resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways.
- REQUIRED FLAGS
-
-
The properties of a GoldengateConnectionAssignment.
This must be specified.
-
GoldengateConnection resource - The GoldengateConnection resource to be
assigned. Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
This represents a Cloud resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
--properties-goldengate-connectionon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--properties-goldengate-connectionon the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
--properties-goldengate-connection=PROPERTIES_GOLDENGATE_CONNECTION-
ID of the goldengateConnection or fully qualified identifier for the
goldengateConnection.
To set the
goldengate-connectionattribute:-
provide the argument
--properties-goldengate-connectionon the command line.
-
provide the argument
-
provide the argument
-
GoldengateDeployment resource - The GoldenGateDeployment to assign the
connection to. Format:
projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
This represents a Cloud resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
--properties-goldengate-deploymenton the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--properties-goldengate-deploymenton the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
--properties-goldengate-deployment=PROPERTIES_GOLDENGATE_DEPLOYMENT-
ID of the goldengateDeployment or fully qualified identifier for the
goldengateDeployment.
To set the
goldengate-deploymentattribute:-
provide the argument
--properties-goldengate-deploymenton the command line.
-
provide the argument
-
provide the argument
-
GoldengateConnection resource - The GoldengateConnection resource to be
assigned. Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
This represents a Cloud resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways.
-
The properties of a GoldengateConnectionAssignment.
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation in progress to complete.
--display-name=DISPLAY_NAME- The display name for the GoldengateConnectionAssignment.
--labels=[LABELS,…]-
The labels or tags associated with the GoldengateConnectionAssignment.
KEY-
Keys must start with a lowercase character and contain only hyphens
(
-), underscores (_), lowercase characters, and numbers. VALUE-
Values must contain only hyphens (
-), underscores (_), lowercase characters, and numbers.
Shorthand Example:--labels=string=string
JSON Example:--labels='{"string": "string"}'
File Example:--labels=path_to_file.(yaml|json)
--location=LOCATION- For resources [goldengate_connection_assignment, properties-goldengate-connection, properties-goldengate-deployment], provides fallback value for resource location attribute. When the resource's full URI path is not provided, location will fallback to this flag value.
--request-id=REQUEST_ID-
An optional 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).
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
oracledatabase/v1API. The full documentation for this API can be found at: https://cloud.google.com/oracle/database/docs
gcloud oracle-database goldengate-connection-assignments create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-19 UTC.