public static class ResourceSettingsService
Reference documentation and code samples for the Resource Settings v1 API class ResourceSettingsService.
An interface to interact with resource settings and setting values throughout the resource hierarchy.
Services may surface a number of settings for users to control how their resources behave. Values of settings applied on a given Cloud resource are evaluated hierarchically and inherited by all descendants of that resource.
For all requests, returns a google.rpc.Status
with
google.rpc.Code.PERMISSION_DENIED
if the IAM check fails or the parent
resource is not in a Cloud Organization.
For all requests, returns a google.rpc.Status
with
google.rpc.Code.INVALID_ARGUMENT
if the request is malformed.
Namespace
Google.Cloud.ResourceSettings.V1Assembly
Google.Cloud.ResourceSettings.V1.dll
Methods
BindService(ResourceSettingsService.ResourceSettingsServiceBase)
public static ServerServiceDefinition BindService(ResourceSettingsService.ResourceSettingsServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | ResourceSettingsService.ResourceSettingsServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, ResourceSettingsService.ResourceSettingsServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, ResourceSettingsService.ResourceSettingsServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | ResourceSettingsService.ResourceSettingsServiceBase An object implementing the server-side handling logic. |