Google Cloud Notebooks V1 Client - Class DiagnoseInstanceRequest (0.7.5)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class DiagnoseInstanceRequest.

Request for creating a notebook instance diagnostic file.

Generated from protobuf message google.cloud.notebooks.v1.DiagnoseInstanceRequest

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

↳ diagnostic_config Google\Cloud\Notebooks\V1\DiagnosticConfig

Required. Defines flags that are used to run the diagnostic tool

getName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Returns
Type Description
string

setName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDiagnosticConfig

Required. Defines flags that are used to run the diagnostic tool

Returns
Type Description
Google\Cloud\Notebooks\V1\DiagnosticConfig|null

hasDiagnosticConfig

clearDiagnosticConfig

setDiagnosticConfig

Required. Defines flags that are used to run the diagnostic tool

Parameter
Name Description
var Google\Cloud\Notebooks\V1\DiagnosticConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id} Please see Google\Cloud\Notebooks\V1\NotebookServiceClient::instanceName() for help formatting this field.

diagnosticConfig Google\Cloud\Notebooks\V1\DiagnosticConfig

Required. Defines flags that are used to run the diagnostic tool

Returns
Type Description
Google\Cloud\Notebooks\V1\DiagnoseInstanceRequest