target.apidocs.com.google.api.services.logging.v2.Logging.Projects.Locations.Buckets.Links.html Maven / Gradle / Ivy
Logging.Projects.Locations.Buckets.Links (Cloud Logging API v2-rev20240913-2.0.0)
com.google.api.services.logging.v2
Class Logging.Projects.Locations.Buckets.Links
- java.lang.Object
-
- com.google.api.services.logging.v2.Logging.Projects.Locations.Buckets.Links
-
- Enclosing class:
- Logging.Projects.Locations.Buckets
public class Logging.Projects.Locations.Buckets.Links
extends Object
The "links" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Logging.Projects.Locations.Buckets.Links.Create
class
Logging.Projects.Locations.Buckets.Links.Delete
class
Logging.Projects.Locations.Buckets.Links.Get
class
Logging.Projects.Locations.Buckets.Links.List
-
Constructor Summary
Constructors
Constructor and Description
Links()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Logging.Projects.Locations.Buckets.Links.Create
create(String parent,
Link content)
Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to
read the logs stored in the log bucket.
Logging.Projects.Locations.Buckets.Links.Delete
delete(String name)
Deletes a link.
Logging.Projects.Locations.Buckets.Links.Get
get(String name)
Gets a link.
Logging.Projects.Locations.Buckets.Links.List
list(String parent)
Lists links.
-
-
Method Detail
-
create
public Logging.Projects.Locations.Buckets.Links.Create create(String parent,
Link content)
throws IOException
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.
Create a request for the method "links.create".
This request holds the parameters needed by the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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]"
content
- the Link
- Returns:
- the request
- Throws:
IOException
-
delete
public Logging.Projects.Locations.Buckets.Links.Delete delete(String name)
throws IOException
Deletes a link. This will also delete the corresponding BigQuery linked dataset.
Create a request for the method "links.delete".
This request holds the parameters needed by the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The full resource name of the link to delete.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organ
izations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "b
illingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN
K_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
- Returns:
- the request
- Throws:
IOException
-
get
public Logging.Projects.Locations.Buckets.Links.Get get(String name)
throws IOException
Gets a link.
Create a request for the method "links.get".
This request holds the parameters needed by the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the link:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organ
izations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "b
illingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN
K_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
- Returns:
- the request
- Throws:
IOException
-
list
public Logging.Projects.Locations.Buckets.Links.List list(String parent)
throws IOException
Lists links.
Create a request for the method "links.list".
This request holds the parameters needed by the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy