Class ProjectsResource.LocationsResource.RestoreChannelsResource.CreateRequest
Creates a new RestoreChannel in a given location.
Inheritance
ProjectsResource.LocationsResource.RestoreChannelsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RestoreChannelsResource.CreateRequest : BackupforGKEBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, RestoreChannel, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, RestoreChannel body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RestoreChannel | 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
Parent
Required. The location within which to create the RestoreChannel. Format:
projects/*/locations/*
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
RestoreChannelId
Optional. The client-provided short name for the RestoreChannel resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
Declaration
[RequestParameter("restoreChannelId", RequestParameterType.Query)]
public virtual string RestoreChannelId { get; set; }
Property Value
Type | Description |
---|---|
string |
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()