Class CreateBucketRequest (3.5.0)

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

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 &quot;my-bucket&quot;. 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:

&quot;projects/my-project/locations/global&quot;

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