GetBucketArgs class

Arguments for getBucket. Arguments for getBucket.

Constructors

GetBucketArgs({required Input<String> name, Input<String?>? project})
Creates a new GetBucketArgs. name The name of the bucket. project The ID of the project in which the resource belongs. If it is not provided 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, and if no Compute API permissions are available or if the Compute API is disabled it defaults to the provider value. 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.
const
GetBucketArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The name of the bucket.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided 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, and if no Compute API permissions are available or if the Compute API is disabled it defaults to the provider value. 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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited