Class ProjectsResource.LocationsResource.DataExchangesResource.CreateRequest
Creates a new data exchange.
Inheritance
ProjectsResource.LocationsResource.DataExchangesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1beta1
Assembly: Google.Apis.AnalyticsHub.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DataExchangesResource.CreateRequest : AnalyticsHubBaseServiceRequest<DataExchange>, IClientServiceRequest<DataExchange>, IClientServiceRequest
Constructors
CreateRequest(IClientService, DataExchange, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, DataExchange body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DataExchange | body | |
string | parent |
Properties
DataExchangeId
Required. The ID of the data exchange. 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("dataExchangeId", RequestParameterType.Query)]
public virtual string DataExchangeId { 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. The parent resource path of the data exchange. e.g. projects/myproject/locations/US
.
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()