Represents a ServiceManager
Inheritance
$protobuf.rpc.Service > protos.google.api.servicemanagement.v1.ServiceManagerPackage
@google-cloud/service-managementConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ServiceManager 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): ServiceManager;
Creates new ServiceManager 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 |
ServiceManager | RPC service. Useful where requests and/or responses are streamed. |
createService(request, callback)
public createService(request: google.api.servicemanagement.v1.ICreateServiceRequest, callback: google.api.servicemanagement.v1.ServiceManager.CreateServiceCallback): void;
Calls CreateService.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
callback |
CreateServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createService(request)
public createService(request: google.api.servicemanagement.v1.ICreateServiceRequest): Promise<google.longrunning.Operation>;
Calls CreateService.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceRequest
CreateServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createServiceConfig(request, callback)
public createServiceConfig(request: google.api.servicemanagement.v1.ICreateServiceConfigRequest, callback: google.api.servicemanagement.v1.ServiceManager.CreateServiceConfigCallback): void;
Calls CreateServiceConfig.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceConfigRequest
CreateServiceConfigRequest message or plain object |
callback |
CreateServiceConfigCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
createServiceConfig(request)
public createServiceConfig(request: google.api.servicemanagement.v1.ICreateServiceConfigRequest): Promise<google.api.Service>;
Calls CreateServiceConfig.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceConfigRequest
CreateServiceConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.Service> | Promise |
createServiceRollout(request, callback)
public createServiceRollout(request: google.api.servicemanagement.v1.ICreateServiceRolloutRequest, callback: google.api.servicemanagement.v1.ServiceManager.CreateServiceRolloutCallback): void;
Calls CreateServiceRollout.
Parameters | |
---|---|
Name | Description |
request |
ICreateServiceRolloutRequest
CreateServiceRolloutRequest message or plain object |
callback |
CreateServiceRolloutCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createServiceRollout(request)
public createServiceRollout(request: google.api.servicemanagement.v1.ICreateServiceRolloutRequest): Promise<google.longrunning.Operation>;
Calls CreateServiceRollout.
Parameter | |
---|---|
Name | Description |
request |
ICreateServiceRolloutRequest
CreateServiceRolloutRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteService(request, callback)
public deleteService(request: google.api.servicemanagement.v1.IDeleteServiceRequest, callback: google.api.servicemanagement.v1.ServiceManager.DeleteServiceCallback): void;
Calls DeleteService.
Parameters | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
callback |
DeleteServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteService(request)
public deleteService(request: google.api.servicemanagement.v1.IDeleteServiceRequest): Promise<google.longrunning.Operation>;
Calls DeleteService.
Parameter | |
---|---|
Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
generateConfigReport(request, callback)
public generateConfigReport(request: google.api.servicemanagement.v1.IGenerateConfigReportRequest, callback: google.api.servicemanagement.v1.ServiceManager.GenerateConfigReportCallback): void;
Calls GenerateConfigReport.
Parameters | |
---|---|
Name | Description |
request |
IGenerateConfigReportRequest
GenerateConfigReportRequest message or plain object |
callback |
GenerateConfigReportCallback
Node-style callback called with the error, if any, and GenerateConfigReportResponse |
Returns | |
---|---|
Type | Description |
void |
generateConfigReport(request)
public generateConfigReport(request: google.api.servicemanagement.v1.IGenerateConfigReportRequest): Promise<google.api.servicemanagement.v1.GenerateConfigReportResponse>;
Calls GenerateConfigReport.
Parameter | |
---|---|
Name | Description |
request |
IGenerateConfigReportRequest
GenerateConfigReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.GenerateConfigReportResponse> | Promise |
getService(request, callback)
public getService(request: google.api.servicemanagement.v1.IGetServiceRequest, callback: google.api.servicemanagement.v1.ServiceManager.GetServiceCallback): void;
Calls GetService.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
callback |
GetServiceCallback
Node-style callback called with the error, if any, and ManagedService |
Returns | |
---|---|
Type | Description |
void |
getService(request)
public getService(request: google.api.servicemanagement.v1.IGetServiceRequest): Promise<google.api.servicemanagement.v1.ManagedService>;
Calls GetService.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.ManagedService> | Promise |
getServiceConfig(request, callback)
public getServiceConfig(request: google.api.servicemanagement.v1.IGetServiceConfigRequest, callback: google.api.servicemanagement.v1.ServiceManager.GetServiceConfigCallback): void;
Calls GetServiceConfig.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceConfigRequest
GetServiceConfigRequest message or plain object |
callback |
GetServiceConfigCallback
Node-style callback called with the error, if any, and Service |
Returns | |
---|---|
Type | Description |
void |
getServiceConfig(request)
public getServiceConfig(request: google.api.servicemanagement.v1.IGetServiceConfigRequest): Promise<google.api.Service>;
Calls GetServiceConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceConfigRequest
GetServiceConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.Service> | Promise |
getServiceRollout(request, callback)
public getServiceRollout(request: google.api.servicemanagement.v1.IGetServiceRolloutRequest, callback: google.api.servicemanagement.v1.ServiceManager.GetServiceRolloutCallback): void;
Calls GetServiceRollout.
Parameters | |
---|---|
Name | Description |
request |
IGetServiceRolloutRequest
GetServiceRolloutRequest message or plain object |
callback |
GetServiceRolloutCallback
Node-style callback called with the error, if any, and Rollout |
Returns | |
---|---|
Type | Description |
void |
getServiceRollout(request)
public getServiceRollout(request: google.api.servicemanagement.v1.IGetServiceRolloutRequest): Promise<google.api.servicemanagement.v1.Rollout>;
Calls GetServiceRollout.
Parameter | |
---|---|
Name | Description |
request |
IGetServiceRolloutRequest
GetServiceRolloutRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.Rollout> | Promise |
listServiceConfigs(request, callback)
public listServiceConfigs(request: google.api.servicemanagement.v1.IListServiceConfigsRequest, callback: google.api.servicemanagement.v1.ServiceManager.ListServiceConfigsCallback): void;
Calls ListServiceConfigs.
Parameters | |
---|---|
Name | Description |
request |
IListServiceConfigsRequest
ListServiceConfigsRequest message or plain object |
callback |
ListServiceConfigsCallback
Node-style callback called with the error, if any, and ListServiceConfigsResponse |
Returns | |
---|---|
Type | Description |
void |
listServiceConfigs(request)
public listServiceConfigs(request: google.api.servicemanagement.v1.IListServiceConfigsRequest): Promise<google.api.servicemanagement.v1.ListServiceConfigsResponse>;
Calls ListServiceConfigs.
Parameter | |
---|---|
Name | Description |
request |
IListServiceConfigsRequest
ListServiceConfigsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.ListServiceConfigsResponse> | Promise |
listServiceRollouts(request, callback)
public listServiceRollouts(request: google.api.servicemanagement.v1.IListServiceRolloutsRequest, callback: google.api.servicemanagement.v1.ServiceManager.ListServiceRolloutsCallback): void;
Calls ListServiceRollouts.
Parameters | |
---|---|
Name | Description |
request |
IListServiceRolloutsRequest
ListServiceRolloutsRequest message or plain object |
callback |
ListServiceRolloutsCallback
Node-style callback called with the error, if any, and ListServiceRolloutsResponse |
Returns | |
---|---|
Type | Description |
void |
listServiceRollouts(request)
public listServiceRollouts(request: google.api.servicemanagement.v1.IListServiceRolloutsRequest): Promise<google.api.servicemanagement.v1.ListServiceRolloutsResponse>;
Calls ListServiceRollouts.
Parameter | |
---|---|
Name | Description |
request |
IListServiceRolloutsRequest
ListServiceRolloutsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.ListServiceRolloutsResponse> | Promise |
listServices(request, callback)
public listServices(request: google.api.servicemanagement.v1.IListServicesRequest, callback: google.api.servicemanagement.v1.ServiceManager.ListServicesCallback): void;
Calls ListServices.
Parameters | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
callback |
ListServicesCallback
Node-style callback called with the error, if any, and ListServicesResponse |
Returns | |
---|---|
Type | Description |
void |
listServices(request)
public listServices(request: google.api.servicemanagement.v1.IListServicesRequest): Promise<google.api.servicemanagement.v1.ListServicesResponse>;
Calls ListServices.
Parameter | |
---|---|
Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.api.servicemanagement.v1.ListServicesResponse> | Promise |
submitConfigSource(request, callback)
public submitConfigSource(request: google.api.servicemanagement.v1.ISubmitConfigSourceRequest, callback: google.api.servicemanagement.v1.ServiceManager.SubmitConfigSourceCallback): void;
Calls SubmitConfigSource.
Parameters | |
---|---|
Name | Description |
request |
ISubmitConfigSourceRequest
SubmitConfigSourceRequest message or plain object |
callback |
SubmitConfigSourceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
submitConfigSource(request)
public submitConfigSource(request: google.api.servicemanagement.v1.ISubmitConfigSourceRequest): Promise<google.longrunning.Operation>;
Calls SubmitConfigSource.
Parameter | |
---|---|
Name | Description |
request |
ISubmitConfigSourceRequest
SubmitConfigSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
undeleteService(request, callback)
public undeleteService(request: google.api.servicemanagement.v1.IUndeleteServiceRequest, callback: google.api.servicemanagement.v1.ServiceManager.UndeleteServiceCallback): void;
Calls UndeleteService.
Parameters | |
---|---|
Name | Description |
request |
IUndeleteServiceRequest
UndeleteServiceRequest message or plain object |
callback |
UndeleteServiceCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
undeleteService(request)
public undeleteService(request: google.api.servicemanagement.v1.IUndeleteServiceRequest): Promise<google.longrunning.Operation>;
Calls UndeleteService.
Parameter | |
---|---|
Name | Description |
request |
IUndeleteServiceRequest
UndeleteServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |