fix(deps): update module cloud.google.com/go/compute/metadata to v0.4.0 #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.3.0
->v0.4.0
Release Notes
googleapis/google-cloud-go (cloud.google.com/go/compute/metadata)
v0.4.0
Compare Source
bigquery:
-
NewGCSReference
is now a function, not a method onClient
.Table.LoaderFrom
now accepts aReaderSource
, enablingloading data into a table from a file or any
io.Reader
.Client.Table and Client.OpenTable have been removed.
Replace
with
Client.CreateTable has been removed.
Replace
with
Dataset.ListTables have been replaced with Dataset.Tables.
Replace
with
Client.Read has been replaced with Job.Read, Table.Read and Query.Read.
Replace
with
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
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, writeInstead of the
StartIndex(i)
option, writeValueLoader.Load now takes a Schema in addition to a slice of Values.
Replace
with
Table.Patch is replace by Table.Update.
Replace
with
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
with
Instead of passing options to Copy, set fields on the Loader:
To extract data from a table into Google Cloud Storage, use
Table.ExtractorTo. Set fields on the returned Extractor instead of
passing options.
Replace
with
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
with
To start a query job, create a Query and call its Run method. Set fields
on the query instead of passing options.
Replace
with
Table.NewUploader has been renamed to Table.Uploader. Instead of options,
configure an Uploader by setting its fields.
Replace
with
pubsub: remove
pubsub.Done
. Useiterator.Done
instead, whereiterator
is the packagegoogle.golang.org/api/iterator
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.