RepositoryArgs class
The set of arguments for Repository. The set of arguments for Repository.
Constructors
-
RepositoryArgs({Input<
String?> ? deletionPolicy, Input<String?> ? displayName, Input<RepositoryGitRemoteSettings?> ? gitRemoteSettings, Input<String?> ? kmsKeyName, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? npmrcEnvironmentVariablesSecretVersion, Input<String?> ? project, Input<String?> ? region, Input<String?> ? serviceAccount, Input<RepositoryWorkspaceCompilationOverrides?> ? workspaceCompilationOverrides}) -
Creates a new RepositoryArgs.
deletionPolicyPolicy to control how the repository and its child resources are deleted.displayNameOptional. The repository's user-friendly name.gitRemoteSettingsOptional. If set, configures this repository to be linked to a Git remote.kmsKeyNameOptional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources.labelsOptional. Repository user labels.nameThe repository's name.npmrcEnvironmentVariablesSecretVersionOptional. 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.projectThe ID of the project in which the resource belongs.regionA reference to the regionserviceAccountThe service account to run workflow invocations under.workspaceCompilationOverridesIf set, fields of workspaceCompilationOverrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results.const -
RepositoryArgs.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
-
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/keyfinal -
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
-
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