Google Cloud Logging v2 API - Class CreateBucketRequest (4.2.0)

public sealed class CreateBucketRequest : IMessage<CreateBucketRequest>, IEquatable<CreateBucketRequest>, IDeepCloneable<CreateBucketRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class CreateBucketRequest.

The parameters to CreateBucket.

Inheritance

object > CreateBucketRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

CreateBucketRequest()

public CreateBucketRequest()

CreateBucketRequest(CreateBucketRequest)

public CreateBucketRequest(CreateBucketRequest other)
Parameter
NameDescription
otherCreateBucketRequest

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
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsBillingAccountLocationName

public BillingAccountLocationName ParentAsBillingAccountLocationName { get; set; }

BillingAccountLocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
BillingAccountLocationName

ParentAsFolderLocationName

public FolderLocationName ParentAsFolderLocationName { get; set; }

FolderLocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
FolderLocationName

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationLocationName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName