Represents a StorageControl
Inheritance
$protobuf.rpc.Service > protos.google.storage.control.v2.StorageControlPackage
@google-cloud/storage-controlConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new StorageControl service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): StorageControl;Creates new StorageControl service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
StorageControl |
RPC service. Useful where requests and/or responses are streamed. |
createAnywhereCache(request, callback)
public createAnywhereCache(request: google.storage.control.v2.ICreateAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.CreateAnywhereCacheCallback): void;Calls CreateAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateAnywhereCacheRequest
CreateAnywhereCacheRequest message or plain object |
callback |
CreateAnywhereCacheCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
createAnywhereCache(request)
public createAnywhereCache(request: google.storage.control.v2.ICreateAnywhereCacheRequest): Promise<google.longrunning.Operation>;Calls CreateAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateAnywhereCacheRequest
CreateAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
createFolder(request, callback)
public createFolder(request: google.storage.control.v2.ICreateFolderRequest, callback: google.storage.control.v2.StorageControl.CreateFolderCallback): void;Calls CreateFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateFolderRequest
CreateFolderRequest message or plain object |
callback |
CreateFolderCallback
Node-style callback called with the error, if any, and Folder |
| Returns | |
|---|---|
| Type | Description |
void |
|
createFolder(request)
public createFolder(request: google.storage.control.v2.ICreateFolderRequest): Promise<google.storage.control.v2.Folder>;Calls CreateFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateFolderRequest
CreateFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.Folder> |
Promise |
createManagedFolder(request, callback)
public createManagedFolder(request: google.storage.control.v2.ICreateManagedFolderRequest, callback: google.storage.control.v2.StorageControl.CreateManagedFolderCallback): void;Calls CreateManagedFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateManagedFolderRequest
CreateManagedFolderRequest message or plain object |
callback |
CreateManagedFolderCallback
Node-style callback called with the error, if any, and ManagedFolder |
| Returns | |
|---|---|
| Type | Description |
void |
|
createManagedFolder(request)
public createManagedFolder(request: google.storage.control.v2.ICreateManagedFolderRequest): Promise<google.storage.control.v2.ManagedFolder>;Calls CreateManagedFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateManagedFolderRequest
CreateManagedFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.ManagedFolder> |
Promise |
deleteFolder(request, callback)
public deleteFolder(request: google.storage.control.v2.IDeleteFolderRequest, callback: google.storage.control.v2.StorageControl.DeleteFolderCallback): void;Calls DeleteFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteFolderRequest
DeleteFolderRequest message or plain object |
callback |
DeleteFolderCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteFolder(request)
public deleteFolder(request: google.storage.control.v2.IDeleteFolderRequest): Promise<google.protobuf.Empty>;Calls DeleteFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteFolderRequest
DeleteFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
deleteFolderRecursive(request, callback)
public deleteFolderRecursive(request: google.storage.control.v2.IDeleteFolderRecursiveRequest, callback: google.storage.control.v2.StorageControl.DeleteFolderRecursiveCallback): void;Calls DeleteFolderRecursive.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteFolderRecursiveRequest
DeleteFolderRecursiveRequest message or plain object |
callback |
DeleteFolderRecursiveCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteFolderRecursive(request)
public deleteFolderRecursive(request: google.storage.control.v2.IDeleteFolderRecursiveRequest): Promise<google.longrunning.Operation>;Calls DeleteFolderRecursive.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteFolderRecursiveRequest
DeleteFolderRecursiveRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
deleteManagedFolder(request, callback)
public deleteManagedFolder(request: google.storage.control.v2.IDeleteManagedFolderRequest, callback: google.storage.control.v2.StorageControl.DeleteManagedFolderCallback): void;Calls DeleteManagedFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteManagedFolderRequest
DeleteManagedFolderRequest message or plain object |
callback |
DeleteManagedFolderCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteManagedFolder(request)
public deleteManagedFolder(request: google.storage.control.v2.IDeleteManagedFolderRequest): Promise<google.protobuf.Empty>;Calls DeleteManagedFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteManagedFolderRequest
DeleteManagedFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
disableAnywhereCache(request, callback)
public disableAnywhereCache(request: google.storage.control.v2.IDisableAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.DisableAnywhereCacheCallback): void;Calls DisableAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
IDisableAnywhereCacheRequest
DisableAnywhereCacheRequest message or plain object |
callback |
DisableAnywhereCacheCallback
Node-style callback called with the error, if any, and AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
void |
|
disableAnywhereCache(request)
public disableAnywhereCache(request: google.storage.control.v2.IDisableAnywhereCacheRequest): Promise<google.storage.control.v2.AnywhereCache>;Calls DisableAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
IDisableAnywhereCacheRequest
DisableAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.AnywhereCache> |
Promise |
getAnywhereCache(request, callback)
public getAnywhereCache(request: google.storage.control.v2.IGetAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.GetAnywhereCacheCallback): void;Calls GetAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetAnywhereCacheRequest
GetAnywhereCacheRequest message or plain object |
callback |
GetAnywhereCacheCallback
Node-style callback called with the error, if any, and AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
void |
|
getAnywhereCache(request)
public getAnywhereCache(request: google.storage.control.v2.IGetAnywhereCacheRequest): Promise<google.storage.control.v2.AnywhereCache>;Calls GetAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetAnywhereCacheRequest
GetAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.AnywhereCache> |
Promise |
getFolder(request, callback)
public getFolder(request: google.storage.control.v2.IGetFolderRequest, callback: google.storage.control.v2.StorageControl.GetFolderCallback): void;Calls GetFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetFolderRequest
GetFolderRequest message or plain object |
callback |
GetFolderCallback
Node-style callback called with the error, if any, and Folder |
| Returns | |
|---|---|
| Type | Description |
void |
|
getFolder(request)
public getFolder(request: google.storage.control.v2.IGetFolderRequest): Promise<google.storage.control.v2.Folder>;Calls GetFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetFolderRequest
GetFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.Folder> |
Promise |
getFolderIntelligenceConfig(request, callback)
public getFolderIntelligenceConfig(request: google.storage.control.v2.IGetFolderIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.GetFolderIntelligenceConfigCallback): void;Calls GetFolderIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetFolderIntelligenceConfigRequest
GetFolderIntelligenceConfigRequest message or plain object |
callback |
GetFolderIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
getFolderIntelligenceConfig(request)
public getFolderIntelligenceConfig(request: google.storage.control.v2.IGetFolderIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls GetFolderIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetFolderIntelligenceConfigRequest
GetFolderIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.storage.control.v2.StorageControl.GetIamPolicyCallback): void;Calls GetIamPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls GetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.Policy> |
Promise |
getManagedFolder(request, callback)
public getManagedFolder(request: google.storage.control.v2.IGetManagedFolderRequest, callback: google.storage.control.v2.StorageControl.GetManagedFolderCallback): void;Calls GetManagedFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetManagedFolderRequest
GetManagedFolderRequest message or plain object |
callback |
GetManagedFolderCallback
Node-style callback called with the error, if any, and ManagedFolder |
| Returns | |
|---|---|
| Type | Description |
void |
|
getManagedFolder(request)
public getManagedFolder(request: google.storage.control.v2.IGetManagedFolderRequest): Promise<google.storage.control.v2.ManagedFolder>;Calls GetManagedFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetManagedFolderRequest
GetManagedFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.ManagedFolder> |
Promise |
getOrganizationIntelligenceConfig(request, callback)
public getOrganizationIntelligenceConfig(request: google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.GetOrganizationIntelligenceConfigCallback): void;Calls GetOrganizationIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetOrganizationIntelligenceConfigRequest
GetOrganizationIntelligenceConfigRequest message or plain object |
callback |
GetOrganizationIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
getOrganizationIntelligenceConfig(request)
public getOrganizationIntelligenceConfig(request: google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls GetOrganizationIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetOrganizationIntelligenceConfigRequest
GetOrganizationIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |
getProjectIntelligenceConfig(request, callback)
public getProjectIntelligenceConfig(request: google.storage.control.v2.IGetProjectIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.GetProjectIntelligenceConfigCallback): void;Calls GetProjectIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetProjectIntelligenceConfigRequest
GetProjectIntelligenceConfigRequest message or plain object |
callback |
GetProjectIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
getProjectIntelligenceConfig(request)
public getProjectIntelligenceConfig(request: google.storage.control.v2.IGetProjectIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls GetProjectIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetProjectIntelligenceConfigRequest
GetProjectIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |
getStorageLayout(request, callback)
public getStorageLayout(request: google.storage.control.v2.IGetStorageLayoutRequest, callback: google.storage.control.v2.StorageControl.GetStorageLayoutCallback): void;Calls GetStorageLayout.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetStorageLayoutRequest
GetStorageLayoutRequest message or plain object |
callback |
GetStorageLayoutCallback
Node-style callback called with the error, if any, and StorageLayout |
| Returns | |
|---|---|
| Type | Description |
void |
|
getStorageLayout(request)
public getStorageLayout(request: google.storage.control.v2.IGetStorageLayoutRequest): Promise<google.storage.control.v2.StorageLayout>;Calls GetStorageLayout.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetStorageLayoutRequest
GetStorageLayoutRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.StorageLayout> |
Promise |
listAnywhereCaches(request, callback)
public listAnywhereCaches(request: google.storage.control.v2.IListAnywhereCachesRequest, callback: google.storage.control.v2.StorageControl.ListAnywhereCachesCallback): void;Calls ListAnywhereCaches.
| Parameters | |
|---|---|
| Name | Description |
request |
IListAnywhereCachesRequest
ListAnywhereCachesRequest message or plain object |
callback |
ListAnywhereCachesCallback
Node-style callback called with the error, if any, and ListAnywhereCachesResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listAnywhereCaches(request)
public listAnywhereCaches(request: google.storage.control.v2.IListAnywhereCachesRequest): Promise<google.storage.control.v2.ListAnywhereCachesResponse>;Calls ListAnywhereCaches.
| Parameter | |
|---|---|
| Name | Description |
request |
IListAnywhereCachesRequest
ListAnywhereCachesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.ListAnywhereCachesResponse> |
Promise |
listFolders(request, callback)
public listFolders(request: google.storage.control.v2.IListFoldersRequest, callback: google.storage.control.v2.StorageControl.ListFoldersCallback): void;Calls ListFolders.
| Parameters | |
|---|---|
| Name | Description |
request |
IListFoldersRequest
ListFoldersRequest message or plain object |
callback |
ListFoldersCallback
Node-style callback called with the error, if any, and ListFoldersResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listFolders(request)
public listFolders(request: google.storage.control.v2.IListFoldersRequest): Promise<google.storage.control.v2.ListFoldersResponse>;Calls ListFolders.
| Parameter | |
|---|---|
| Name | Description |
request |
IListFoldersRequest
ListFoldersRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.ListFoldersResponse> |
Promise |
listManagedFolders(request, callback)
public listManagedFolders(request: google.storage.control.v2.IListManagedFoldersRequest, callback: google.storage.control.v2.StorageControl.ListManagedFoldersCallback): void;Calls ListManagedFolders.
| Parameters | |
|---|---|
| Name | Description |
request |
IListManagedFoldersRequest
ListManagedFoldersRequest message or plain object |
callback |
ListManagedFoldersCallback
Node-style callback called with the error, if any, and ListManagedFoldersResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listManagedFolders(request)
public listManagedFolders(request: google.storage.control.v2.IListManagedFoldersRequest): Promise<google.storage.control.v2.ListManagedFoldersResponse>;Calls ListManagedFolders.
| Parameter | |
|---|---|
| Name | Description |
request |
IListManagedFoldersRequest
ListManagedFoldersRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.ListManagedFoldersResponse> |
Promise |
pauseAnywhereCache(request, callback)
public pauseAnywhereCache(request: google.storage.control.v2.IPauseAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.PauseAnywhereCacheCallback): void;Calls PauseAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
IPauseAnywhereCacheRequest
PauseAnywhereCacheRequest message or plain object |
callback |
PauseAnywhereCacheCallback
Node-style callback called with the error, if any, and AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
void |
|
pauseAnywhereCache(request)
public pauseAnywhereCache(request: google.storage.control.v2.IPauseAnywhereCacheRequest): Promise<google.storage.control.v2.AnywhereCache>;Calls PauseAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
IPauseAnywhereCacheRequest
PauseAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.AnywhereCache> |
Promise |
renameFolder(request, callback)
public renameFolder(request: google.storage.control.v2.IRenameFolderRequest, callback: google.storage.control.v2.StorageControl.RenameFolderCallback): void;Calls RenameFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
IRenameFolderRequest
RenameFolderRequest message or plain object |
callback |
RenameFolderCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
renameFolder(request)
public renameFolder(request: google.storage.control.v2.IRenameFolderRequest): Promise<google.longrunning.Operation>;Calls RenameFolder.
| Parameter | |
|---|---|
| Name | Description |
request |
IRenameFolderRequest
RenameFolderRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
resumeAnywhereCache(request, callback)
public resumeAnywhereCache(request: google.storage.control.v2.IResumeAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.ResumeAnywhereCacheCallback): void;Calls ResumeAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
IResumeAnywhereCacheRequest
ResumeAnywhereCacheRequest message or plain object |
callback |
ResumeAnywhereCacheCallback
Node-style callback called with the error, if any, and AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
void |
|
resumeAnywhereCache(request)
public resumeAnywhereCache(request: google.storage.control.v2.IResumeAnywhereCacheRequest): Promise<google.storage.control.v2.AnywhereCache>;Calls ResumeAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
IResumeAnywhereCacheRequest
ResumeAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.AnywhereCache> |
Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.storage.control.v2.StorageControl.SetIamPolicyCallback): void;Calls SetIamPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls SetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.Policy> |
Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.storage.control.v2.StorageControl.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Parameters | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;Calls TestIamPermissions.
| Parameter | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.TestIamPermissionsResponse> |
Promise |
updateAnywhereCache(request, callback)
public updateAnywhereCache(request: google.storage.control.v2.IUpdateAnywhereCacheRequest, callback: google.storage.control.v2.StorageControl.UpdateAnywhereCacheCallback): void;Calls UpdateAnywhereCache.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateAnywhereCacheRequest
UpdateAnywhereCacheRequest message or plain object |
callback |
UpdateAnywhereCacheCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateAnywhereCache(request)
public updateAnywhereCache(request: google.storage.control.v2.IUpdateAnywhereCacheRequest): Promise<google.longrunning.Operation>;Calls UpdateAnywhereCache.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateAnywhereCacheRequest
UpdateAnywhereCacheRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
updateFolderIntelligenceConfig(request, callback)
public updateFolderIntelligenceConfig(request: google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.UpdateFolderIntelligenceConfigCallback): void;Calls UpdateFolderIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateFolderIntelligenceConfigRequest
UpdateFolderIntelligenceConfigRequest message or plain object |
callback |
UpdateFolderIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateFolderIntelligenceConfig(request)
public updateFolderIntelligenceConfig(request: google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls UpdateFolderIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateFolderIntelligenceConfigRequest
UpdateFolderIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |
updateOrganizationIntelligenceConfig(request, callback)
public updateOrganizationIntelligenceConfig(request: google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.UpdateOrganizationIntelligenceConfigCallback): void;Calls UpdateOrganizationIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateOrganizationIntelligenceConfigRequest
UpdateOrganizationIntelligenceConfigRequest message or plain object |
callback |
UpdateOrganizationIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateOrganizationIntelligenceConfig(request)
public updateOrganizationIntelligenceConfig(request: google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls UpdateOrganizationIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateOrganizationIntelligenceConfigRequest
UpdateOrganizationIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |
updateProjectIntelligenceConfig(request, callback)
public updateProjectIntelligenceConfig(request: google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest, callback: google.storage.control.v2.StorageControl.UpdateProjectIntelligenceConfigCallback): void;Calls UpdateProjectIntelligenceConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateProjectIntelligenceConfigRequest
UpdateProjectIntelligenceConfigRequest message or plain object |
callback |
UpdateProjectIntelligenceConfigCallback
Node-style callback called with the error, if any, and IntelligenceConfig |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateProjectIntelligenceConfig(request)
public updateProjectIntelligenceConfig(request: google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;Calls UpdateProjectIntelligenceConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateProjectIntelligenceConfigRequest
UpdateProjectIntelligenceConfigRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.storage.control.v2.IntelligenceConfig> |
Promise |