-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate scheduler/{v1,v1beta1} to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 369288631 Source-Author: Google APIs <[email protected]> Source-Date: Mon Apr 19 13:22:03 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 93a4a58e39bef226d65c571072a42d97e53a5248 Source-Link: googleapis/googleapis@93a4a58
- Loading branch information
1 parent
746bf39
commit 3d382d4
Showing
13 changed files
with
1,209 additions
and
1,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"schema": "1.0", | ||
"comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", | ||
"language": "php", | ||
"protoPackage": "google.cloud.scheduler.v1", | ||
"libraryPackage": "Google\\Cloud\\Scheduler\\V1", | ||
"services": { | ||
"CloudScheduler": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "CloudSchedulerGapicClient", | ||
"rpcs": { | ||
"CreateJob": { | ||
"methods": [ | ||
"createJob" | ||
] | ||
}, | ||
"DeleteJob": { | ||
"methods": [ | ||
"deleteJob" | ||
] | ||
}, | ||
"GetJob": { | ||
"methods": [ | ||
"getJob" | ||
] | ||
}, | ||
"ListJobs": { | ||
"methods": [ | ||
"listJobs" | ||
] | ||
}, | ||
"PauseJob": { | ||
"methods": [ | ||
"pauseJob" | ||
] | ||
}, | ||
"ResumeJob": { | ||
"methods": [ | ||
"resumeJob" | ||
] | ||
}, | ||
"RunJob": { | ||
"methods": [ | ||
"runJob" | ||
] | ||
}, | ||
"UpdateJob": { | ||
"methods": [ | ||
"updateJob" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
162 changes: 81 additions & 81 deletions
162
Scheduler/src/V1/resources/cloud_scheduler_client_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,85 @@ | ||
{ | ||
"interfaces": { | ||
"google.cloud.scheduler.v1.CloudScheduler": { | ||
"retry_codes": { | ||
"retry_policy_1_codes": [ | ||
"DEADLINE_EXCEEDED", | ||
"UNAVAILABLE" | ||
], | ||
"no_retry_codes": [], | ||
"no_retry_1_codes": [] | ||
}, | ||
"retry_params": { | ||
"retry_policy_1_params": { | ||
"initial_retry_delay_millis": 100, | ||
"retry_delay_multiplier": 1.3, | ||
"max_retry_delay_millis": 60000, | ||
"initial_rpc_timeout_millis": 600000, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 600000, | ||
"total_timeout_millis": 600000 | ||
}, | ||
"no_retry_params": { | ||
"initial_retry_delay_millis": 0, | ||
"retry_delay_multiplier": 0.0, | ||
"max_retry_delay_millis": 0, | ||
"initial_rpc_timeout_millis": 0, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 0, | ||
"total_timeout_millis": 0 | ||
}, | ||
"no_retry_1_params": { | ||
"initial_retry_delay_millis": 0, | ||
"retry_delay_multiplier": 0.0, | ||
"max_retry_delay_millis": 0, | ||
"initial_rpc_timeout_millis": 600000, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 600000, | ||
"total_timeout_millis": 600000 | ||
"interfaces": { | ||
"google.cloud.scheduler.v1.CloudScheduler": { | ||
"retry_codes": { | ||
"no_retry_codes": [], | ||
"retry_policy_1_codes": [ | ||
"DEADLINE_EXCEEDED", | ||
"UNAVAILABLE" | ||
], | ||
"no_retry_1_codes": [] | ||
}, | ||
"retry_params": { | ||
"no_retry_params": { | ||
"initial_retry_delay_millis": 0, | ||
"retry_delay_multiplier": 0.0, | ||
"max_retry_delay_millis": 0, | ||
"initial_rpc_timeout_millis": 0, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 0, | ||
"total_timeout_millis": 0 | ||
}, | ||
"retry_policy_1_params": { | ||
"initial_retry_delay_millis": 100, | ||
"retry_delay_multiplier": 1.3, | ||
"max_retry_delay_millis": 60000, | ||
"initial_rpc_timeout_millis": 600000, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 600000, | ||
"total_timeout_millis": 600000 | ||
}, | ||
"no_retry_1_params": { | ||
"initial_retry_delay_millis": 0, | ||
"retry_delay_multiplier": 0.0, | ||
"max_retry_delay_millis": 0, | ||
"initial_rpc_timeout_millis": 600000, | ||
"rpc_timeout_multiplier": 1.0, | ||
"max_rpc_timeout_millis": 600000, | ||
"total_timeout_millis": 600000 | ||
} | ||
}, | ||
"methods": { | ||
"CreateJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"DeleteJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"GetJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"ListJobs": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"PauseJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"ResumeJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"RunJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"UpdateJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
} | ||
} | ||
} | ||
}, | ||
"methods": { | ||
"ListJobs": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"GetJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"CreateJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"UpdateJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"DeleteJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "retry_policy_1_codes", | ||
"retry_params_name": "retry_policy_1_params" | ||
}, | ||
"PauseJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"ResumeJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
}, | ||
"RunJob": { | ||
"timeout_millis": 600000, | ||
"retry_codes_name": "no_retry_1_codes", | ||
"retry_params_name": "no_retry_1_params" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.