ProjectsLocationsSubscriptions
class ProjectsLocationsSubscriptions extends Resource (View source)
The "subscriptions" collection of methods.
Typical usage is:
$analyticshubService = new Google\Service\AnalyticsHub(...);
$subscriptions = $analyticshubService->projects_locations_subscriptions;
Methods
Deletes a subscription. (subscriptions.delete)
Gets the details of a Subscription. (subscriptions.get)
Gets the IAM policy. (subscriptions.getIamPolicy)
Lists all subscriptions in a given project and location.
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. (subscriptions.refresh)
Revokes a given subscription. (subscriptions.revoke)
Sets the IAM policy. (subscriptions.setIamPolicy)
Details
Operation
delete(string $name, array $optParams = [])
Deletes a subscription. (subscriptions.delete)
Subscription
get(string $name, array $optParams = [])
Gets the details of a Subscription. (subscriptions.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the IAM policy. (subscriptions.getIamPolicy)
ListSubscriptionsResponse
listProjectsLocationsSubscriptions(string $parent, array $optParams = [])
Lists all subscriptions in a given project and location.
(subscriptions.listProjectsLocationsSubscriptions)
Operation
refresh(string $name, RefreshSubscriptionRequest $postBody, array $optParams = [])
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. (subscriptions.refresh)
RevokeSubscriptionResponse
revoke(string $name, RevokeSubscriptionRequest $postBody, array $optParams = [])
Revokes a given subscription. (subscriptions.revoke)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the IAM policy. (subscriptions.setIamPolicy)