Class OrganizationsResource.SettingsResource
The "settings" collection of methods.
Inherited Members
Namespace: Google.Apis.ResourceSettings.v1
Assembly: Google.Apis.ResourceSettings.v1.dll
Syntax
public class OrganizationsResource.SettingsResource
Constructors
SettingsResource(IClientService)
Constructs a new resource.
Declaration
public SettingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Returns a specified setting. Returns a google.rpc.Status
with google.rpc.Code.NOT_FOUND
if the
setting does not exist.
Declaration
public virtual OrganizationsResource.SettingsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the setting to get. See Setting for naming requirements. |
Returns
Type | Description |
---|---|
OrganizationsResource.SettingsResource.GetRequest |
List(string)
Lists all the settings that are available on the Cloud resource parent
.
Declaration
public virtual OrganizationsResource.SettingsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project, folder, or organization that is the parent resource for this setting. Must be in
one of the following forms: * |
Returns
Type | Description |
---|---|
OrganizationsResource.SettingsResource.ListRequest |
Patch(GoogleCloudResourcesettingsV1Setting, string)
Updates a specified setting. Returns a google.rpc.Status
with google.rpc.Code.NOT_FOUND
if the
setting does not exist. Returns a google.rpc.Status
with google.rpc.Code.FAILED_PRECONDITION
if the
setting is flagged as read only. Returns a google.rpc.Status
with google.rpc.Code.ABORTED
if the
etag supplied in the request does not match the persisted etag of the setting value. On success, the
response will contain only name
, local_value
and etag
. The metadata
and effective_value
cannot
be updated through this API. Note: the supplied setting will perform a full overwrite of the
local_value
field.
Declaration
public virtual OrganizationsResource.SettingsResource.PatchRequest Patch(GoogleCloudResourcesettingsV1Setting body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudResourcesettingsV1Setting | body | The body of the request. |
string | name | The resource name of the setting. Must be in one of the following forms: *
|
Returns
Type | Description |
---|---|
OrganizationsResource.SettingsResource.PatchRequest |