Index

src/operationsClient.ts

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

src/fallback.ts

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'

src/grpc.ts

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 : []

src/index.ts

createByteLengthFunction
Default value : GrpcClient.createByteLengthFunction
version
Default value : require('../../package.json').version

src/streamingCalls/streaming.ts

duplexify
Type : DuplexifyConstructor
Default value : require('duplexify')
retryRequest
Default value : require('retry-request')

src/warnings.ts

emittedWarnings
Default value : new Set<string>()

src/featureDetection.ts

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

 http://www.apache.org/licenses/LICENSE-2.0

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.

src/status.ts

HttpCodeToRpcCodeMap
Default value : new Map([ [400, Status.INVALID_ARGUMENT], [401, Status.UNAUTHENTICATED], [403, Status.PERMISSION_DENIED], [404, Status.NOT_FOUND], [409, Status.ABORTED], [416, Status.OUT_OF_RANGE], [429, Status.RESOURCE_EXHAUSTED], [499, Status.CANCELLED], [501, Status.UNIMPLEMENTED], [503, Status.UNAVAILABLE], [504, Status.DEADLINE_EXCEEDED], ])

src/transcoding.ts

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']

src/paginationCalls/pageDescriptor.ts

maxAttemptsEmptyResponse
Type : number
Default value : 10

src/iamService.ts

version
Default value : require('../../package.json').version

src/locationService.ts

version
Default value : require('../../package.json').version

results matching ""

    No results matching ""