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

Commit

Permalink
fix: better support for fallback mode (#76)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468790263

Source-Link: googleapis/googleapis@873ab45

Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb6f37aeff2a3472e40a7bbace8c67d75e24bee5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I2ZjM3YWVmZjJhMzQ3MmU0MGE3YmJhY2U4YzY3ZDc1ZTI0YmVlNSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 23, 2022
1 parent 226b39f commit 7b4c304
Show file tree
Hide file tree
Showing 31 changed files with 593 additions and 518 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_AggregatedListJobs_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.check_active_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_CheckActiveJobs_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.create_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_CreateJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.get_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_GetJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.list_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_ListJobs_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.snapshot_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_SnapshotJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/jobs_v1_beta3.update_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_JobsV1Beta3_UpdateJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_MessagesV1Beta3_ListJobMessages_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_MetricsV1Beta3_GetJobExecutionDetails_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/metrics_v1_beta3.get_job_metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_MetricsV1Beta3_GetJobMetrics_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_MetricsV1Beta3_GetStageExecutionDetails_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_SnapshotsV1Beta3_DeleteSnapshot_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/snapshots_v1_beta3.get_snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_SnapshotsV1Beta3_GetSnapshot_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_SnapshotsV1Beta3_ListSnapshots_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 64,
"end": 67,
"type": "FULL"
}
],
Expand Down Expand Up @@ -74,7 +74,7 @@
"segments": [
{
"start": 25,
"end": 63,
"end": 66,
"type": "FULL"
}
],
Expand Down Expand Up @@ -130,7 +130,7 @@
"segments": [
{
"start": 25,
"end": 63,
"end": 66,
"type": "FULL"
}
],
Expand Down Expand Up @@ -182,7 +182,7 @@
"segments": [
{
"start": 25,
"end": 64,
"end": 67,
"type": "FULL"
}
],
Expand Down Expand Up @@ -234,7 +234,7 @@
"segments": [
{
"start": 25,
"end": 72,
"end": 75,
"type": "FULL"
}
],
Expand Down Expand Up @@ -294,7 +294,7 @@
"segments": [
{
"start": 25,
"end": 72,
"end": 75,
"type": "FULL"
}
],
Expand Down Expand Up @@ -354,7 +354,7 @@
"segments": [
{
"start": 25,
"end": 49,
"end": 52,
"type": "FULL"
}
],
Expand Down Expand Up @@ -394,7 +394,7 @@
"segments": [
{
"start": 25,
"end": 69,
"end": 72,
"type": "FULL"
}
],
Expand Down Expand Up @@ -454,7 +454,7 @@
"segments": [
{
"start": 25,
"end": 87,
"end": 90,
"type": "FULL"
}
],
Expand Down Expand Up @@ -522,7 +522,7 @@
"segments": [
{
"start": 25,
"end": 64,
"end": 67,
"type": "FULL"
}
],
Expand Down Expand Up @@ -574,7 +574,7 @@
"segments": [
{
"start": 25,
"end": 73,
"end": 76,
"type": "FULL"
}
],
Expand Down Expand Up @@ -630,7 +630,7 @@
"segments": [
{
"start": 25,
"end": 85,
"end": 88,
"type": "FULL"
}
],
Expand Down Expand Up @@ -698,7 +698,7 @@
"segments": [
{
"start": 25,
"end": 57,
"end": 60,
"type": "FULL"
}
],
Expand Down Expand Up @@ -746,7 +746,7 @@
"segments": [
{
"start": 25,
"end": 57,
"end": 60,
"type": "FULL"
}
],
Expand Down Expand Up @@ -794,7 +794,7 @@
"segments": [
{
"start": 25,
"end": 57,
"end": 60,
"type": "FULL"
}
],
Expand Down Expand Up @@ -842,7 +842,7 @@
"segments": [
{
"start": 25,
"end": 73,
"end": 76,
"type": "FULL"
}
],
Expand Down Expand Up @@ -902,7 +902,7 @@
"segments": [
{
"start": 25,
"end": 75,
"end": 78,
"type": "FULL"
}
],
Expand Down Expand Up @@ -962,7 +962,7 @@
"segments": [
{
"start": 25,
"end": 65,
"end": 68,
"type": "FULL"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_TemplatesService_CreateJobFromTemplate_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1beta3/templates_service.get_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_TemplatesService_GetTemplate_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START dataflow_v1beta3_generated_TemplatesService_LaunchTemplate_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 2 additions & 1 deletion src/v1beta3/flex_templates_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ export class FlexTemplatesServiceClient {
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
descriptor
descriptor,
this._opts.fallback
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
Loading

0 comments on commit 7b4c304

Please sign in to comment.