Google Cloud Notebooks V1 Client - Class DiagnoseRuntimeRequest (0.5.0)

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

Request for creating a notebook instance diagnostic file.

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtimes_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}/runtimes/{runtimes_id}

Returns
TypeDescription
string

setName

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtimes_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDiagnosticConfig

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

Returns
TypeDescription
Google\Cloud\Notebooks\V1\DiagnosticConfig|null

hasDiagnosticConfig

clearDiagnosticConfig

setDiagnosticConfig

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

Parameter
NameDescription
var Google\Cloud\Notebooks\V1\DiagnosticConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtimes_id} Please see Google\Cloud\Notebooks\V1\ManagedNotebookServiceClient::runtimeName() for help formatting this field.

diagnosticConfig Google\Cloud\Notebooks\V1\DiagnosticConfig

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

Returns
TypeDescription
Google\Cloud\Notebooks\V1\DiagnoseRuntimeRequest