Class ProjectsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest
Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
Inheritance
ProjectsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class ProjectsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest : LoggingBaseServiceRequest<LogView>, IClientServiceRequest<LogView>, IClientServiceRequest
Constructors
CreateRequest(IClientService, LogView, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, LogView body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
LogView | body | |
string | parent |
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
Parent
Required. The bucket in which to create the view
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
For
example:"projects/my-project/locations/global/buckets/my-bucket"
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ViewId
Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
Declaration
[RequestParameter("viewId", RequestParameterType.Query)]
public virtual string ViewId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()