Class ProjectsResource.LocationsResource.BucketsResource.LinksResource
The "links" collection of methods.
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class ProjectsResource.LocationsResource.BucketsResource.LinksResource
Constructors
LinksResource(IClientService)
Constructs a new resource.
Declaration
public LinksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Link, string)
Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.LinksResource.CreateRequest Create(Link body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Link | body | The body of the request. |
string | parent | Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BucketsResource.LinksResource.CreateRequest |
Delete(string)
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BucketsResource.LinksResource.DeleteRequest |
Get(string)
Gets a link.
Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.LinksResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BucketsResource.LinksResource.GetRequest |
List(string)
Lists links.
Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.LinksResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BucketsResource.LinksResource.ListRequest |