Google Cloud Storage Insights V1 Client - Class UpdateDatasetConfigRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class UpdateDatasetConfigRequest.

Request message for UpdateDatasetConfig

Generated from protobuf message google.cloud.storageinsights.v1.UpdateDatasetConfigRequest

Namespace

Google \ Cloud \ StorageInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

↳ dataset_config DatasetConfig

Required. The resource being updated

↳ request_id string

Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request. For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request. The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

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

getDatasetConfig

Required. The resource being updated

Returns
Type Description
DatasetConfig|null

hasDatasetConfig

clearDatasetConfig

setDatasetConfig

Required. The resource being updated

Parameter
Name Description
var DatasetConfig
Returns
Type Description
$this

getRequestId

Optional. A unique identifier for your request.

Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request. For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request. The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

Returns
Type Description
string

setRequestId

Optional. A unique identifier for your request.

Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request. For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request. The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000).

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
datasetConfig DatasetConfig

Required. The resource being updated

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the DatasetConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error.

Returns
Type Description
UpdateDatasetConfigRequest