GetRepositoryResult constructor

const GetRepositoryResult({
  1. required String displayName,
  2. required GitRemoteSettingsResponse gitRemoteSettings,
  3. required Map<String, String> labels,
  4. required String name,
  5. required String npmrcEnvironmentVariablesSecretVersion,
  6. required String serviceAccount,
  7. required bool setAuthenticatedUserAdmin,
  8. required WorkspaceCompilationOverridesResponse workspaceCompilationOverrides,
})

Creates a new GetRepositoryResult. displayName Optional. The repository's user-friendly name. gitRemoteSettings Optional. If set, configures this repository to be linked to a Git remote. 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. serviceAccount Optional. The service account to run workflow invocations under. setAuthenticatedUserAdmin Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories workspaceCompilationOverrides Optional. If set, fields of workspace_compilation_overrides override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for WorkspaceCompilationOverrides for more information.

Implementation

const GetRepositoryResult({
  required this.displayName,
  required this.gitRemoteSettings,
  required this.labels,
  required this.name,
  required this.npmrcEnvironmentVariablesSecretVersion,
  required this.serviceAccount,
  required this.setAuthenticatedUserAdmin,
  required this.workspaceCompilationOverrides,
});