Skip to main content

@webda/gcpReadme | 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:55

Properties

bucket

bucket: string

Source

gcp/src/services/storage.ts:53


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:300


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:283


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:293


openapi?

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore

Inherited from

BinaryParameters.openapi

Source

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


prefix?

prefix?: string

Source

gcp/src/services/storage.ts:52


type

type: string

Type of the service

Inherited from

BinaryParameters.type

Source

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


url?

url?: string

URL on which to serve the content

Inherited from

BinaryParameters.url

Source

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