/var/www/qr4y.gr/server/delivery/node_modules/@google-cloud/storage/build/src
NameSizeModeActions
nodejs-common/-0755rm
acl.d.ts52610644editdlrm
acl.js265680644editdlrm
bucket.d.ts242370644editdlrm
bucket.js1343410644editdlrm
channel.d.ts9900644editdlrm
channel.js33070644editdlrm
crc32c.d.ts112380644editdlrm
crc32c.js117740644editdlrm
file.d.ts323470644editdlrm
file.js1262160644editdlrm
hash-stream-validator.d.ts7420644editdlrm
hash-stream-validator.js44010644editdlrm
hmacKey.d.ts24490644editdlrm
hmacKey.js119990644editdlrm
iam.d.ts41620644editdlrm
iam.js115460644editdlrm
index.d.ts56180644editdlrm
index.js28210644editdlrm
notification.d.ts38520644editdlrm
notification.js116320644editdlrm
resumable-upload.d.ts89510644editdlrm
resumable-upload.js273730644editdlrm
signer.d.ts31660644editdlrm
signer.js121080644editdlrm
storage.d.ts231370644editdlrm
storage.js413150644editdlrm
util.d.ts26100644editdlrm
util.js59300644editdlrm
Edit: /var/www/qr4y.gr/server/delivery/node_modules/@google-cloud/storage/build/src/hmacKey.d.ts (2449B)
import { Metadata, ServiceObject } from './nodejs-common'; import { Storage } from './storage'; export interface HmacKeyOptions { projectId?: string; } export interface HmacKeyMetadata { accessId: string; etag?: string; id?: string; projectId?: string; serviceAccountEmail?: string; state?: string; timeCreated?: string; updated?: string; } export interface SetHmacKeyMetadataOptions { /** * This parameter is currently ignored. */ userProject?: string; } export interface SetHmacKeyMetadata { state?: 'ACTIVE' | 'INACTIVE'; etag?: string; } export interface HmacKeyMetadataCallback { (err: Error | null, metadata?: HmacKeyMetadata, apiResponse?: Metadata): void; } export declare type HmacKeyMetadataResponse = [HmacKeyMetadata, Metadata]; /** * The API-formatted resource description of the HMAC key. * * Note: This is not guaranteed to be up-to-date when accessed. To get the * latest record, call the `getMetadata()` method. * * @name HmacKey#metadata * @type {object} */ /** * An HmacKey object contains metadata of an HMAC key created from a * service account through the {@link Storage} client using * {@link Storage#createHmacKey}. * * See {@link https://cloud.google.com/storage/docs/authentication/hmackeys| HMAC keys documentation} * * @class */ export declare class HmacKey extends ServiceObject { metadata: HmacKeyMetadata | undefined; /** * @typedef {object} HmacKeyOptions * @property {string} [projectId] The project ID of the project that owns * the service account of the requested HMAC key. If not provided, * the project ID used to instantiate the Storage client will be used. */ /** * Constructs an HmacKey object. * * Note: this only create a local reference to an HMAC key, to create * an HMAC key, use {@link Storage#createHmacKey}. * * @param {Storage} storage The Storage instance this HMAC key is * attached to. * @param {string} accessId The unique accessId for this HMAC key. * @param {HmacKeyOptions} options Constructor configurations. * @example * ``` * const {Storage} = require('@google-cloud/storage'); * const storage = new Storage(); * const hmacKey = storage.hmacKey('access-id'); * ``` */ constructor(storage: Storage, accessId: string, options?: HmacKeyOptions); }