Constructor
new Services(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new Services service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createService(request, callback) → {undefined}
Calls CreateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.ICreateServiceRequest |
CreateServiceRequest message or plain object |
callback |
google.cloud.run.v2.Services.CreateServiceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createService(request) → {Promise.<google.longrunning.Operation>}
Calls CreateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.ICreateServiceRequest |
CreateServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteService(request, callback) → {undefined}
Calls DeleteService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IDeleteServiceRequest |
DeleteServiceRequest message or plain object |
callback |
google.cloud.run.v2.Services.DeleteServiceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
deleteService(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IDeleteServiceRequest |
DeleteServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getIamPolicy(request, callback) → {undefined}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
callback |
google.cloud.run.v2.Services.GetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
getService(request, callback) → {undefined}
Calls GetService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IGetServiceRequest |
GetServiceRequest message or plain object |
callback |
google.cloud.run.v2.Services.GetServiceCallback |
Node-style callback called with the error, if any, and Service |
Returns:
Type | Description |
---|---|
undefined |
getService(request) → {Promise.<google.cloud.run.v2.Service>}
Calls GetService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IGetServiceRequest |
GetServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.run.v2.Service> |
Promise |
listServices(request, callback) → {undefined}
Calls ListServices.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IListServicesRequest |
ListServicesRequest message or plain object |
callback |
google.cloud.run.v2.Services.ListServicesCallback |
Node-style callback called with the error, if any, and ListServicesResponse |
Returns:
Type | Description |
---|---|
undefined |
listServices(request) → {Promise.<google.cloud.run.v2.ListServicesResponse>}
Calls ListServices.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IListServicesRequest |
ListServicesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.run.v2.ListServicesResponse> |
Promise |
setIamPolicy(request, callback) → {undefined}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
callback |
google.cloud.run.v2.Services.SetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
testIamPermissions(request, callback) → {undefined}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
callback |
google.cloud.run.v2.Services.TestIamPermissionsCallback |
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
Returns:
Type | Description |
---|---|
undefined |
testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.TestIamPermissionsResponse> |
Promise |
updateService(request, callback) → {undefined}
Calls UpdateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IUpdateServiceRequest |
UpdateServiceRequest message or plain object |
callback |
google.cloud.run.v2.Services.UpdateServiceCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
updateService(request) → {Promise.<google.longrunning.Operation>}
Calls UpdateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.run.v2.IUpdateServiceRequest |
UpdateServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Services}
Creates new Services service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
Services |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateServiceCallback(error, responseopt)
Callback as used by createService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteServiceCallback(error, responseopt)
Callback as used by deleteService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetIamPolicyCallback(error, responseopt)
Callback as used by getIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
GetServiceCallback(error, responseopt)
Callback as used by getService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.run.v2.Service |
<optional> |
Service |
ListServicesCallback(error, responseopt)
Callback as used by listServices.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.run.v2.ListServicesResponse |
<optional> |
ListServicesResponse |
SetIamPolicyCallback(error, responseopt)
Callback as used by setIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
TestIamPermissionsCallback(error, responseopt)
Callback as used by testIamPermissions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.TestIamPermissionsResponse |
<optional> |
TestIamPermissionsResponse |
UpdateServiceCallback(error, responseopt)
Callback as used by updateService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |