Class ProjectsResource.SitesResource.ChannelsResource.CreateRequest
Creates a new channel in the specified site.
Inheritance
ProjectsResource.SitesResource.ChannelsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource.ChannelsResource.CreateRequest : FirebaseHostingBaseServiceRequest<Channel>, IClientServiceRequest<Channel>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Channel, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Channel body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Channel | body | |
string | parent |
Properties
ChannelId
Required. Immutable. A unique ID within the site that identifies the channel.
Declaration
[RequestParameter("channelId", RequestParameterType.Query)]
public virtual string ChannelId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.Data.Channel>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.Data.Channel>.MethodName
Parent
Required. The site in which to create this channel, in the format: sites/ SITE_ID
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.Data.Channel>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.Data.Channel>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()