Class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.SubscribeRequest
Subscribes to a listing. Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.
Inheritance
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.SubscribeRequest
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1
Assembly: Google.Apis.AnalyticsHub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.SubscribeRequest : AnalyticsHubBaseServiceRequest<SubscribeListingResponse>, IClientServiceRequest<SubscribeListingResponse>, IClientServiceRequest
Constructors
SubscribeRequest(IClientService, SubscribeListingRequest, string)
Constructs a new Subscribe request.
Declaration
public SubscribeRequest(IClientService service, SubscribeListingRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SubscribeListingRequest | body | |
string | name |
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
Name
Required. Resource name of the listing that you want to subscribe to. e.g.
projects/myproject/locations/US/dataExchanges/123/listings/456
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Subscribe parameter list.
Declaration
protected override void InitParameters()