1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dataform
  5. dataform/v1beta1
  6. getRepository

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dataform/v1beta1.getRepository

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Fetches a single Repository.

    Using getRepository

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
    function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
    def get_repository(location: Optional[str] = None,
                       project: Optional[str] = None,
                       repository_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
    def get_repository_output(location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       repository_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
    func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
    func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput

    > Note: This function is named LookupRepository in the Go SDK.

    public static class GetRepository 
    {
        public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
        public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dataform/v1beta1:getRepository
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    RepositoryId string
    Project string
    Location string
    RepositoryId string
    Project string
    location String
    repositoryId String
    project String
    location string
    repositoryId string
    project string
    location String
    repositoryId String
    project String

    getRepository Result

    The following output properties are available:

    DisplayName string
    Optional. The repository's user-friendly name.
    GitRemoteSettings Pulumi.GoogleNative.Dataform.V1Beta1.Outputs.GitRemoteSettingsResponse
    Optional. If set, configures this repository to be linked to a Git remote.
    Labels Dictionary<string, string>
    Optional. Repository user labels.
    Name string
    The repository's name.
    NpmrcEnvironmentVariablesSecretVersion 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.
    ServiceAccount string
    Optional. The service account to run workflow invocations under.
    SetAuthenticatedUserAdmin bool
    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 Pulumi.GoogleNative.Dataform.V1Beta1.Outputs.WorkspaceCompilationOverridesResponse
    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.
    DisplayName string
    Optional. The repository's user-friendly name.
    GitRemoteSettings GitRemoteSettingsResponse
    Optional. If set, configures this repository to be linked to a Git remote.
    Labels map[string]string
    Optional. Repository user labels.
    Name string
    The repository's name.
    NpmrcEnvironmentVariablesSecretVersion 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.
    ServiceAccount string
    Optional. The service account to run workflow invocations under.
    SetAuthenticatedUserAdmin bool
    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 WorkspaceCompilationOverridesResponse
    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.
    displayName String
    Optional. The repository's user-friendly name.
    gitRemoteSettings GitRemoteSettingsResponse
    Optional. If set, configures this repository to be linked to a Git remote.
    labels Map<String,String>
    Optional. Repository user labels.
    name String
    The repository's name.
    npmrcEnvironmentVariablesSecretVersion 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.
    serviceAccount String
    Optional. The service account to run workflow invocations under.
    setAuthenticatedUserAdmin Boolean
    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 WorkspaceCompilationOverridesResponse
    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.
    displayName string
    Optional. The repository's user-friendly name.
    gitRemoteSettings GitRemoteSettingsResponse
    Optional. If set, configures this repository to be linked to a Git remote.
    labels {[key: string]: string}
    Optional. Repository user labels.
    name string
    The repository's name.
    npmrcEnvironmentVariablesSecretVersion 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.
    serviceAccount string
    Optional. The service account to run workflow invocations under.
    setAuthenticatedUserAdmin boolean
    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 WorkspaceCompilationOverridesResponse
    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.
    display_name str
    Optional. The repository's user-friendly name.
    git_remote_settings GitRemoteSettingsResponse
    Optional. If set, configures this repository to be linked to a Git remote.
    labels Mapping[str, str]
    Optional. Repository user labels.
    name str
    The repository's name.
    npmrc_environment_variables_secret_version str
    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.
    service_account str
    Optional. The service account to run workflow invocations under.
    set_authenticated_user_admin bool
    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
    workspace_compilation_overrides WorkspaceCompilationOverridesResponse
    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.
    displayName String
    Optional. The repository's user-friendly name.
    gitRemoteSettings Property Map
    Optional. If set, configures this repository to be linked to a Git remote.
    labels Map<String>
    Optional. Repository user labels.
    name String
    The repository's name.
    npmrcEnvironmentVariablesSecretVersion 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.
    serviceAccount String
    Optional. The service account to run workflow invocations under.
    setAuthenticatedUserAdmin Boolean
    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 Property Map
    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.

    Supporting Types

    GitRemoteSettingsResponse

    AuthenticationTokenSecretVersion string
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    DefaultBranch string
    The Git remote's default branch name.
    SshAuthenticationConfig Pulumi.GoogleNative.Dataform.V1Beta1.Inputs.SshAuthenticationConfigResponse
    Optional. Authentication fields for remote uris using SSH protocol.
    TokenStatus string
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Url string
    The Git remote's URL.
    AuthenticationTokenSecretVersion string
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    DefaultBranch string
    The Git remote's default branch name.
    SshAuthenticationConfig SshAuthenticationConfigResponse
    Optional. Authentication fields for remote uris using SSH protocol.
    TokenStatus string
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Url string
    The Git remote's URL.
    authenticationTokenSecretVersion String
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    defaultBranch String
    The Git remote's default branch name.
    sshAuthenticationConfig SshAuthenticationConfigResponse
    Optional. Authentication fields for remote uris using SSH protocol.
    tokenStatus String
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    url String
    The Git remote's URL.
    authenticationTokenSecretVersion string
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    defaultBranch string
    The Git remote's default branch name.
    sshAuthenticationConfig SshAuthenticationConfigResponse
    Optional. Authentication fields for remote uris using SSH protocol.
    tokenStatus string
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    url string
    The Git remote's URL.
    authentication_token_secret_version str
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    default_branch str
    The Git remote's default branch name.
    ssh_authentication_config SshAuthenticationConfigResponse
    Optional. Authentication fields for remote uris using SSH protocol.
    token_status str
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    url str
    The Git remote's URL.
    authenticationTokenSecretVersion String
    Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    defaultBranch String
    The Git remote's default branch name.
    sshAuthenticationConfig Property Map
    Optional. Authentication fields for remote uris using SSH protocol.
    tokenStatus String
    Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    Deprecated:Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

    url String
    The Git remote's URL.

    SshAuthenticationConfigResponse

    HostPublicKey string
    Content of a public SSH key to verify an identity of a remote Git host.
    UserPrivateKeySecretVersion string
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    HostPublicKey string
    Content of a public SSH key to verify an identity of a remote Git host.
    UserPrivateKeySecretVersion string
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    hostPublicKey String
    Content of a public SSH key to verify an identity of a remote Git host.
    userPrivateKeySecretVersion String
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    hostPublicKey string
    Content of a public SSH key to verify an identity of a remote Git host.
    userPrivateKeySecretVersion string
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    host_public_key str
    Content of a public SSH key to verify an identity of a remote Git host.
    user_private_key_secret_version str
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.
    hostPublicKey String
    Content of a public SSH key to verify an identity of a remote Git host.
    userPrivateKeySecretVersion String
    The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.

    WorkspaceCompilationOverridesResponse

    DefaultDatabase string
    Optional. The default database (Google Cloud project ID).
    SchemaSuffix string
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    TablePrefix string
    Optional. The prefix that should be prepended to all table names.
    DefaultDatabase string
    Optional. The default database (Google Cloud project ID).
    SchemaSuffix string
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    TablePrefix string
    Optional. The prefix that should be prepended to all table names.
    defaultDatabase String
    Optional. The default database (Google Cloud project ID).
    schemaSuffix String
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    tablePrefix String
    Optional. The prefix that should be prepended to all table names.
    defaultDatabase string
    Optional. The default database (Google Cloud project ID).
    schemaSuffix string
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    tablePrefix string
    Optional. The prefix that should be prepended to all table names.
    default_database str
    Optional. The default database (Google Cloud project ID).
    schema_suffix str
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    table_prefix str
    Optional. The prefix that should be prepended to all table names.
    defaultDatabase String
    Optional. The default database (Google Cloud project ID).
    schemaSuffix String
    Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
    tablePrefix String
    Optional. The prefix that should be prepended to all table names.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi