Skip to main content

StorageParameters

@webda/gcp • Readme | API


Class: StorageParameters

Extends​

  • BinaryParameters

Constructors​

new StorageParameters(params, service)​

new StorageParameters(params, service): StorageParameters

Parameters​

• params: any

• service: Storage<StorageParameters>

Returns​

StorageParameters

Overrides​

BinaryParameters.constructor

Source​

gcp/src/services/storage.ts:56

Properties​

bucket​

bucket: string

Source​

gcp/src/services/storage.ts:54


expose?​

expose?: Object

Expose the service to http

Deprecated​

will be removed in 4.0

Type declaration​

restrict?​

restrict?: Object

Restrict some APIs

restrict.create?​

restrict.create?: boolean

Restrict POST

restrict.delete?​

restrict.delete?: boolean

Restrict DELETE

restrict.get?​

restrict.get?: boolean

Restrict GET

restrict.metadata?​

restrict.metadata?: boolean

Restrict update of metadata

url​

url: string

URL to expose the service to

Inherited from​

BinaryParameters.expose

Source​

core/lib/services/binary.d.ts:298


map​

map: Object

Define the map to Object collection

key is a Store name the string[] represent all valids attributes to store files in

Deprecated​

Index signature​

[key: string]: string[]

Inherited from​

BinaryParameters.map

Source​

core/lib/services/binary.d.ts:281


models​

models: Object

Define the map of models

  • indicates all models

key is a Store name the string[] represent all valids attributes to store files in * indicates all attributes

Index signature​

[key: string]: string[]

Inherited from​

BinaryParameters.models

Source​

core/lib/services/binary.d.ts:291


openapi?​

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore​

Inherited from​

BinaryParameters.openapi

Source​

core/lib/services/service.d.ts:103


prefix?​

prefix?: string

Source​

gcp/src/services/storage.ts:53


type​

type: string

Type of the service

Inherited from​

BinaryParameters.type

Source​

core/lib/services/service.d.ts:94


url?​

url?: string

URL on which to serve the content

Inherited from​

BinaryParameters.url

Source​

core/lib/services/service.d.ts:98