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

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

Request message for CreateDatasetConfig

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

Namespace

Google \ Cloud \ StorageInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Value for parent.

↳ dataset_config_id string

Required. ID of the requesting object. If auto-generating ID is enabled on the server-side, remove this field and dataset_config_id from the method_signature of Create RPC Note: The value should not contain any hyphens.

↳ dataset_config DatasetConfig

Required. The resource being created

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

getParent

Required. Value for parent.

Returns
Type Description
string

setParent

Required. Value for parent.

Parameter
Name Description
var string
Returns
Type Description
$this

getDatasetConfigId

Required. ID of the requesting object.

If auto-generating ID is enabled on the server-side, remove this field and dataset_config_id from the method_signature of Create RPC Note: The value should not contain any hyphens.

Returns
Type Description
string

setDatasetConfigId

Required. ID of the requesting object.

If auto-generating ID is enabled on the server-side, remove this field and dataset_config_id from the method_signature of Create RPC Note: The value should not contain any hyphens.

Parameter
Name Description
var string
Returns
Type Description
$this

getDatasetConfig

Required. The resource being created

Returns
Type Description
DatasetConfig|null

hasDatasetConfig

clearDatasetConfig

setDatasetConfig

Required. The resource being created

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
parent string

Required. Value for parent. Please see StorageInsightsClient::locationName() for help formatting this field.

datasetConfig DatasetConfig

Required. The resource being created

datasetConfigId string

Required. ID of the requesting object. If auto-generating ID is enabled on the server-side, remove this field and dataset_config_id from the method_signature of Create RPC Note: The value should not contain any hyphens.

Returns
Type Description
CreateDatasetConfigRequest