Skip to content

Commit ef8d138

Browse files
authored
fix(bigquery): minor rename to feature that's not yet in a release (#4320)
This adds a minor correction to Job's access to the underlying project. While the access on the Client is more accurately called `Project()` as it accepts project ID or project number, in this case the field is part of the underlying JobReference type. This was added yesterday in #4312 and hasn't made it into a release cut yet, so addressing this now before release.
1 parent f32dd72 commit ef8d138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: bigquery/job.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ func (c *Client) JobFromIDLocation(ctx context.Context, id, location string) (j
6363
return bqToJob(bqjob, c)
6464
}
6565

66-
// Project returns the job's project.
67-
func (j *Job) Project() string {
66+
// ProjectID returns the job's associated project.
67+
func (j *Job) ProjectID() string {
6868
return j.projectID
6969
}
7070

0 commit comments

Comments
 (0)