chore(all): update deps (#10116)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cloud.google.com/go/accesscontextmanager](https://togithub.com/googleapis/google-cloud-go) | `v1.8.6` -> `v1.8.7` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2faccesscontextmanager/v1.8.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2faccesscontextmanager/v1.8.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2faccesscontextmanager/v1.8.6/v1.8.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2faccesscontextmanager/v1.8.6/v1.8.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/auth](https://togithub.com/googleapis/google-cloud-go) | `v0.3.0` -> `v0.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fauth/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fauth/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fauth/v0.3.0/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fauth/v0.3.0/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/datacatalog](https://togithub.com/googleapis/google-cloud-go) | `v1.20.0` -> `v1.20.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fdatacatalog/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fdatacatalog/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fdatacatalog/v1.20.0/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fdatacatalog/v1.20.0/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/grafeas](https://togithub.com/googleapis/google-cloud-go) | `v0.3.5` -> `v0.3.6` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fgrafeas/v0.3.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fgrafeas/v0.3.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fgrafeas/v0.3.5/v0.3.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fgrafeas/v0.3.5/v0.3.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/iam](https://togithub.com/googleapis/google-cloud-go) | `v1.1.7` -> `v1.1.8` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fiam/v1.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fiam/v1.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fiam/v1.1.7/v1.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fiam/v1.1.7/v1.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/kms](https://togithub.com/googleapis/google-cloud-go) | `v1.15.8` -> `v1.15.9` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fkms/v1.15.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fkms/v1.15.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fkms/v1.15.8/v1.15.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fkms/v1.15.8/v1.15.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/longrunning](https://togithub.com/googleapis/google-cloud-go) | `v0.5.6` -> `v0.5.7` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2flongrunning/v0.5.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2flongrunning/v0.5.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2flongrunning/v0.5.6/v0.5.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2flongrunning/v0.5.6/v0.5.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/orgpolicy](https://togithub.com/googleapis/google-cloud-go) | `v1.12.2` -> `v1.12.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2forgpolicy/v1.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2forgpolicy/v1.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2forgpolicy/v1.12.2/v1.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2forgpolicy/v1.12.2/v1.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/osconfig](https://togithub.com/googleapis/google-cloud-go) | `v1.12.6` -> `v1.12.7` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fosconfig/v1.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fosconfig/v1.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fosconfig/v1.12.6/v1.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fosconfig/v1.12.6/v1.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/pubsub](https://togithub.com/googleapis/google-cloud-go) | `v1.37.0` -> `v1.38.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fpubsub/v1.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fpubsub/v1.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fpubsub/v1.37.0/v1.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fpubsub/v1.37.0/v1.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [cloud.google.com/go/translate](https://togithub.com/googleapis/google-cloud-go) | `v1.10.2` -> `v1.10.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2ftranslate/v1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2ftranslate/v1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2ftranslate/v1.10.2/v1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2ftranslate/v1.10.2/v1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [github.com/google/pprof](https://togithub.com/google/pprof) | `v0.0.0-20240430035430-e4905b036c4e` -> `v0.0.0-20240507165812-eadc5834db1b` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fpprof/v0.0.0-20240507165812-eadc5834db1b?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fpprof/v0.0.0-20240507165812-eadc5834db1b?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fpprof/v0.0.0-20240430035430-e4905b036c4e/v0.0.0-20240507165812-eadc5834db1b?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fpprof/v0.0.0-20240430035430-e4905b036c4e/v0.0.0-20240507165812-eadc5834db1b?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [github.com/googleapis/gax-go/v2](https://togithub.com/googleapis/gax-go) | `v2.12.3` -> `v2.12.4` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogleapis%2fgax-go%2fv2/v2.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogleapis%2fgax-go%2fv2/v2.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogleapis%2fgax-go%2fv2/v2.12.3/v2.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogleapis%2fgax-go%2fv2/v2.12.3/v2.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| golang.org/x/net | `v0.24.0` -> `v0.25.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| golang.org/x/oauth2 | `v0.19.0` -> `v0.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2foauth2/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2foauth2/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2foauth2/v0.19.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2foauth2/v0.19.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| golang.org/x/text | `v0.14.0` -> `v0.15.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| golang.org/x/tools | `v0.20.0` -> `v0.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [google.golang.org/api](https://togithub.com/googleapis/google-api-go-client) | `v0.177.0` -> `v0.178.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fapi/v0.178.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fapi/v0.178.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fapi/v0.177.0/v0.178.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fapi/v0.177.0/v0.178.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | `v0.0.0-20240429193739-8cf5692501f6` -> `v0.0.0-20240506185236-b8a5c65736ae` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240429193739-8cf5692501f6/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240429193739-8cf5692501f6/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto) | `v0.0.0-20240429193739-8cf5692501f6` -> `v0.0.0-20240506185236-b8a5c65736ae` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240429193739-8cf5692501f6/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240429193739-8cf5692501f6/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [google.golang.org/protobuf](https://togithub.com/protocolbuffers/protobuf-go) | `v1.34.0` -> `v1.34.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/google-cloud-go (cloud.google.com/go/auth)</summary>

### [`v0.4.0`](https://togithub.com/googleapis/google-cloud-go/blob/HEAD/CHANGES.md#v040)

[Compare Source](https://togithub.com/googleapis/google-cloud-go/compare/v0.3.0...v0.4.0)

-   bigquery:
    \-`NewGCSReference` is now a function, not a method on `Client`.
    -   `Table.LoaderFrom` now accepts a `ReaderSource`, enabling
        loading data into a table from a file or any `io.Reader`.

    <!---->

    -   Client.Table and Client.OpenTable have been removed.
        Replace
        ```go
        client.OpenTable("project", "dataset", "table")
        ```
        with
        ```go
        client.DatasetInProject("project", "dataset").Table("table")
        ```

    -   Client.CreateTable has been removed.
        Replace
        ```go
        client.CreateTable(ctx, "project", "dataset", "table")
        ```
        with
        ```go
        client.DatasetInProject("project", "dataset").Table("table").Create(ctx)
        ```

    -   Dataset.ListTables have been replaced with Dataset.Tables.
        Replace
        ```go
        tables, err := ds.ListTables(ctx)
        ```
        with
        ```go
        it := ds.Tables(ctx)
        for {
            table, err := it.Next()
            if err == iterator.Done {
                break
            }
            if err != nil {
                // TODO: Handle error.
            }
            // TODO: use table.
        }
        ```

    -   Client.Read has been replaced with Job.Read, Table.Read and Query.Read.
        Replace
        ```go
        it, err := client.Read(ctx, job)
        ```
        with
        ```go
        it, err := job.Read(ctx)
        ```
        and similarly for reading from tables or queries.

    -   The iterator returned from the Read methods is now named RowIterator. Its
        behavior is closer to the other iterators in these libraries. It no longer
        supports the Schema method; see the next item.
        Replace
        ```go
        for it.Next(ctx) {
            var vals ValueList
            if err := it.Get(&vals); err != nil {
                // TODO: Handle error.
            }
            // TODO: use vals.
        }
        if err := it.Err(); err != nil {
            // TODO: Handle error.
        }
        ```
        with
            for {
                var vals ValueList
                err := it.Next(&vals)
                if err == iterator.Done {
                    break
                }
                if err != nil {
                    // TODO: Handle error.
                }
                // TODO: use vals.
            }
        Instead of the `RecordsPerRequest(n)` option, write
        ```go
        it.PageInfo().MaxSize = n
        ```
        Instead of the `StartIndex(i)` option, write
        ```go
        it.StartIndex = i
        ```

    -   ValueLoader.Load now takes a Schema in addition to a slice of Values.
        Replace
        ```go
        func (vl *myValueLoader) Load(v []bigquery.Value)
        ```
        with
        ```go
        func (vl *myValueLoader) Load(v []bigquery.Value, s bigquery.Schema)
        ```

    -   Table.Patch is replace by Table.Update.
        Replace
        ```go
        p := table.Patch()
        p.Description("new description")
        metadata, err := p.Apply(ctx)
        ```
        with
        ```go
        metadata, err := table.Update(ctx, bigquery.TableMetadataToUpdate{
            Description: "new description",
        })
        ```

    -   Client.Copy is replaced by separate methods for each of its four functions.
        All options have been replaced by struct fields.

        -   To load data from Google Cloud Storage into a table, use Table.LoaderFrom.

            Replace

            ```go
            client.Copy(ctx, table, gcsRef)
            ```

            with

            ```go
            table.LoaderFrom(gcsRef).Run(ctx)
            ```

            Instead of passing options to Copy, set fields on the Loader:

            ```go
            loader := table.LoaderFrom(gcsRef)
            loader.WriteDisposition = bigquery.WriteTruncate
            ```

        -   To extract data from a table into Google Cloud Storage, use
            Table.ExtractorTo. Set fields on the returned Extractor instead of
            passing options.

            Replace

            ```go
            client.Copy(ctx, gcsRef, table)
            ```

            with

            ```go
            table.ExtractorTo(gcsRef).Run(ctx)
            ```

        -   To copy data into a table from one or more other tables, use
            Table.CopierFrom. Set fields on the returned Copier instead of passing options.

            Replace

            ```go
            client.Copy(ctx, dstTable, srcTable)
            ```

            with

            ```go
            dst.Table.CopierFrom(srcTable).Run(ctx)
            ```

        -   To start a query job, create a Query and call its Run method. Set fields
            on the query instead of passing options.

            Replace

            ```go
            client.Copy(ctx, table, query)
            ```

            with

            ```go
            query.Run(ctx)
            ```

    -   Table.NewUploader has been renamed to Table.Uploader. Instead of options,
        configure an Uploader by setting its fields.
        Replace
        ```go
        u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())
        ```
        with
        ```go
        u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())
        u.IgnoreUnknownValues = true
        ```

-   pubsub: remove `pubsub.Done`. Use `iterator.Done` instead, where `iterator` is the package
    `google.golang.org/api/iterator`.

</details>

<details>
<summary>googleapis/gax-go (github.com/googleapis/gax-go/v2)</summary>

### [`v2.12.4`](https://togithub.com/googleapis/gax-go/releases/tag/v2.12.4)

[Compare Source](https://togithub.com/googleapis/gax-go/compare/v2.12.3...v2.12.4)

##### Bug Fixes

-   provide unmarshal options for streams ([#&#8203;343](https://togithub.com/googleapis/gax-go/issues/343)) ([ddf9a90](https://togithub.com/googleapis/gax-go/commit/ddf9a90bf180295d49875e15cb80b2136a49dbaf))

</details>

<details>
<summary>googleapis/google-api-go-client (google.golang.org/api)</summary>

### [`v0.178.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.178.0)

[Compare Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.177.0...v0.178.0)

##### Features

-   **all:** Auto-regenerate discovery clients ([#&#8203;2561](https://togithub.com/googleapis/google-api-go-client/issues/2561)) ([2d22d11](https://togithub.com/googleapis/google-api-go-client/commit/2d22d11df9643a4fad0f9e952d7a92a419370122))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2564](https://togithub.com/googleapis/google-api-go-client/issues/2564)) ([b313e4b](https://togithub.com/googleapis/google-api-go-client/commit/b313e4bd70e601fd7a2a931f168fb1dece980e75))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2565](https://togithub.com/googleapis/google-api-go-client/issues/2565)) ([0843d21](https://togithub.com/googleapis/google-api-go-client/commit/0843d217048b2e713c0d273b95b33afb99926a8c))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2567](https://togithub.com/googleapis/google-api-go-client/issues/2567)) ([76b27f1](https://togithub.com/googleapis/google-api-go-client/commit/76b27f162032649ddb3cb3f06ed24c7333b3fa66))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2568](https://togithub.com/googleapis/google-api-go-client/issues/2568)) ([d922e3b](https://togithub.com/googleapis/google-api-go-client/commit/d922e3b559ce5832941390b4f9bf91210e3f6579))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2570](https://togithub.com/googleapis/google-api-go-client/issues/2570)) ([f2da582](https://togithub.com/googleapis/google-api-go-client/commit/f2da582c9f6aab240d44c8ebd2dcc43f5096f896))
-   **all:** Auto-regenerate discovery clients ([#&#8203;2571](https://togithub.com/googleapis/google-api-go-client/issues/2571)) ([0c976dc](https://togithub.com/googleapis/google-api-go-client/commit/0c976dcc8d1d653f2284ce273493e6714a6d4b2a))
-   **gen:** Add internaloption.EnableNewAuthLibrary ([#&#8203;2519](https://togithub.com/googleapis/google-api-go-client/issues/2519)) ([8c74bb8](https://togithub.com/googleapis/google-api-go-client/commit/8c74bb83e2bc27188154c506e63a3e0f3a042f55))
-   **google-api-go-client:** Add x-goog-api-version header ([#&#8203;2563](https://togithub.com/googleapis/google-api-go-client/issues/2563)) ([fe54ffd](https://togithub.com/googleapis/google-api-go-client/commit/fe54ffd92359506fca1ffd70dc647db0ab9a903c))

##### Documentation

-   Update commit style in CONTRIBUTING ([#&#8203;2566](https://togithub.com/googleapis/google-api-go-client/issues/2566)) ([5e44215](https://togithub.com/googleapis/google-api-go-client/commit/5e44215df618fcafd5f6c1bbe259062cddd32f1a))

</details>

<details>
<summary>protocolbuffers/protobuf-go (google.golang.org/protobuf)</summary>

### [`v1.34.1`](https://togithub.com/protocolbuffers/protobuf-go/releases/tag/v1.34.1)

[Compare Source](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.34.0...v1.34.1)

Minor fixes for editions compliance:

-   [CL/582635](https://go.dev/cl/582635): all: update to protobuf 27.0-rc1 and regenerate protos
-   [CL/582755](https://go.dev/cl/582755): encoding/proto\[json|text]: accept lower case names for group-like fields

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/google-cloud-go).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
336 files changed
tree: 0c58ae5c5f969b7cb11c430d593238d649885866
  1. .devcontainer/
  2. .github/
  3. accessapproval/
  4. accesscontextmanager/
  5. advisorynotifications/
  6. ai/
  7. aiplatform/
  8. alloydb/
  9. analytics/
  10. apigateway/
  11. apigeeconnect/
  12. apigeeregistry/
  13. apikeys/
  14. appengine/
  15. apphub/
  16. apps/
  17. area120/
  18. artifactregistry/
  19. asset/
  20. assuredworkloads/
  21. auth/
  22. automl/
  23. backupdr/
  24. baremetalsolution/
  25. batch/
  26. beyondcorp/
  27. bigquery/
  28. bigtable/
  29. billing/
  30. binaryauthorization/
  31. certificatemanager/
  32. channel/
  33. chat/
  34. civil/
  35. cloudbuild/
  36. cloudcontrolspartner/
  37. clouddms/
  38. cloudprofiler/
  39. cloudquotas/
  40. cloudtasks/
  41. commerce/
  42. compute/
  43. confidentialcomputing/
  44. config/
  45. contactcenterinsights/
  46. container/
  47. containeranalysis/
  48. datacatalog/
  49. dataflow/
  50. dataform/
  51. datafusion/
  52. datalabeling/
  53. dataplex/
  54. dataproc/
  55. dataqna/
  56. datastore/
  57. datastream/
  58. debugger/
  59. deploy/
  60. dialogflow/
  61. discoveryengine/
  62. dlp/
  63. documentai/
  64. domains/
  65. edgecontainer/
  66. edgenetwork/
  67. errorreporting/
  68. essentialcontacts/
  69. eventarc/
  70. filestore/
  71. firestore/
  72. functions/
  73. gkebackup/
  74. gkeconnect/
  75. gkehub/
  76. gkemulticloud/
  77. grafeas/
  78. gsuiteaddons/
  79. httpreplay/
  80. iam/
  81. iap/
  82. identitytoolkit/
  83. ids/
  84. internal/
  85. iot/
  86. kms/
  87. language/
  88. lifesciences/
  89. logging/
  90. longrunning/
  91. managedidentities/
  92. maps/
  93. mediatranslation/
  94. memcache/
  95. metastore/
  96. migrationcenter/
  97. monitoring/
  98. netapp/
  99. networkconnectivity/
  100. networkmanagement/
  101. networksecurity/
  102. notebooks/
  103. optimization/
  104. orchestration/
  105. orgpolicy/
  106. osconfig/
  107. oslogin/
  108. parallelstore/
  109. phishingprotection/
  110. policysimulator/
  111. policytroubleshooter/
  112. privatecatalog/
  113. profiler/
  114. pubsub/
  115. pubsublite/
  116. rapidmigrationassessment/
  117. recaptchaenterprise/
  118. recommendationengine/
  119. recommender/
  120. redis/
  121. resourcemanager/
  122. resourcesettings/
  123. retail/
  124. rpcreplay/
  125. run/
  126. scheduler/
  127. secretmanager/
  128. securesourcemanager/
  129. security/
  130. securitycenter/
  131. securitycentermanagement/
  132. securityposture/
  133. servicecontrol/
  134. servicedirectory/
  135. servicehealth/
  136. servicemanagement/
  137. serviceusage/
  138. shell/
  139. shopping/
  140. spanner/
  141. speech/
  142. storage/
  143. storageinsights/
  144. storagetransfer/
  145. streetview/
  146. support/
  147. talent/
  148. telcoautomation/
  149. texttospeech/
  150. third_party/
  151. tpu/
  152. trace/
  153. translate/
  154. vertexai/
  155. video/
  156. videointelligence/
  157. vision/
  158. visionai/
  159. vmmigration/
  160. vmwareengine/
  161. vpcaccess/
  162. webrisk/
  163. websecurityscanner/
  164. workflows/
  165. workstations/
  166. .gitignore
  167. .release-please-manifest-individual.json
  168. .release-please-manifest-submodules.json
  169. .release-please-manifest.json
  170. CHANGES.md
  171. CODE_OF_CONDUCT.md
  172. CONTRIBUTING.md
  173. debug.md
  174. doc.go
  175. go.mod
  176. go.sum
  177. go.work
  178. go.work.sum
  179. LICENSE
  180. migration.md
  181. README.md
  182. release-please-config-individual.json
  183. release-please-config-yoshi-submodules.json
  184. release-please-config.json
  185. RELEASING.md
  186. SECURITY.md
  187. testing.md
README.md

Google Cloud Client Libraries for Go

Go Reference

Go packages for Google Cloud Platform services.

import "cloud.google.com/go"

To install the packages on your system, do not clone the repo. Instead:

  1. Change to your project directory: cd /my/cloud/project
  2. Get the package you want to use. Some products have their own module, so it's best to go get the package(s) you want to use:
go get cloud.google.com/go/firestore # Replace with the package you want to use.

NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.

Supported APIs

For an updated list of all of our released APIs please see our reference docs.

Go Versions Supported

Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:

  • Go 1.22
  • Go 1.21
  • Go 1.20
  • Go 1.19

Authorization

By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.

client, err := storage.NewClient(ctx)

To authorize using a JSON key file, pass option.WithCredentialsFile to the NewClient function of the desired package. For example:

client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))

You can exert more control over authorization by using the golang.org/x/oauth2 package to create an oauth2.TokenSource. Then pass option.WithTokenSource to the NewClient function:

tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.

Links