GetBucketPlainArgs

data class GetBucketPlainArgs(val name: String, val project: String? = null) : ConvertibleToJava<GetBucketPlainArgs>

A collection of arguments for invoking getBucket.

Constructors

Link copied to clipboard
constructor(name: String, project: String? = null)

Properties

Link copied to clipboard

The name of the bucket.

Link copied to clipboard
val project: String? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used. If no value is supplied in the configuration or through provider defaults then the data source will use the Compute API to find the project id that corresponds to the project number returned from the Storage API. Supplying a value for project doesn't influence retrieving data about the bucket but it can be used to prevent use of the Compute API. If you do provide a project value ensure that it is the correct value for that bucket; the data source will not check that the project id and project number match.

Functions

Link copied to clipboard
open override fun toJava(): GetBucketPlainArgs