AppHostingBackendArgs class

The set of arguments for AppHostingBackend. The set of arguments for AppHostingBackend.

Constructors

AppHostingBackendArgs({Input<Map<String, String>?>? annotations, required Input<String> appId, required Input<String> backendId, Input<AppHostingBackendCodebase?>? codebase, Input<String?>? deletionPolicy, Input<String?>? displayName, Input<String?>? environment, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? project, required Input<String> serviceAccount, required Input<String> servingLocality})
Creates a new AppHostingBackendArgs. annotations Unstructured key value map that may be set by external tools to appId The [ID of a Web backendId Id of the backend. Also used as the service ID for Cloud Run, and as part codebase The connection to an external source repository to watch for event-driven deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName Human-readable name. 63 character limit. environment The environment name of the backend, used to load environment variables labels Unstructured key value map that can be used to organize and categorize location The canonical IDs of a Google Cloud location such as "us-east1". project The ID of the project in which the resource belongs. serviceAccount The name of the service account used for Cloud Build and Cloud Run. servingLocality Immutable. Specifies how App Hosting will serve the content for this backend. It will
const
AppHostingBackendArgs.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>?>?
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
final
appId → Input<String>
The ID of a Web App associated with the backend.
final
backendId → Input<String>
Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name.
final
codebase → Input<AppHostingBackendCodebase?>?
The connection to an external source repository to watch for event-driven updates to the backend. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
displayName → Input<String?>?
Human-readable name. 63 character limit.
final
environment → Input<String?>?
The environment name of the backend, used to load environment variables from environment specific configuration.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Unstructured key value map that can be used to organize and categorize objects. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
location → Input<String>
The canonical IDs of a Google Cloud location such as "us-east1".
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String>
The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.
final
servingLocality → Input<String>
Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS). Possible values are: REGIONAL_STRICT, GLOBAL_ACCESS.
final

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