public sealed class CreateBucketRequest : IMessage<CreateBucketRequest>, IEquatable<CreateBucketRequest>, IDeepCloneable<CreateBucketRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Logging v2 API class CreateBucketRequest.
The parameters to CreateBucket.
Implements
IMessageCreateBucketRequest, IEquatableCreateBucketRequest, IDeepCloneableCreateBucketRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
CreateBucketRequest()
public CreateBucketRequest()CreateBucketRequest(CreateBucketRequest)
public CreateBucketRequest(CreateBucketRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateBucketRequest |
Properties
Bucket
public LogBucket Bucket { get; set; }Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.
| Property Value | |
|---|---|
| Type | Description |
LogBucket |
|
BucketId
public string BucketId { get; set; }Required. A client-assigned identifier such as "my-bucket". Identifiers
are limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The resource in which to create the log bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
For example:
"projects/my-project/locations/global"
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsBillingAccountLocationName
public BillingAccountLocationName ParentAsBillingAccountLocationName { get; set; }BillingAccountLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
BillingAccountLocationName |
|
ParentAsFolderLocationName
public FolderLocationName ParentAsFolderLocationName { get; set; }FolderLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
FolderLocationName |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ParentAsOrganizationLocationName
public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }OrganizationLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
OrganizationLocationName |
|
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }IResourceName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|