Google Cloud Dataform V1beta1 Client - Class Repository (0.3.0)

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
NameDescription
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 Google\Cloud\Dataform\V1beta1\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 Google\Cloud\Dataform\V1beta1\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
TypeDescription
string

setName

Output only. The repository's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Optional. The repository's user-friendly name.

Returns
TypeDescription
string

setDisplayName

Optional. The repository's user-friendly name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGitRemoteSettings

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

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\Repository\GitRemoteSettings|null

hasGitRemoteSettings

clearGitRemoteSettings

setGitRemoteSettings

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

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\Repository\GitRemoteSettings
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
Google\Cloud\Dataform\V1beta1\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
NameDescription
var Google\Cloud\Dataform\V1beta1\Repository\WorkspaceCompilationOverrides
Returns
TypeDescription
$this

getLabels

Optional. Repository user labels.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Optional. Repository user labels.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getServiceAccount

Optional. The service account to run workflow invocations under.

Returns
TypeDescription
string

setServiceAccount

Optional. The service account to run workflow invocations under.

Parameter
NameDescription
var string
Returns
TypeDescription
$this