Class ProjectsResource.LocationsResource.GitLabConfigsResource.CreateRequest
Creates a new GitLabConfig
. This API is experimental
Inheritance
ProjectsResource.LocationsResource.GitLabConfigsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GitLabConfigsResource.CreateRequest : CloudBuildBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GitLabConfig, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GitLabConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GitLabConfig | body | |
string | parent |
Properties
GitlabConfigId
Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
Declaration
[RequestParameter("gitlabConfigId", RequestParameterType.Query)]
public virtual string GitlabConfigId { get; set; }
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
Parent
Required. Name of the parent resource.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
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 Create parameter list.
Declaration
protected override void InitParameters()