# Google Cloud Dataproc V1 Client - Class RuntimeInfo (3.14.0)

3.14.0 (latest) 3.13.4 3.12.0 3.11.0 3.10.1 3.9.0 3.8.1 3.7.1 3.6.1 3.5.1 3.4.0 3.3.0 3.2.2 2.12.0 2.11.0 2.10.0 2.9.1 2.8.2 2.7.0 2.6.1 2.5.0 2.3.0 2.2.3 2.1.0 2.0.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|https://protobuf.dev/reference/php/api-docs/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` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.UsageMetrics` Output only. Approximate workload resource usage, calculated when the workload completes (see [Dataproc Serverless pricing](https://cloud.google.com/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](https://cloud.google.com/dataproc-serverless/docs/release-notes) for announcements, changes, fixes and other Dataproc developments). |
| `↳ current_usage` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/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** |
| `https://protobuf.dev/reference/php/api-docs/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|https://protobuf.dev/reference/php/api-docs/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](https://cloud.google.com/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](https://cloud.google.com/dataproc-serverless/docs/release-notes)
for announcements, changes, fixes
and other Dataproc developments).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.UsageMetrics|null` |   |

### hasApproximateUsage

### clearApproximateUsage

### setApproximateUsage

Output only. Approximate workload resource usage, calculated when
the workload completes (see [Dataproc Serverless pricing](https://cloud.google.com/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](https://cloud.google.com/dataproc-serverless/docs/release-notes)
for announcements, changes, fixes
and other Dataproc developments).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.UsageMetrics` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCurrentUsage

Output only. Snapshot of current workload resource usage.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.UsageSnapshot|null` |   |

### hasCurrentUsage

### clearCurrentUsage

### setCurrentUsage

Output only. Snapshot of current workload resource usage.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.UsageSnapshot` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |