Class ProjectsResource.UpdateLoggingConfigRequest
Updates the LoggingConfig of the requested project.
Inheritance
ProjectsResource.UpdateLoggingConfigRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.UpdateLoggingConfigRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaLoggingConfig>, IClientServiceRequest<GoogleCloudRetailV2alphaLoggingConfig>, IClientServiceRequest
Constructors
UpdateLoggingConfigRequest(IClientService, GoogleCloudRetailV2alphaLoggingConfig, string)
Constructs a new UpdateLoggingConfig request.
Declaration
public UpdateLoggingConfigRequest(IClientService service, GoogleCloudRetailV2alphaLoggingConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaLoggingConfig | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Immutable. The name of the LoggingConfig singleton resource. Format: projects/*/loggingConfig
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
UpdateMask
Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields: * LoggingConfig.default_log_generation_rule * LoggingConfig.service_log_generation_rules If not set, all supported fields are updated.
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
InitParameters()
Initializes UpdateLoggingConfig parameter list.
Declaration
protected override void InitParameters()