Skip to content

Commit

Permalink
fix(bigquery): minor rename to feature that's not yet in a release.
Browse files Browse the repository at this point in the history
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
googleapis#4312 and hasn't made
it into a release cut yet, so addressing this now before release.
  • Loading branch information
shollyman committed Jun 25, 2021
1 parent 267787e commit 5e5f923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/job.go
Expand Up @@ -64,7 +64,7 @@ func (c *Client) JobFromIDLocation(ctx context.Context, id, location string) (j
}

// Project returns the job's project.
func (j *Job) Project() string {
func (j *Job) ProjectID() string {
return j.projectID
}

Expand Down

0 comments on commit 5e5f923

Please sign in to comment.