Represents an ImageFamilyViews
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.ImageFamilyViewsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ImageFamilyViews 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): ImageFamilyViews;
Creates new ImageFamilyViews 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 |
ImageFamilyViews |
RPC service. Useful where requests and/or responses are streamed. |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetImageFamilyViewRequest, callback: google.cloud.compute.v1.ImageFamilyViews.GetCallback): void;
Calls Get.
Parameters | |
---|---|
Name | Description |
request |
IGetImageFamilyViewRequest
GetImageFamilyViewRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and ImageFamilyView |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetImageFamilyViewRequest): Promise<google.cloud.compute.v1.ImageFamilyView>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetImageFamilyViewRequest
GetImageFamilyViewRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.ImageFamilyView> |
Promise |