Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource

The "listings" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource
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.DataExchangesResource.ListingsResource

Constructors

ListingsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Listing, string)

Creates a new listing.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.CreateRequest Create(Listing body, string parent)
Parameters
Type Name Description
Listing body

The body of the request.

string parent

Required. The parent resource path of the listing. e.g. projects/myproject/locations/us/dataExchanges/123.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.CreateRequest

Delete(string)

Deletes a listing.

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

Required. Resource name of the listing to delete. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.DeleteRequest

Get(string)

Gets the details of a listing.

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

Required. The resource name of the listing. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

Gets the IAM policy.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.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.DataExchangesResource.ListingsResource.GetIamPolicyRequest

List(string)

Lists all listings in a given project and location.

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

Required. The parent resource path of the listing. e.g. projects/myproject/locations/us/dataExchanges/123.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.ListRequest

ListSubscriptions(string)

Lists all subscriptions on a given Data Exchange or Listing.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.ListSubscriptionsRequest ListSubscriptions(string resource)
Parameters
Type Name Description
string resource

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.ListSubscriptionsRequest

Patch(Listing, string)

Updates an existing listing.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.PatchRequest Patch(Listing body, string name)
Parameters
Type Name Description
Listing body

The body of the request.

string name

Output only. The resource name of the listing. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the IAM policy.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.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.DataExchangesResource.ListingsResource.SetIamPolicyRequest

Subscribe(SubscribeListingRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.SubscribeRequest Subscribe(SubscribeListingRequest body, string name)
Parameters
Type Name Description
SubscribeListingRequest body

The body of the request.

string name

Required. Resource name of the listing that you want to subscribe to. e.g. projects/myproject/locations/us/dataExchanges/123/listings/456.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.SubscribeRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns the permissions that a caller has.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

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

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX