Class ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.CreateRequest
Creates a new OauthClientCredential.
Inheritance
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.CreateRequest : IamBaseServiceRequest<OauthClientCredential>, IClientServiceRequest<OauthClientCredential>, IClientServiceRequest
Constructors
CreateRequest(IClientService, OauthClientCredential, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, OauthClientCredential body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
OauthClientCredential | body | |
string | parent |
Properties
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
OauthClientCredentialId
Required. The ID to use for the OauthClientCredential, which becomes the final component of
the resource name. This value should be 4-32 characters, and may contain the characters
[a-z0-9-]. The prefix gcp-
is reserved for use by Google, and may not be specified.
Declaration
[RequestParameter("oauthClientCredentialId", RequestParameterType.Query)]
public virtual string OauthClientCredentialId { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The parent resource to create the OauthClientCredential in.
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()