Google Cloud Dataproc V1 Client - Class RuntimeInfo (2.2.0)

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
Name Description
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 when the workload completes (see Dataproc Serverless pricing). Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

↳ 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
Type Description
Google\Protobuf\Internal\MapField

setEndpoints

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

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getOutputUri

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

Returns
Type Description
string

setOutputUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDiagnosticOutputUri

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

Returns
Type Description
string

setDiagnosticOutputUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getApproximateUsage

Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing).

Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

Returns
Type Description
Google\Cloud\Dataproc\V1\UsageMetrics|null

hasApproximateUsage

clearApproximateUsage

setApproximateUsage

Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing).

Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes for announcements, changes, fixes and other Dataproc developments).

Parameter
Name Description
var Google\Cloud\Dataproc\V1\UsageMetrics
Returns
Type Description
$this

getCurrentUsage

Output only. Snapshot of current workload resource usage.

Returns
Type Description
Google\Cloud\Dataproc\V1\UsageSnapshot|null

hasCurrentUsage

clearCurrentUsage

setCurrentUsage

Output only. Snapshot of current workload resource usage.

Parameter
Name Description
var Google\Cloud\Dataproc\V1\UsageSnapshot
Returns
Type Description
$this