blob: 7b7d83622edeef1d4abf55d79a8b2b1c4d39b0a2 [file] [log] [blame]
type: com.google.api.codegen.ConfigProto
language_settings:
java:
package_name: com.google.cloud.language.spi.v1beta1
python:
package_name: google.cloud.gapic.language.v1beta1
go:
package_name: cloud.google.com/go/language/apiv1beta1
csharp:
package_name: Google.Cloud.Language.V1Beta1
ruby:
package_name: Google::Cloud::Language::V1beta1
php:
package_name: Google\Cloud\Language\V1Beta1
nodejs:
package_name: language.v1beta1
domain_layer_location: google-cloud
license_header:
copyright_file: copyright-google.txt
license_file: license-header-apache-2.0.txt
interfaces:
- name: google.cloud.language.v1beta1.LanguageService
smoke_test:
method: AnalyzeSentiment
init_fields:
- document.type=PLAIN_TEXT
collections: []
retry_codes_def:
- name: idempotent
retry_codes:
- UNAVAILABLE
- DEADLINE_EXCEEDED
- name: non_idempotent
retry_codes:
- UNAVAILABLE
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 60000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 60000
total_timeout_millis: 600000
methods:
- name: AnalyzeSentiment
flattening:
groups:
- parameters:
- document
required_fields:
- document
request_object_method: false
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: AnalyzeEntities
flattening:
groups:
- parameters:
- document
- encoding_type
required_fields:
- document
- encoding_type
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: AnnotateText
flattening:
groups:
- parameters:
- document
- features
- encoding_type
required_fields:
- document
- features
- encoding_type
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000