Class ResourceSettingsService (1.1.0)

public static 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.

Inheritance

Object > ResourceSettingsService

Namespace

Google.Cloud.ResourceSettings.V1

Assembly

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
NameDescription
serviceImplResourceSettingsService.ResourceSettingsServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplResourceSettingsService.ResourceSettingsServiceBase

An object implementing the server-side handling logic.