@Generated("by gapic-generator-java")
Package com.google.cloud.resourcesettings.v1
The interfaces provided are listed below, along with usage samples.
======================= ResourceSettingsServiceClient =======================
Service Description: 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.
Sample for ResourceSettingsServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ResourceSettingsServiceClient resourceSettingsServiceClient =
ResourceSettingsServiceClient.create()) {
SettingName name =
SettingName.ofOrganizationSettingNameName("[ORGANIZATION]", "[SETTING_NAME]");
Setting response = resourceSettingsServiceClient.getSetting(name);
}
-
Interface Summary Interface Description GetSettingRequestOrBuilder ListSettingsRequestOrBuilder ListSettingsResponseOrBuilder ResourceSettingsServiceGrpc.AsyncService An interface to interact with resource settings and setting values throughout the resource hierarchy.SettingMetadataOrBuilder SettingOrBuilder UpdateSettingRequestOrBuilder Value.EnumValueOrBuilder Value.StringSetOrBuilder ValueOrBuilder -
Class Summary Class Description GetSettingRequest The request for GetSetting.GetSettingRequest.Builder The request for GetSetting.ListSettingsRequest The request for ListSettings.ListSettingsRequest.Builder The request for ListSettings.ListSettingsResponse The response from ListSettings.ListSettingsResponse.Builder The response from ListSettings.ResourceSettingsProto ResourceSettingsServiceClient Service Description: An interface to interact with resource settings and setting values throughout the resource hierarchy.ResourceSettingsServiceClient.ListSettingsFixedSizeCollection ResourceSettingsServiceClient.ListSettingsPage ResourceSettingsServiceClient.ListSettingsPagedResponse ResourceSettingsServiceGrpc An interface to interact with resource settings and setting values throughout the resource hierarchy.ResourceSettingsServiceGrpc.ResourceSettingsServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ResourceSettingsService.ResourceSettingsServiceGrpc.ResourceSettingsServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ResourceSettingsService.ResourceSettingsServiceGrpc.ResourceSettingsServiceImplBase Base class for the server implementation of the service ResourceSettingsService.ResourceSettingsServiceGrpc.ResourceSettingsServiceStub A stub to allow clients to do asynchronous rpc calls to service ResourceSettingsService.ResourceSettingsServiceSettings Settings class to configure an instance ofResourceSettingsServiceClient
.ResourceSettingsServiceSettings.Builder Builder for ResourceSettingsServiceSettings.Setting The schema for settings.Setting.Builder The schema for settings.SettingMetadata Metadata about a setting which is not editable by the end user.SettingMetadata.Builder Metadata about a setting which is not editable by the end user.SettingName SettingName.Builder Builder for projects/{project_number}/settings/{setting_name}.SettingName.FolderSettingNameBuilder Builder for folders/{folder}/settings/{setting_name}.SettingName.OrganizationSettingNameBuilder Builder for organizations/{organization}/settings/{setting_name}.UpdateSettingRequest The request for UpdateSetting.UpdateSettingRequest.Builder The request for UpdateSetting.Value The data in a setting value.Value.Builder The data in a setting value.Value.EnumValue A enum value that can hold any enum type setting values.Value.EnumValue.Builder A enum value that can hold any enum type setting values.Value.StringSet A string set value that can hold a set of strings.Value.StringSet.Builder A string set value that can hold a set of strings. -
Enum Summary Enum Description SettingMetadata.DataType The data type for setting values of this setting.SettingView View options for Settings.Value.ValueCase