Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RepositoriesResource

The "repositories" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RepositoriesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource

Constructors

RepositoriesResource(IClientService)

Constructs a new resource.

Declaration
public RepositoriesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

CompilationResults

Gets the CompilationResults resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.CompilationResultsResource CompilationResults { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.CompilationResultsResource

ReleaseConfigs

Gets the ReleaseConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.ReleaseConfigsResource ReleaseConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.ReleaseConfigsResource

WorkflowConfigs

Gets the WorkflowConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.WorkflowConfigsResource WorkflowConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.WorkflowConfigsResource

WorkflowInvocations

Gets the WorkflowInvocations resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.WorkflowInvocationsResource WorkflowInvocations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.WorkflowInvocationsResource

Workspaces

Gets the Workspaces resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource Workspaces { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource

Methods

Commit(CommitRepositoryChangesRequest, string)

Applies a Git commit to a Repository. The Repository must not have a value for git_remote_settings.url.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.CommitRequest Commit(CommitRepositoryChangesRequest body, string name)
Parameters
Type Name Description
CommitRepositoryChangesRequest body

The body of the request.

string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.CommitRequest

ComputeAccessTokenStatus(string)

Computes a Repository's Git access token status.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.ComputeAccessTokenStatusRequest ComputeAccessTokenStatus(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.ComputeAccessTokenStatusRequest

Create(Repository, string)

Creates a new Repository in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.CreateRequest Create(Repository body, string parent)
Parameters
Type Name Description
Repository body

The body of the request.

string parent

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.CreateRequest

Delete(string)

Deletes a single Repository.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.DeleteRequest

FetchHistory(string)

Fetches a Repository's history of commits. The Repository must not have a value for git_remote_settings.url.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FetchHistoryRequest FetchHistory(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.FetchHistoryRequest

FetchRemoteBranches(string)

Fetches a Repository's remote branches.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FetchRemoteBranchesRequest FetchRemoteBranches(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.FetchRemoteBranchesRequest

Get(string)

Fetches a single Repository.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.GetRequest

GetIamPolicy(string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type Name Description
string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.GetIamPolicyRequest

List(string)

Lists Repositories in a given project and location. Note: This method can return repositories not shown in the Dataform UI.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.ListRequest

Patch(Repository, string)

Updates a single Repository. Note: This method does not fully implement AIP/134. The wildcard entry (*) is treated as a bad request, and when the field_mask is omitted, the request is treated as a full update on all modifiable fields.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest Patch(Repository body, string name)
Parameters
Type Name Description
Repository body

The body of the request.

string name

Identifier. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest

QueryDirectoryContents(string)

Returns the contents of a given Repository directory. The Repository must not have a value for git_remote_settings.url.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.QueryDirectoryContentsRequest QueryDirectoryContents(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.QueryDirectoryContentsRequest

ReadFile(string)

Returns the contents of a file (inside a Repository). The Repository must not have a value for git_remote_settings.url.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.ReadFileRequest ReadFile(string name)
Parameters
Type Name Description
string name

Required. The repository's name.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.ReadFileRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RepositoriesResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX