Google Cloud Dataproc V1 Client - Class RuntimeInfo (3.8.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class RuntimeInfo.

Runtime information about workload execution.

Generated from protobuf message google.cloud.dataproc.v1.RuntimeInfo

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoints array|Google\Protobuf\Internal\MapField

Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.

↳ output_uri string

Output only. A URI pointing to the location of the stdout and stderr of the workload.

↳ diagnostic_output_uri string

Output only. A URI pointing to the location of the diagnostics tarball.

↳ approximate_usage Google\Cloud\Dataproc\V1\UsageMetrics

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

↳ current_usage Google\Cloud\Dataproc\V1\UsageSnapshot

Output only. Snapshot of current workload resource usage.

getEndpoints

Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setEndpoints

Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getOutputUri

Output only. A URI pointing to the location of the stdout and stderr of the workload.

Returns
TypeDescription
string

setOutputUri

Output only. A URI pointing to the location of the stdout and stderr of the workload.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDiagnosticOutputUri

Output only. A URI pointing to the location of the diagnostics tarball.

Returns
TypeDescription
string

setDiagnosticOutputUri

Output only. A URI pointing to the location of the diagnostics tarball.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApproximateUsage

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

Returns
TypeDescription
Google\Cloud\Dataproc\V1\UsageMetrics|null

hasApproximateUsage

clearApproximateUsage

setApproximateUsage

Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing).

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\UsageMetrics
Returns
TypeDescription
$this

getCurrentUsage

Output only. Snapshot of current workload resource usage.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\UsageSnapshot|null

hasCurrentUsage

clearCurrentUsage

setCurrentUsage

Output only. Snapshot of current workload resource usage.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\UsageSnapshot
Returns
TypeDescription
$this