Show / Hide Table of Contents

Class OrganizationsResource.UpdateCmekSettingsRequest

Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: 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 Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CmekSettings>
LoggingBaseServiceRequest<CmekSettings>
OrganizationsResource.UpdateCmekSettingsRequest
Implements
IClientServiceRequest<CmekSettings>
IClientServiceRequest
Inherited Members
LoggingBaseServiceRequest<CmekSettings>.Xgafv
LoggingBaseServiceRequest<CmekSettings>.AccessToken
LoggingBaseServiceRequest<CmekSettings>.Alt
LoggingBaseServiceRequest<CmekSettings>.Callback
LoggingBaseServiceRequest<CmekSettings>.Fields
LoggingBaseServiceRequest<CmekSettings>.Key
LoggingBaseServiceRequest<CmekSettings>.OauthToken
LoggingBaseServiceRequest<CmekSettings>.PrettyPrint
LoggingBaseServiceRequest<CmekSettings>.QuotaUser
LoggingBaseServiceRequest<CmekSettings>.UploadType
LoggingBaseServiceRequest<CmekSettings>.UploadProtocol
ClientServiceRequest<CmekSettings>.Execute()
ClientServiceRequest<CmekSettings>.ExecuteAsStream()
ClientServiceRequest<CmekSettings>.ExecuteAsync()
ClientServiceRequest<CmekSettings>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CmekSettings>.ExecuteAsStreamAsync()
ClientServiceRequest<CmekSettings>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CmekSettings>.CreateRequest(bool?)
ClientServiceRequest<CmekSettings>.GenerateRequestUri()
ClientServiceRequest<CmekSettings>.GetDefaultETagAction(string)
ClientServiceRequest<CmekSettings>.ETagAction
ClientServiceRequest<CmekSettings>.ModifyRequest
ClientServiceRequest<CmekSettings>.ValidateParameters
ClientServiceRequest<CmekSettings>.ApiVersion
ClientServiceRequest<CmekSettings>.RequestParameters
ClientServiceRequest<CmekSettings>.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 OrganizationsResource.UpdateCmekSettingsRequest : LoggingBaseServiceRequest<CmekSettings>, IClientServiceRequest<CmekSettings>, IClientServiceRequest

Constructors

UpdateCmekSettingsRequest(IClientService, CmekSettings, string)

Constructs a new UpdateCmekSettings request.

Declaration
public UpdateCmekSettingsRequest(IClientService service, CmekSettings body, string name)
Parameters
Type Name Description
IClientService service
CmekSettings body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

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<CmekSettings>.RestPath

UpdateMask

Optional. Field mask identifying which fields from cmek_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<CmekSettings>.GetBody()

InitParameters()

Initializes UpdateCmekSettings parameter list.

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

Implements

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