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

@maxim_mazurok/gapi.client.storage-v1

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.storage-v1 - npm Package Compare versions

Comparing version 0.0.20230823 to 0.0.20230907

2

package.json
{
"name": "@maxim_mazurok/gapi.client.storage-v1",
"version": "0.0.20230823",
"version": "0.0.20230907",
"description": "TypeScript typings for Cloud Storage JSON API v1",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -247,2 +247,7 @@ # TypeScript typings for Cloud Storage JSON API v1

/*
Initiates a long-running bulk restore operation on the specified bucket.
*/
await gapi.client.storage.objects.bulkRestore({ bucket: "bucket", });
/*
Concatenates a list of existing objects into a new object in the same bucket.

@@ -288,2 +293,7 @@ */

/*
Restores a soft-deleted object.
*/
await gapi.client.storage.objects.restore({ bucket: "bucket", generation: "generation", object: "object", });
/*
Rewrites a source object to a destination object. Optionally overrides metadata.

@@ -312,2 +322,17 @@ */

await gapi.client.storage.objects.watchAll({ bucket: "bucket", });
/*
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed.
*/
await gapi.client.storage.buckets.operations.cancel({ bucket: "bucket", operationId: "operationId", });
/*
Gets the latest state of a long-running operation.
*/
await gapi.client.storage.buckets.operations.get({ bucket: "bucket", operationId: "operationId", });
/*
Lists operations that match the specified filter in the request.
*/
await gapi.client.storage.buckets.operations.list({ bucket: "bucket", });
```

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.storage-v1 definition tests */

// Revision: 20230823
// Revision: 20230907

@@ -890,2 +890,14 @@ gapi.load('client', async () => {

});
/** Initiates a long-running bulk restore operation on the specified bucket. */
await gapi.client.storage.objects.bulkRestore({
bucket: "Test string",
}, {
allowOverwrite: true,
copySourceAcl: true,
matchGlobs: [
"Test string"
],
softDeletedAfterTime: "Test string",
softDeletedBeforeTime: "Test string",
});
/** Concatenates a list of existing objects into a new object in the same bucket. */

@@ -1074,2 +1086,3 @@ await gapi.client.storage.objects.compose({

projection: "Test string",
softDeleted: true,
userProject: "Test string",

@@ -1169,2 +1182,3 @@ });

projection: "Test string",
softDeleted: true,
startOffset: "Test string",

@@ -1247,2 +1261,74 @@ userProject: "Test string",

});
/** Restores a soft-deleted object. */
await gapi.client.storage.objects.restore({
bucket: "Test string",
generation: "Test string",
ifGenerationMatch: "Test string",
ifGenerationNotMatch: "Test string",
ifMetagenerationMatch: "Test string",
ifMetagenerationNotMatch: "Test string",
object: "Test string",
projection: "Test string",
userProject: "Test string",
}, {
acl: [
{
bucket: "Test string",
domain: "Test string",
email: "Test string",
entity: "Test string",
entityId: "Test string",
etag: "Test string",
generation: "Test string",
id: "Test string",
kind: "Test string",
object: "Test string",
projectTeam: {
projectNumber: "Test string",
team: "Test string",
},
role: "Test string",
selfLink: "Test string",
}
],
bucket: "Test string",
cacheControl: "Test string",
componentCount: 42,
contentDisposition: "Test string",
contentEncoding: "Test string",
contentLanguage: "Test string",
contentType: "Test string",
crc32c: "Test string",
customerEncryption: {
encryptionAlgorithm: "Test string",
keySha256: "Test string",
},
customTime: "Test string",
etag: "Test string",
eventBasedHold: true,
generation: "Test string",
id: "Test string",
kind: "Test string",
kmsKeyName: "Test string",
md5Hash: "Test string",
mediaLink: "Test string",
metadata: {
A: "Test string"
},
metageneration: "Test string",
name: "Test string",
owner: {
entity: "Test string",
entityId: "Test string",
},
retentionExpirationTime: "Test string",
selfLink: "Test string",
size: "Test string",
storageClass: "Test string",
temporaryHold: true,
timeCreated: "Test string",
timeDeleted: "Test string",
timeStorageClassUpdated: "Test string",
updated: "Test string",
});
/** Rewrites a source object to a destination object. Optionally overrides metadata. */

@@ -1464,2 +1550,19 @@ await gapi.client.storage.objects.rewrite({

});
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. */
await gapi.client.storage.operations.cancel({
bucket: "Test string",
operationId: "Test string",
});
/** Gets the latest state of a long-running operation. */
await gapi.client.storage.operations.get({
bucket: "Test string",
operationId: "Test string",
});
/** Lists operations that match the specified filter in the request. */
await gapi.client.storage.operations.list({
bucket: "Test string",
filter: "Test string",
pageSize: 42,
pageToken: "Test string",
});
/** Creates a new HMAC key for the specified service account. */

@@ -1466,0 +1569,0 @@ await gapi.client.storage.projects.hmacKeys.create({

Sorry, the diff of this file is too big to display

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