Google Cloud Oracle Database V1 Client - Class UpdateAutonomousDatabaseRequest (0.15.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class UpdateAutonomousDatabaseRequest.

The request for AutonomousDatabase.Update.

Generated from protobuf message google.cloud.oracledatabase.v1.UpdateAutonomousDatabaseRequest

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

↳ autonomous_database AutonomousDatabase

Required. The Autonomous Database resource being updated. For labels, the provided map completely replaces existing labels; any existing keys not included will be deleted. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

↳ request_id string

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).

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getAutonomousDatabase

Required. The Autonomous Database resource being updated.

For labels, the provided map completely replaces existing labels; any existing keys not included will be deleted. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

Returns
Type Description
AutonomousDatabase|null

hasAutonomousDatabase

clearAutonomousDatabase

setAutonomousDatabase

Required. The Autonomous Database resource being updated.

For labels, the provided map completely replaces existing labels; any existing keys not included will be deleted. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

Parameter
Name Description
var AutonomousDatabase
Returns
Type Description
$this

getRequestId

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).

Returns
Type Description
string

setRequestId

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).

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
autonomousDatabase AutonomousDatabase

Required. The Autonomous Database resource being updated. For labels, the provided map completely replaces existing labels; any existing keys not included will be deleted. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Returns
Type Description
UpdateAutonomousDatabaseRequest