On November 18, these services will switch to use the new method signatures shown
in the tables below. To learn how new arguments should be structured, refer to the
documentation for the underlying API. For example, the documentation for the BigQuery service's
Jobs.query()
method shows the valid properties for the resource
object in the
"Request body" section of the page.
Old |
New |
Analytics.Management.Uploads |
.deleteUploadData(
accountId,
webPropertyId,
customDataSourceId,
optionalArgs) |
.deleteUploadData(
resource,
accountId,
webPropertyId,
customDataSourceId) |
BigQuery.Datasets |
.insert(
resource,
optionalArgs) |
.insert(
resource,
projectId) |
.update(
resource,
optionalArgs) |
.update(
resource,
projectId,
datasetId) |
BigQuery.Jobs |
.insert(
resource,
mediaData,
optionalArgs) |
.insert(
resource,
projectId,
mediaData) |
.query(
projectId,
query) |
.query(
resource,
projectId) |
BigQuery.Tabledata |
.insertAll(
projectId,
datasetId,
tableId,
optionalArgs) |
.insertAll(
resource,
projectId,
datasetId,
tableId) |
BigQuery.Tables |
.insert(
resource,
optionalArgs) |
.insert(
resource,
projectId,
datasetId) |
.update(
resource,
optionalArgs) |
.update(
resource,
projectId,
datasetId,
tableId) |
Prediction.Hostedmodels |
.predict(
project,
hostedModelName,
optionalArgs) |
.predict(
resource,
project,
hostedModelName) |
Prediction.Trainedmodels |
.insert(
project,
optionalArgs) |
.insert(
resource,
project) |
.predict(
project,
id,
optionalArgs) |
.predict(
resource,
project,
id) |
.update(
project,
id,
optionalArgs) |
.update(
resource,
project,
id) |
We apologize for inconvenience and look forward to sharing exciting news about
advanced services in the coming weeks.