Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SubscriptionsResource

The "subscriptions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SubscriptionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AnalyticsHub.v1
Assembly: Google.Apis.AnalyticsHub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SubscriptionsResource

Constructors

SubscriptionsResource(IClientService)

Constructs a new resource.

Declaration
public SubscriptionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string)

Deletes a subscription.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the subscription to delete. e.g. projects/123/locations/us/subscriptions/456

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.DeleteRequest

Get(string)

Gets the details of a Subscription.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the subscription. e.g. projects/123/locations/us/subscriptions/456

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

Gets the IAM policy.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.GetIamPolicyRequest

List(string)

Lists all subscriptions in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource path of the subscription. e.g. projects/myproject/locations/us

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.ListRequest

Refresh(RefreshSubscriptionRequest, string)

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.RefreshRequest Refresh(RefreshSubscriptionRequest body, string name)
Parameters
Type Name Description
RefreshSubscriptionRequest body

The body of the request.

string name

Required. Resource name of the Subscription to refresh. e.g. projects/subscriberproject/locations/us/subscriptions/123

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.RefreshRequest

Revoke(RevokeSubscriptionRequest, string)

Revokes a given subscription.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.RevokeRequest Revoke(RevokeSubscriptionRequest body, string name)
Parameters
Type Name Description
RevokeSubscriptionRequest body

The body of the request.

string name

Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.RevokeRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the IAM policy.

Declaration
public virtual ProjectsResource.LocationsResource.SubscriptionsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.SubscriptionsResource.SetIamPolicyRequest
In this article
Back to top Generated by DocFX