Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: increase the logical timeout (retry deadline) to 5 minutes (#120)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 417448084
Source-Link: googleapis/googleapis@489719a
Source-Link: https://github.com/googleapis/googleapis-gen/commit/97a80b4fa8a979b86c5e83d7ed8bb8d2d3eb6c40
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTdhODBiNGZhOGE5NzliODZjNWU4M2Q3ZWQ4YmI4ZDJkM2ViNmM0MCJ9
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
3 people authored Dec 30, 2021
1 parent 6ff2c91 commit 5510500
Show file tree
Hide file tree
Showing 21 changed files with 64 additions and 62 deletions.
4 changes: 2 additions & 2 deletions samples/generated/v1/reservation_service.create_assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -37,8 +38,7 @@ function main(parent) {
// const assignmentId = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -43,8 +44,7 @@ function main(parent) {
// const capacityCommitmentId = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -35,8 +36,7 @@ function main(parent) {
// const reservation = {}

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/reservation_service.delete_assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -32,8 +33,7 @@ function main(name) {
// const force = true

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/reservation_service.get_reservation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
6 changes: 3 additions & 3 deletions samples/generated/v1/reservation_service.list_assignments.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -36,8 +37,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand All @@ -51,7 +51,7 @@ function main(parent) {
// Run request
const iterable = await reservationClient.listAssignmentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -34,8 +35,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand All @@ -47,11 +47,9 @@ function main(parent) {
};

// Run request
const iterable = await reservationClient.listCapacityCommitmentsAsync(
request
);
const iterable = await reservationClient.listCapacityCommitmentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
6 changes: 3 additions & 3 deletions samples/generated/v1/reservation_service.list_reservations.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -34,8 +35,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand All @@ -49,7 +49,7 @@ function main(parent) {
// Run request
const iterable = await reservationClient.listReservationsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -34,15 +35,15 @@ function main() {
// const capacityCommitmentIds = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();

async function callMergeCapacityCommitments() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await reservationClient.mergeCapacityCommitments(request);
Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/reservation_service.move_assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -32,8 +33,7 @@ function main(name) {
// const destinationId = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -43,8 +44,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand All @@ -58,7 +58,7 @@ function main(parent) {
// Run request
const iterable = await reservationClient.searchAllAssignmentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -43,8 +44,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand All @@ -58,7 +58,7 @@ function main(parent) {
// Run request
const iterable = await reservationClient.searchAssignmentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -30,8 +31,7 @@ function main(name) {
// const slotCount = 1234

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -29,15 +30,15 @@ function main() {
// const updateMask = {}

// Imports the Reservation library
const {ReservationServiceClient} =
require('@google-cloud/bigquery-reservation').v1;
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation').v1;

// Instantiates a client
const reservationClient = new ReservationServiceClient();

async function callUpdateBiReservation() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await reservationClient.updateBiReservation(request);
Expand Down
Loading

0 comments on commit 5510500

Please sign in to comment.