Represents a ResourceSettingsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.resourcesettings.v1.ResourceSettingsServicePackage
@google-cloud/resource-settings!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ResourceSettingsService service.
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): ResourceSettingsService;
Creates new ResourceSettingsService 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 |
ResourceSettingsService | RPC service. Useful where requests and/or responses are streamed. |
getSetting(request, callback)
public getSetting(request: google.cloud.resourcesettings.v1.IGetSettingRequest, callback: google.cloud.resourcesettings.v1.ResourceSettingsService.GetSettingCallback): void;
Calls GetSetting.
Name | Description |
request |
IGetSettingRequest
GetSettingRequest message or plain object |
callback |
google.cloud.resourcesettings.v1.ResourceSettingsService.GetSettingCallback
Node-style callback called with the error, if any, and Setting |
Type | Description |
void |
getSetting(request)
public getSetting(request: google.cloud.resourcesettings.v1.IGetSettingRequest): Promise<google.cloud.resourcesettings.v1.Setting>;
Calls GetSetting.
Name | Description |
request |
IGetSettingRequest
GetSettingRequest message or plain object |
Type | Description |
Promise<google.cloud.resourcesettings.v1.Setting> | Promise |
listSettings(request, callback)
public listSettings(request: google.cloud.resourcesettings.v1.IListSettingsRequest, callback: google.cloud.resourcesettings.v1.ResourceSettingsService.ListSettingsCallback): void;
Calls ListSettings.
Name | Description |
request |
google.cloud.resourcesettings.v1.IListSettingsRequest
ListSettingsRequest message or plain object |
callback |
google.cloud.resourcesettings.v1.ResourceSettingsService.ListSettingsCallback
Node-style callback called with the error, if any, and ListSettingsResponse |
Type | Description |
void |
listSettings(request)
public listSettings(request: google.cloud.resourcesettings.v1.IListSettingsRequest): Promise<google.cloud.resourcesettings.v1.ListSettingsResponse>;
Calls ListSettings.
Name | Description |
request |
google.cloud.resourcesettings.v1.IListSettingsRequest
ListSettingsRequest message or plain object |
Type | Description |
Promise<google.cloud.resourcesettings.v1.ListSettingsResponse> | Promise |
updateSetting(request, callback)
public updateSetting(request: google.cloud.resourcesettings.v1.IUpdateSettingRequest, callback: google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSettingCallback): void;
Calls UpdateSetting.
Name | Description |
request |
IUpdateSettingRequest
UpdateSettingRequest message or plain object |
callback |
google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSettingCallback
Node-style callback called with the error, if any, and Setting |
Type | Description |
void |
updateSetting(request)
public updateSetting(request: google.cloud.resourcesettings.v1.IUpdateSettingRequest): Promise<google.cloud.resourcesettings.v1.Setting>;
Calls UpdateSetting.
Name | Description |
request |
IUpdateSettingRequest
UpdateSettingRequest message or plain object |
Type | Description |
Promise<google.cloud.resourcesettings.v1.Setting> | Promise |