Represents a ServiceAttachments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.ServiceAttachmentsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ServiceAttachments service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListServiceAttachmentsRequest, callback: google.cloud.compute.v1.ServiceAttachments.AggregatedListCallback): void;
Calls AggregatedList.
Name | Description |
request |
google.cloud.compute.v1.IAggregatedListServiceAttachmentsRequest
AggregatedListServiceAttachmentsRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.AggregatedListCallback
Node-style callback called with the error, if any, and ServiceAttachmentAggregatedList |
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListServiceAttachmentsRequest): Promise<google.cloud.compute.v1.ServiceAttachmentAggregatedList>;
Calls AggregatedList.
Name | Description |
request |
google.cloud.compute.v1.IAggregatedListServiceAttachmentsRequest
AggregatedListServiceAttachmentsRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.ServiceAttachmentAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ServiceAttachments;
Creates new ServiceAttachments service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
ServiceAttachments | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
IDeleteServiceAttachmentRequest
DeleteServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteServiceAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteServiceAttachmentRequest
DeleteServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.GetCallback): void;
Calls Get.
Name | Description |
request |
IGetServiceAttachmentRequest
GetServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.GetCallback
Node-style callback called with the error, if any, and ServiceAttachment |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetServiceAttachmentRequest): Promise<google.cloud.compute.v1.ServiceAttachment>;
Calls Get.
Name | Description |
request |
IGetServiceAttachmentRequest
GetServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.ServiceAttachment> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Name | Description |
request |
google.cloud.compute.v1.IGetIamPolicyServiceAttachmentRequest
GetIamPolicyServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Type | Description |
void |
getIamPolicy(request)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyServiceAttachmentRequest): Promise<google.cloud.compute.v1.Policy>;
Calls GetIamPolicy.
Name | Description |
request |
google.cloud.compute.v1.IGetIamPolicyServiceAttachmentRequest
GetIamPolicyServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Policy> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.InsertCallback): void;
Calls Insert.
Name | Description |
request |
IInsertServiceAttachmentRequest
InsertServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertServiceAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertServiceAttachmentRequest
InsertServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListServiceAttachmentsRequest, callback: google.cloud.compute.v1.ServiceAttachments.ListCallback): void;
Calls List.
Name | Description |
request |
IListServiceAttachmentsRequest
ListServiceAttachmentsRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.ListCallback
Node-style callback called with the error, if any, and ServiceAttachmentList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListServiceAttachmentsRequest): Promise<google.cloud.compute.v1.ServiceAttachmentList>;
Calls List.
Name | Description |
request |
IListServiceAttachmentsRequest
ListServiceAttachmentsRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.ServiceAttachmentList> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.PatchCallback): void;
Calls Patch.
Name | Description |
request |
google.cloud.compute.v1.IPatchServiceAttachmentRequest
PatchServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.PatchCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchServiceAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Name | Description |
request |
google.cloud.compute.v1.IPatchServiceAttachmentRequest
PatchServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Name | Description |
request |
ISetIamPolicyServiceAttachmentRequest
SetIamPolicyServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Type | Description |
void |
setIamPolicy(request)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyServiceAttachmentRequest): Promise<google.cloud.compute.v1.Policy>;
Calls SetIamPolicy.
Name | Description |
request |
ISetIamPolicyServiceAttachmentRequest
SetIamPolicyServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Policy> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsServiceAttachmentRequest, callback: google.cloud.compute.v1.ServiceAttachments.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Name | Description |
request |
google.cloud.compute.v1.ITestIamPermissionsServiceAttachmentRequest
TestIamPermissionsServiceAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.ServiceAttachments.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
Type | Description |
void |
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsServiceAttachmentRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;
Calls TestIamPermissions.
Name | Description |
request |
google.cloud.compute.v1.ITestIamPermissionsServiceAttachmentRequest
TestIamPermissionsServiceAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.TestPermissionsResponse> | Promise |