Class ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource
The "listings" collection of methods.
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1beta1
Assembly: Google.Apis.AnalyticsHub.v1beta1.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.
|
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.
|
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.
|
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.
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DataExchangesResource.ListingsResource.ListRequest |
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.
|
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.
|
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 |