Class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.CreateRequest
Creates a new listing.
Inheritance
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1
Assembly: Google.Apis.AnalyticsHub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.CreateRequest : AnalyticsHubBaseServiceRequest<Listing>, IClientServiceRequest<Listing>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Listing, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Listing body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Listing | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ListingId
Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
Declaration
[RequestParameter("listingId", RequestParameterType.Query)]
public virtual string ListingId { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent resource path of the listing. e.g.
projects/myproject/locations/US/dataExchanges/123
.
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()