Class ResourceSettingsServiceGrpc (1.24.0)

public final class ResourceSettingsServiceGrpc

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

java.lang.Object > ResourceSettingsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ResourceSettingsServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ResourceSettingsServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceResourceSettingsServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGetSettingMethod()

public static MethodDescriptor<GetSettingRequest,Setting> getGetSettingMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSettingRequest,Setting>

getListSettingsMethod()

public static MethodDescriptor<ListSettingsRequest,ListSettingsResponse> getListSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSettingsRequest,ListSettingsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateSettingMethod()

public static MethodDescriptor<UpdateSettingRequest,Setting> getUpdateSettingMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSettingRequest,Setting>

newBlockingStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ResourceSettingsServiceGrpc.ResourceSettingsServiceBlockingStub

newFutureStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ResourceSettingsServiceGrpc.ResourceSettingsServiceFutureStub

newStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ResourceSettingsServiceGrpc.ResourceSettingsServiceStub