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 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>
Copy
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]
Copy
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:dataform/v1beta1:getRepository
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
RepositoryId This property is required. string
Project string
Location This property is required. string
RepositoryId This property is required. string
Project string
location This property is required. String
repositoryId This property is required. String
project String
location This property is required. string
repositoryId This property is required. string
project string
location This property is required. str
repository_id This property is required. str
project str
location This property is required. String
repositoryId This property is required. 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 This property is required. 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 This property is required. string
The Git remote's default branch name.
SshAuthenticationConfig This property is required. Pulumi.GoogleNative.Dataform.V1Beta1.Inputs.SshAuthenticationConfigResponse
Optional. Authentication fields for remote uris using SSH protocol.
TokenStatus This property is required. 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 This property is required. string
The Git remote's URL.
AuthenticationTokenSecretVersion This property is required. 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 This property is required. string
The Git remote's default branch name.
SshAuthenticationConfig This property is required. SshAuthenticationConfigResponse
Optional. Authentication fields for remote uris using SSH protocol.
TokenStatus This property is required. 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 This property is required. string
The Git remote's URL.
authenticationTokenSecretVersion This property is required. 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 This property is required. String
The Git remote's default branch name.
sshAuthenticationConfig This property is required. SshAuthenticationConfigResponse
Optional. Authentication fields for remote uris using SSH protocol.
tokenStatus This property is required. 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 This property is required. String
The Git remote's URL.
authenticationTokenSecretVersion This property is required. 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 This property is required. string
The Git remote's default branch name.
sshAuthenticationConfig This property is required. SshAuthenticationConfigResponse
Optional. Authentication fields for remote uris using SSH protocol.
tokenStatus This property is required. 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 This property is required. string
The Git remote's URL.
authentication_token_secret_version This property is required. 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 This property is required. str
The Git remote's default branch name.
ssh_authentication_config This property is required. SshAuthenticationConfigResponse
Optional. Authentication fields for remote uris using SSH protocol.
token_status This property is required. 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 This property is required. str
The Git remote's URL.
authenticationTokenSecretVersion This property is required. 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 This property is required. String
The Git remote's default branch name.
sshAuthenticationConfig This property is required. Property Map
Optional. Authentication fields for remote uris using SSH protocol.
tokenStatus This property is required. 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 This property is required. String
The Git remote's URL.

SshAuthenticationConfigResponse

HostPublicKey This property is required. string
Content of a public SSH key to verify an identity of a remote Git host.
UserPrivateKeySecretVersion This property is required. 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 This property is required. string
Content of a public SSH key to verify an identity of a remote Git host.
UserPrivateKeySecretVersion This property is required. 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 This property is required. String
Content of a public SSH key to verify an identity of a remote Git host.
userPrivateKeySecretVersion This property is required. 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 This property is required. string
Content of a public SSH key to verify an identity of a remote Git host.
userPrivateKeySecretVersion This property is required. 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 This property is required. str
Content of a public SSH key to verify an identity of a remote Git host.
user_private_key_secret_version This property is required. 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 This property is required. String
Content of a public SSH key to verify an identity of a remote Git host.
userPrivateKeySecretVersion This property is required. 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 This property is required. string
Optional. The default database (Google Cloud project ID).
SchemaSuffix This property is required. string
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
TablePrefix This property is required. string
Optional. The prefix that should be prepended to all table names.
DefaultDatabase This property is required. string
Optional. The default database (Google Cloud project ID).
SchemaSuffix This property is required. string
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
TablePrefix This property is required. string
Optional. The prefix that should be prepended to all table names.
defaultDatabase This property is required. String
Optional. The default database (Google Cloud project ID).
schemaSuffix This property is required. String
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
tablePrefix This property is required. String
Optional. The prefix that should be prepended to all table names.
defaultDatabase This property is required. string
Optional. The default database (Google Cloud project ID).
schemaSuffix This property is required. string
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
tablePrefix This property is required. string
Optional. The prefix that should be prepended to all table names.
default_database This property is required. str
Optional. The default database (Google Cloud project ID).
schema_suffix This property is required. str
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
table_prefix This property is required. str
Optional. The prefix that should be prepended to all table names.
defaultDatabase This property is required. String
Optional. The default database (Google Cloud project ID).
schemaSuffix This property is required. String
Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
tablePrefix This property is required. 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 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