Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/google-cloud__storage

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/google-cloud__storage - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

36

google-cloud__storage/index.d.ts

@@ -58,2 +58,4 @@ // Type definitions for @google-cloud/storage 1.7

};
// Note: This is not documented, but it is used in examples (https://cloud.google.com/nodejs/docs/reference/storage/1.7.x/Storage)
storageClass?: 'COLDLINE' | 'DURABLE_REDUCED_AVAILABILITY' | 'MULTI_REGIONAL' | 'NEARLINE' | 'REGIONAL';
}

@@ -206,2 +208,4 @@

componentCount?: number;
// Note: this property is accessed in one of the examples
component_count?: number;
contentDisposition?: string;

@@ -413,18 +417,2 @@ contentEncoding?: string;

/**
* The Storage class allows you interact with Google Cloud Storage.
*/
class Storage {
constructor(config?: ConfigurationObject);
acl: Acl;
bucket(name: string | Bucket): Bucket;
channel(id: string, resourceId: string): Channel;
createBucket(name: string, metadata?: BucketConfig): Promise<[Bucket, ApiResponse]>;
getBuckets(query?: BucketQuery): Promise<[Bucket[]]>;
getBucketsStream(query?: BucketQuery): Promise<[ReadStream]>;
Channel: (storage: Storage, id: string, resourceId: string) => Channel;
File: (bucket: Bucket, name: string, opts: BucketFileOptions) => File;
Bucket: (storage: Storage, name: string) => Bucket;
}
/**
* This class allows you interact with Google Cloud Storage.

@@ -466,4 +454,18 @@ */

declare function Storage(config?: Storage.ConfigurationObject): Storage.Storage;
/**
* The Storage class allows you interact with Google Cloud Storage.
*/
declare class Storage {
constructor(config?: Storage.ConfigurationObject);
acl: Storage.Acl;
bucket(name: string | Storage.Bucket): Storage.Bucket;
channel(id: string, resourceId: string): Storage.Channel;
createBucket(name: string, metadata?: Storage.BucketConfig): Promise<[Storage.Bucket, Storage.ApiResponse]>;
getBuckets(query?: Storage.BucketQuery): Promise<[Storage.Bucket[]]>;
getBucketsStream(query?: Storage.BucketQuery): Promise<[ReadStream]>;
Channel: (storage: Storage, id: string, resourceId: string) => Storage.Channel;
File: (bucket: Storage.Bucket, name: string, opts: Storage.BucketFileOptions) => Storage.File;
Bucket: (storage: Storage, name: string) => Storage.Bucket;
}
export = Storage;
{
"name": "@types/google-cloud__storage",
"version": "1.7.0",
"version": "1.7.1",
"description": "TypeScript definitions for @google-cloud/storage",

@@ -38,4 +38,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "40c65cea57ceebf357148bbe221dcbbe6a7fb66a7426848de46102da95f41162",
"typesPublisherContentHash": "2efac711a43125cb15591f4c74e954bd5ea58d7a80a0a755a2fe2b53867d7425",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Sat, 21 Jul 2018 02:05:50 GMT
* Last updated: Tue, 14 Aug 2018 00:52:13 GMT
* Dependencies: fs, request, node

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc