commit
96d3bcfafe
3 changed files with 117 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
common: |
||||||
|
api_name: devtools-cloudtrace-v1 |
||||||
|
import_proto_path: |
||||||
|
- ${THISDIR}/../.. |
||||||
|
src_proto_path: |
||||||
|
- ${THISDIR}/../../google/devtools/cloudtrace/v1 |
||||||
|
service_yaml: |
||||||
|
- ${THISDIR}/../../google/devtools/cloudtrace/v1/trace.yaml |
||||||
|
gapic_api_yaml: |
||||||
|
- ${THISDIR}/../../google/devtools/cloudtrace/v1/trace_gapic.yaml |
||||||
|
auto_merge: true |
||||||
|
auto_resolve: true |
||||||
|
ignore_base: false |
||||||
|
output_dir: ${REPOROOT}/artman/output |
||||||
|
python: |
||||||
|
final_repo_dir: ${REPOROOT}/artman/output/gcloud-python-cloudtrace |
||||||
|
ruby: |
||||||
|
final_repo_dir: ${REPOROOT}/artman/output/gcloud-ruby-cloudtrace |
@ -0,0 +1,34 @@ |
|||||||
|
type: google.api.Service |
||||||
|
title: Google Cloud Trace API |
||||||
|
config_version: 2 |
||||||
|
name: cloudtrace.googleapis.com |
||||||
|
|
||||||
|
documentation: |
||||||
|
summary: >- |
||||||
|
- |
||||||
|
|
||||||
|
Send and retrieve trace data from Google Cloud Trace. Data is |
||||||
|
generated and available by default for all App Engine applications. |
||||||
|
Data from other applications can be written to Cloud Trace |
||||||
|
for display, reporting, and analysis. |
||||||
|
|
||||||
|
apis: |
||||||
|
- name: google.devtools.cloudtrace.v1.TraceService |
||||||
|
|
||||||
|
http: |
||||||
|
rules: |
||||||
|
- selector: google.devtools.cloudtrace.v1.TraceService.GetTrace |
||||||
|
get: /v1/projects/{project_id}/traces/{trace_id} |
||||||
|
- selector: google.devtools.cloudtrace.v1.TraceService.ListTraces |
||||||
|
get: /v1/projects/{project_id}/traces |
||||||
|
- selector: google.devtools.cloudtrace.v1.TraceService.PatchTraces |
||||||
|
patch: /v1/projects/{project_id}/traces |
||||||
|
body: traces |
||||||
|
|
||||||
|
authentication: |
||||||
|
rules: |
||||||
|
- selector: '*' |
||||||
|
oauth: |
||||||
|
canonical_scopes: https://www.googleapis.com/auth/cloud-platform, |
||||||
|
https://www.googleapis.com/auth/trace.readonly, |
||||||
|
https://www.googleapis.com/auth/trace.append |
@ -0,0 +1,65 @@ |
|||||||
|
type: io.gapi.vgen.ConfigProto |
||||||
|
language_settings: |
||||||
|
python: |
||||||
|
package_name: google.devtools.cloudtrace.v1 |
||||||
|
ruby: |
||||||
|
package_name: Google::Devtools::Cloudtrace::V1 |
||||||
|
interfaces: |
||||||
|
- name: google.devtools.cloudtrace.v1.TraceService |
||||||
|
retry_codes_def: |
||||||
|
- name: idempotent |
||||||
|
retry_codes: |
||||||
|
- UNAVAILABLE |
||||||
|
- DEADLINE_EXCEEDED |
||||||
|
- name: non_idempotent |
||||||
|
retry_codes: |
||||||
|
retry_params_def: |
||||||
|
- name: default |
||||||
|
initial_retry_delay_millis: 100 |
||||||
|
retry_delay_multiplier: 1.2 |
||||||
|
max_retry_delay_millis: 1000 |
||||||
|
initial_rpc_timeout_millis: 20000 |
||||||
|
rpc_timeout_multiplier: 1.5 |
||||||
|
max_rpc_timeout_millis: 30000 |
||||||
|
total_timeout_millis: 45000 |
||||||
|
methods: |
||||||
|
- name: PatchTraces |
||||||
|
flattening: |
||||||
|
groups: |
||||||
|
- parameters: |
||||||
|
- project_id |
||||||
|
- traces |
||||||
|
required_fields: |
||||||
|
- project_id |
||||||
|
- traces |
||||||
|
retry_codes_name: non_idempotent |
||||||
|
retry_params_name: default |
||||||
|
request_object_method: true |
||||||
|
- name: GetTrace |
||||||
|
flattening: |
||||||
|
groups: |
||||||
|
- parameters: |
||||||
|
- project_id |
||||||
|
- trace_id |
||||||
|
required_fields: |
||||||
|
- project_id |
||||||
|
- trace_id |
||||||
|
retry_codes_name: idempotent |
||||||
|
retry_params_name: default |
||||||
|
request_object_method: false |
||||||
|
- name: ListTraces |
||||||
|
page_streaming: |
||||||
|
request: |
||||||
|
token_field: page_token |
||||||
|
response: |
||||||
|
token_field: next_page_token |
||||||
|
resources_field: traces |
||||||
|
flattening: |
||||||
|
groups: |
||||||
|
- parameters: |
||||||
|
- project_id |
||||||
|
required_fields: |
||||||
|
- project_id |
||||||
|
retry_codes_name: idempotent |
||||||
|
retry_params_name: default |
||||||
|
request_object_method: false |
Loading…
Reference in new issue