View Source GoogleApi.Logging.V2.Model.CreateBucketRequest (google_api_logging v0.47.0)

The parameters to CreateBucket.

Attributes

  • bucket (type: GoogleApi.Logging.V2.Model.LogBucket.t, default: nil) - 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.
  • bucketId (type: String.t, default: nil) - 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. Bucket identifiers must start with an alphanumeric character.
  • parent (type: String.t, default: nil) - Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Logging.V2.Model.CreateBucketRequest{
  bucket: GoogleApi.Logging.V2.Model.LogBucket.t() | nil,
  bucketId: String.t() | nil,
  parent: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.