Google Cloud Chronicle V1 Client - Class DuplicateNativeDashboardRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class DuplicateNativeDashboardRequest.

Request message to duplicate a dashboard.

Generated from protobuf message google.cloud.chronicle.v1.DuplicateNativeDashboardRequest

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

↳ native_dashboard NativeDashboard

Required. Any fields that need modification can be passed through this like name, description etc.

getName

Required. The dashboard name to duplicate.

Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

Returns
Type Description
string

setName

Required. The dashboard name to duplicate.

Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

Parameter
Name Description
var string
Returns
Type Description
$this

getNativeDashboard

Required. Any fields that need modification can be passed through this like name, description etc.

Returns
Type Description
NativeDashboard|null

hasNativeDashboard

clearNativeDashboard

setNativeDashboard

Required. Any fields that need modification can be passed through this like name, description etc.

Parameter
Name Description
var NativeDashboard
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} Please see NativeDashboardServiceClient::nativeDashboardName() for help formatting this field.

nativeDashboard NativeDashboard

Required. Any fields that need modification can be passed through this like name, description etc.

Returns
Type Description
DuplicateNativeDashboardRequest