Skip to main content

replications_internal

Creates, updates, deletes, gets or lists a replications_internal resource.

Overview

Namereplications_internal
TypeResource
Idgoogle.saasservicemgmt.replications_internal

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/replicationInternal/{replication_internal_id}"
annotationsobjectOptional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
createTimestring (google-datetime)Output only. The timestamp when the resource was created.
etagstringOutput only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
labelsobjectOptional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
maxRetryCountinteger (int32)Optional. The maximum number of retries for the replication. If the replication fails from a retryable error, it will be retried for this number of times.
payloadobjectRequired. The payload of the request for replication. It could be any request type that is supported by the replication service. e.g. CreateUnitKindRequest, UpdateUnitKindRequest, DeleteReleaseRequest, etc.
statestringOutput only. The state of the replication.
statsobjectOutput only. The stats of the replication. One key for each location in target_locations
targetLocationsarrayOptional. The target locations to replicate the resource to.
uidstringOutput only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
updateTimestring (google-datetime)Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, replicationsInternalIdRetrieve a single replication internal.
listselectprojectsId, locationsIdpageToken, orderBy, filter, pageSizeRetrieve a collection of replication internals.
createinsertprojectsId, locationsIdvalidateOnly, replicationInternalId, requestIdCreate a new replication internal.
patchupdateprojectsId, locationsId, replicationsInternalIdetag, updateMask, validateOnly, requestIdUpdate a single replication internal.
deletedeleteprojectsId, locationsId, replicationsInternalIdrequestId, etag, validateOnlyDelete a single replication internal.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
replicationsInternalIdstring
etagstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
replicationInternalIdstring
requestIdstring
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples

Retrieve a single replication internal.

SELECT
name,
annotations,
createTime,
etag,
labels,
maxRetryCount,
payload,
state,
stats,
targetLocations,
uid,
updateTime
FROM google.saasservicemgmt.replications_internal
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND replicationsInternalId = '{{ replicationsInternalId }}' -- required
;

INSERT examples

Create a new replication internal.

INSERT INTO google.saasservicemgmt.replications_internal (
data__name,
data__labels,
data__annotations,
data__payload,
data__targetLocations,
data__maxRetryCount,
projectsId,
locationsId,
validateOnly,
replicationInternalId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ annotations }}',
'{{ payload }}',
'{{ targetLocations }}',
{{ maxRetryCount }},
'{{ projectsId }}',
'{{ locationsId }}',
'{{ validateOnly }}',
'{{ replicationInternalId }}',
'{{ requestId }}'
RETURNING
name,
annotations,
createTime,
etag,
labels,
maxRetryCount,
payload,
state,
stats,
targetLocations,
uid,
updateTime
;

UPDATE examples

Update a single replication internal.

UPDATE google.saasservicemgmt.replications_internal
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__annotations = '{{ annotations }}',
data__payload = '{{ payload }}',
data__targetLocations = '{{ targetLocations }}',
data__maxRetryCount = {{ maxRetryCount }}
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND replicationsInternalId = '{{ replicationsInternalId }}' --required
AND etag = '{{ etag}}'
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
AND requestId = '{{ requestId}}'
RETURNING
name,
annotations,
createTime,
etag,
labels,
maxRetryCount,
payload,
state,
stats,
targetLocations,
uid,
updateTime;

DELETE examples

Delete a single replication internal.

DELETE FROM google.saasservicemgmt.replications_internal
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND replicationsInternalId = '{{ replicationsInternalId }}' --required
AND requestId = '{{ requestId }}'
AND etag = '{{ etag }}'
AND validateOnly = '{{ validateOnly }}'
;