Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataExchangesResource

The "dataExchanges" collection of methods.

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

Constructors

DataExchangesResource(IClientService)

Constructs a new resource.

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

Properties

Listings

Gets the Listings resource.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource Listings { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource

Methods

Create(DataExchange, string)

Creates a new data exchange.

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

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.CreateRequest

Delete(string)

Deletes an existing data exchange.

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

Required. The full name of the data exchange resource that you want to delete. For example, projects/myproject/locations/us/dataExchanges/123.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.DeleteRequest

Get(string)

Gets the details of a data exchange.

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

Required. The resource name of the data exchange. e.g. projects/myproject/locations/us/dataExchanges/123.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

Gets the IAM policy.

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

List(string)

Lists all data exchanges in a given project and location.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.ListRequest

ListSubscriptions(string)

Lists all subscriptions on a given Data Exchange or Listing.

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

Patch(DataExchange, string)

Updates an existing data exchange.

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

The body of the request.

string name

Output only. The resource name of the data exchange. e.g. projects/myproject/locations/us/dataExchanges/123.

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the IAM policy.

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

Subscribe(SubscribeDataExchangeRequest, string)

Creates a Subscription to a Data Clean Room. This is a long-running operation as it will create one or more linked datasets. Throws a Bad Request error if the Data Exchange does not contain any listings.

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

The body of the request.

string name

Required. Resource name of the Data Exchange. e.g. projects/publisherproject/locations/us/dataExchanges/123

Returns
Type Description
ProjectsResource.LocationsResource.DataExchangesResource.SubscribeRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns the permissions that a caller has.

Declaration
public virtual ProjectsResource.LocationsResource.DataExchangesResource.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.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX