Google Cloud Dataform V1beta1 Client - Class Repository (0.4.6)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class Repository.

Represents a Dataform Git repository.

Generated from protobuf message google.cloud.dataform.v1beta1.Repository

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The repository's name.

↳ display_name string

Optional. The repository's user-friendly name.

↳ git_remote_settings Repository\GitRemoteSettings

Optional. If set, configures this repository to be linked to a Git remote.

↳ npmrc_environment_variables_secret_version 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.

↳ workspace_compilation_overrides Repository\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.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Repository user labels.

↳ 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

↳ service_account string

Optional. The service account to run workflow invocations under.

getName

Output only. The repository's name.

Returns
Type Description
string

setName

Output only. The repository's name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. The repository's user-friendly name.

Returns
Type Description
string

setDisplayName

Optional. The repository's user-friendly name.

Parameter
Name Description
var string
Returns
Type Description
$this

getGitRemoteSettings

Optional. If set, configures this repository to be linked to a Git remote.

Returns
Type Description
Repository\GitRemoteSettings|null

hasGitRemoteSettings

clearGitRemoteSettings

setGitRemoteSettings

Optional. If set, configures this repository to be linked to a Git remote.

Parameter
Name Description
var Repository\GitRemoteSettings
Returns
Type Description
$this

getNpmrcEnvironmentVariablesSecretVersion

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.

Returns
Type Description
string

setNpmrcEnvironmentVariablesSecretVersion

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getWorkspaceCompilationOverrides

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.

Returns
Type Description
Repository\WorkspaceCompilationOverrides|null

hasWorkspaceCompilationOverrides

clearWorkspaceCompilationOverrides

setWorkspaceCompilationOverrides

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.

Parameter
Name Description
var Repository\WorkspaceCompilationOverrides
Returns
Type Description
$this

getLabels

Optional. Repository user labels.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional. Repository user labels.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getSetAuthenticatedUserAdmin

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

Returns
Type Description
bool

setSetAuthenticatedUserAdmin

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getServiceAccount

Optional. The service account to run workflow invocations under.

Returns
Type Description
string

setServiceAccount

Optional. The service account to run workflow invocations under.

Parameter
Name Description
var string
Returns
Type Description
$this