RepositoryState class

Input properties used for looking up and filtering Repository resources.

Constructors

RepositoryState({Input<String?>? deletionPolicy, Input<String?>? displayName, Input<Map<String, String>?>? effectiveLabels, Input<RepositoryGitRemoteSettings?>? gitRemoteSettings, Input<String?>? kmsKeyName, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? npmrcEnvironmentVariablesSecretVersion, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? region, Input<String?>? serviceAccount, Input<RepositoryWorkspaceCompilationOverrides?>? workspaceCompilationOverrides})
Creates a new RepositoryState. deletionPolicy Policy to control how the repository and its child resources are deleted. displayName Optional. The repository's user-friendly name. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. gitRemoteSettings Optional. If set, configures this repository to be linked to a Git remote. kmsKeyName Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. labels Optional. Repository user labels. name The repository's name. npmrcEnvironmentVariablesSecretVersion Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects//secrets//versions/*. The file itself must be in a JSON format. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource region A reference to the region serviceAccount The service account to run workflow invocations under. workspaceCompilationOverrides If set, fields of workspaceCompilationOverrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results.
const
RepositoryState.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Policy to control how the repository and its child resources are deleted. When set to FORCE, any child resources of this repository will also be deleted.
final
displayName → Input<String?>?
Optional. The repository's user-friendly name.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
gitRemoteSettings → Input<RepositoryGitRemoteSettings?>?
Optional. If set, configures this repository to be linked to a Git remote. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyName → Input<String?>?
Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example projects/kmsProjectId/locations/region/keyRings/keyRegion/cryptoKeys/key
final
labels → Input<Map<String, String>?>?
Optional. Repository user labels. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
final
name → Input<String?>?
The repository's name.
final
npmrcEnvironmentVariablesSecretVersion → Input<String?>?
Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format projects//secrets//versions/*. The file itself must be in a JSON format.
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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
region → Input<String?>?
A reference to the region
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
The service account to run workflow invocations under.
final
workspaceCompilationOverrides → Input<RepositoryWorkspaceCompilationOverrides?>?
If set, fields of workspaceCompilationOverrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. Structure is documented below.
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