Resource Settings v1 API - Class ResourceSettingsService (2.2.0)

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.

Inheritance

object > ResourceSettingsService

Namespace

Google.Cloud.ResourceSettings.V1

Assembly

Google.Cloud.ResourceSettings.V1.dll

Methods

BindService(ResourceSettingsServiceBase)

public static ServerServiceDefinition BindService(ResourceSettingsService.ResourceSettingsServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplResourceSettingsServiceResourceSettingsServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, 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.

serviceImplResourceSettingsServiceResourceSettingsServiceBase

An object implementing the server-side handling logic.