Class ProjectsResource.LocationsResource.GitLabConfigsResource.RemoveGitLabConnectedRepositoryRequest
Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.
Inheritance
ProjectsResource.LocationsResource.GitLabConfigsResource.RemoveGitLabConnectedRepositoryRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GitLabConfigsResource.RemoveGitLabConnectedRepositoryRequest : CloudBuildBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
RemoveGitLabConnectedRepositoryRequest(IClientService, RemoveGitLabConnectedRepositoryRequest, string)
Constructs a new RemoveGitLabConnectedRepository request.
Declaration
public RemoveGitLabConnectedRepositoryRequest(IClientService service, RemoveGitLabConnectedRepositoryRequest body, string config)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RemoveGitLabConnectedRepositoryRequest | body | |
string | config |
Properties
Config
Required. The name of the GitLabConfig
to remove a connected repository. Format:
projects/{project}/locations/{location}/gitLabConfigs/{config}
Declaration
[RequestParameter("config", RequestParameterType.Path)]
public virtual string Config { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RemoveGitLabConnectedRepository parameter list.
Declaration
protected override void InitParameters()