| ALL_SCOPES |
Type : string[]
|
Default value : []
|
|
The scopes needed to make gRPC calls to all of the methods defined in this service. |
| CODE_GEN_NAME_VERSION |
Type : string
|
Default value : 'gapic/0.7.1'
|
| DEFAULT_SERVICE_PORT |
Type : number
|
Default value : 443
|
| SERVICE_ADDRESS |
Type : string
|
Default value : 'longrunning.googleapis.com'
|
| version |
Default value : require('../../package.json').version
|
| CLIENT_VERSION_HEADER |
Type : string
|
Default value : 'x-goog-api-client'
|
| defaultToObjectOptions |
Type : object
|
Default value : {
keepCase: false,
longs: String,
enums: String,
defaults: true,
oneofs: true,
}
|
| fallback |
Default value : module.exports
|
| version |
Default value : require('../../package.json').version + '-fallback'
|
| COMMON_PROTO_FILES |
Type : string[]
|
Default value : commonProtoFiles.map(file =>
file.replace(/[/\\]/g, path.sep)
)
|
| googleProtoFilesDir |
Default value : path.join(__dirname, '..', '..', 'build', 'protos')
|
| INCLUDE_DIRS |
Type : string[]
|
Default value : []
|
| createByteLengthFunction |
Default value : GrpcClient.createByteLengthFunction
|
| version |
Default value : require('../../package.json').version
|
| duplexify |
Type : DuplexifyConstructor
|
Default value : require('duplexify')
|
| retryRequest |
Default value : require('retry-request')
|
| emittedWarnings |
Default value : new Set<string>()
|
| features |
Type : object
|
Default value : {
windowFetch:
typeof window !== 'undefined' &&
window?.fetch &&
typeof window?.fetch === 'function',
// eslint-disable-next-line node/no-unsupported-features/node-builtins
textEncoder: typeof TextEncoder !== 'undefined',
// eslint-disable-next-line node/no-unsupported-features/node-builtins
textDecoder: typeof TextDecoder !== 'undefined',
nodeJS: typeof process !== 'undefined' && process?.versions?.node,
abortController: typeof AbortController !== 'undefined',
}
|
|
Copyright 2021 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
| httpOptionName |
Type : string
|
Default value : '(google.api.http)'
|
| proto3OptionalName |
Type : string
|
Default value : 'proto3_optional'
|
| supportedHttpMethods |
Type : Array<"get" | "put" | "post" | "patch" | "delete">
|
Default value : ['get', 'post', 'put', 'patch', 'delete']
|
| maxAttemptsEmptyResponse |
Type : number
|
Default value : 10
|
| version |
Default value : require('../../package.json').version
|
| version |
Default value : require('../../package.json').version
|