Skip to content

Commit

Permalink
feat(bigqueryreservation)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### bigqueryreservation:v1beta1

The following keys were deleted:
- schemas.CreateSlotPoolMetadata.description
- schemas.CreateSlotPoolMetadata.id
- schemas.CreateSlotPoolMetadata.properties.slotPool.description
- schemas.CreateSlotPoolMetadata.properties.slotPool.type
- schemas.CreateSlotPoolMetadata.type

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description

#### bigqueryreservation:v1

The following keys were deleted:
- resources.operations.methods.delete.description
- resources.operations.methods.delete.flatPath
- resources.operations.methods.delete.httpMethod
- resources.operations.methods.delete.id
- resources.operations.methods.delete.parameterOrder
- resources.operations.methods.delete.parameters.name.description
- resources.operations.methods.delete.parameters.name.location
- resources.operations.methods.delete.parameters.name.pattern
- resources.operations.methods.delete.parameters.name.required
- resources.operations.methods.delete.parameters.name.type
- resources.operations.methods.delete.path
- resources.operations.methods.delete.response.$ref
- resources.operations.methods.delete.scopes
- resources.operations.methods.list.description
- resources.operations.methods.list.flatPath
- resources.operations.methods.list.httpMethod
- resources.operations.methods.list.id
- resources.operations.methods.list.parameterOrder
- resources.operations.methods.list.parameters.filter.description
- resources.operations.methods.list.parameters.filter.location
- resources.operations.methods.list.parameters.filter.type
- resources.operations.methods.list.parameters.name.description
- resources.operations.methods.list.parameters.name.location
- resources.operations.methods.list.parameters.name.pattern
- resources.operations.methods.list.parameters.name.required
- resources.operations.methods.list.parameters.name.type
- resources.operations.methods.list.parameters.pageSize.description
- resources.operations.methods.list.parameters.pageSize.format
- resources.operations.methods.list.parameters.pageSize.location
- resources.operations.methods.list.parameters.pageSize.type
- resources.operations.methods.list.parameters.pageToken.description
- resources.operations.methods.list.parameters.pageToken.location
- resources.operations.methods.list.parameters.pageToken.type
- resources.operations.methods.list.path
- resources.operations.methods.list.response.$ref
- resources.operations.methods.list.scopes
- schemas.CreateSlotPoolMetadata.description
- schemas.CreateSlotPoolMetadata.id
- schemas.CreateSlotPoolMetadata.properties.slotPool.description
- schemas.CreateSlotPoolMetadata.properties.slotPool.type
- schemas.CreateSlotPoolMetadata.type
- schemas.ListOperationsResponse.description
- schemas.ListOperationsResponse.id
- schemas.ListOperationsResponse.properties.nextPageToken.description
- schemas.ListOperationsResponse.properties.nextPageToken.type
- schemas.ListOperationsResponse.properties.operations.description
- schemas.ListOperationsResponse.properties.operations.items.$ref
- schemas.ListOperationsResponse.properties.operations.type
- schemas.ListOperationsResponse.type
- schemas.Operation.description
- schemas.Operation.id
- schemas.Operation.properties.done.description
- schemas.Operation.properties.done.type
- schemas.Operation.properties.error.$ref
- schemas.Operation.properties.error.description
- schemas.Operation.properties.metadata.additionalProperties.description
- schemas.Operation.properties.metadata.additionalProperties.type
- schemas.Operation.properties.metadata.description
- schemas.Operation.properties.metadata.type
- schemas.Operation.properties.name.description
- schemas.Operation.properties.name.type
- schemas.Operation.properties.response.additionalProperties.description
- schemas.Operation.properties.response.additionalProperties.type
- schemas.Operation.properties.response.description
- schemas.Operation.properties.response.type
- schemas.Operation.type

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 6e1defd commit 05435f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 511 deletions.
140 changes: 2 additions & 138 deletions discovery/bigqueryreservation-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "View and manage your data in Google BigQuery"
},
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
}
}
}
Expand Down Expand Up @@ -108,78 +108,6 @@
},
"protocol": "rest",
"resources": {
"operations": {
"methods": {
"delete": {
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
"flatPath": "v1/operations/{operationsId}",
"httpMethod": "DELETE",
"id": "bigqueryreservation.operations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be deleted.",
"location": "path",
"pattern": "^operations/.*$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
"flatPath": "v1/operations",
"httpMethod": "GET",
"id": "bigqueryreservation.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^operations$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"projects": {
"resources": {
"locations": {
Expand Down Expand Up @@ -845,7 +773,7 @@
}
}
},
"revision": "20210219",
"revision": "20210324",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -1004,17 +932,6 @@
},
"type": "object"
},
"CreateSlotPoolMetadata": {
"description": "The metadata for operation returned from ReservationService.CreateSlotPool.",
"id": "CreateSlotPoolMetadata",
"properties": {
"slotPool": {
"description": "Resource name of the slot pool that is being created. E.g., projects/myproject/locations/us-central1/reservations/foo/slotPools/123",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
Expand Down Expand Up @@ -1057,24 +974,6 @@
},
"type": "object"
},
"ListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
"properties": {
"nextPageToken": {
"description": "The standard List next-page token.",
"type": "string"
},
"operations": {
"description": "A list of operations that matches the specified filter in the request.",
"items": {
"$ref": "Operation"
},
"type": "array"
}
},
"type": "object"
},
"ListReservationsResponse": {
"description": "The response for ReservationService.ListReservations.",
"id": "ListReservationsResponse",
Expand Down Expand Up @@ -1118,41 +1017,6 @@
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
"properties": {
"done": {
"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
"type": "boolean"
},
"error": {
"$ref": "Status",
"description": "The error result of the operation in case of failure or cancellation."
},
"metadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
"type": "object"
},
"name": {
"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"type": "string"
},
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
"type": "object"
},
"Reservation": {
"description": "A reservation is a mechanism used to guarantee slots to users.",
"id": "Reservation",
Expand Down
15 changes: 2 additions & 13 deletions discovery/bigqueryreservation-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "View and manage your data in Google BigQuery"
},
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
}
}
}
Expand Down Expand Up @@ -736,7 +736,7 @@
}
}
},
"revision": "20210219",
"revision": "20210324",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -895,17 +895,6 @@
},
"type": "object"
},
"CreateSlotPoolMetadata": {
"description": "The metadata for operation returned from ReservationService.CreateSlotPool.",
"id": "CreateSlotPoolMetadata",
"properties": {
"slotPool": {
"description": "Resource name of the slot pool that is being created. E.g., projects/myproject/locations/us-central1/reservations/foo/slotPools/123",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
Expand Down

0 comments on commit 05435f1

Please sign in to comment.