Show / Hide Table of Contents

Class FoldersResource.UpdateSettingsRequest

Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Settings>
LoggingBaseServiceRequest<Settings>
FoldersResource.UpdateSettingsRequest
Implements
IClientServiceRequest<Settings>
IClientServiceRequest
Inherited Members
LoggingBaseServiceRequest<Settings>.Xgafv
LoggingBaseServiceRequest<Settings>.AccessToken
LoggingBaseServiceRequest<Settings>.Alt
LoggingBaseServiceRequest<Settings>.Callback
LoggingBaseServiceRequest<Settings>.Fields
LoggingBaseServiceRequest<Settings>.Key
LoggingBaseServiceRequest<Settings>.OauthToken
LoggingBaseServiceRequest<Settings>.PrettyPrint
LoggingBaseServiceRequest<Settings>.QuotaUser
LoggingBaseServiceRequest<Settings>.UploadType
LoggingBaseServiceRequest<Settings>.UploadProtocol
ClientServiceRequest<Settings>.Execute()
ClientServiceRequest<Settings>.ExecuteAsStream()
ClientServiceRequest<Settings>.ExecuteAsync()
ClientServiceRequest<Settings>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Settings>.ExecuteAsStreamAsync()
ClientServiceRequest<Settings>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Settings>.CreateRequest(bool?)
ClientServiceRequest<Settings>.GenerateRequestUri()
ClientServiceRequest<Settings>.GetDefaultETagAction(string)
ClientServiceRequest<Settings>.ETagAction
ClientServiceRequest<Settings>.ModifyRequest
ClientServiceRequest<Settings>.ValidateParameters
ClientServiceRequest<Settings>.ApiVersion
ClientServiceRequest<Settings>.RequestParameters
ClientServiceRequest<Settings>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class FoldersResource.UpdateSettingsRequest : LoggingBaseServiceRequest<Settings>, IClientServiceRequest<Settings>, IClientServiceRequest

Constructors

UpdateSettingsRequest(IClientService, Settings, string)

Constructs a new UpdateSettings request.

Declaration
public UpdateSettingsRequest(IClientService service, Settings body, string name)
Parameters
Type Name Description
IClientService service
Settings body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Settings>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Settings>.MethodName

Name

Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Settings>.RestPath

UpdateMask

Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Settings>.GetBody()

InitParameters()

Initializes UpdateSettings parameter list.

Declaration
protected override void InitParameters()
Overrides
LoggingBaseServiceRequest<Settings>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX