# Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::JobReference (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::JobReference.

Encapsulates the full scoping used to reference a job.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #job_id

    def job_id() -> ::String

**Returns**

- (::String) --- Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.

  If not specified by the caller, the job ID will be provided by the server.

### #job_id=

    def job_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.


  If not specified by the caller, the job ID will be provided by the server.
**Returns**

- (::String) --- Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.

  If not specified by the caller, the job ID will be provided by the server.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.
**Returns**

- (::String) --- Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.