All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.logging.v2.Logging.Locations.Buckets.Links.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241018-2.0.0
Show newest version






Logging.Locations.Buckets.Links (Cloud Logging API v2-rev20240913-2.0.0)












com.google.api.services.logging.v2

Class Logging.Locations.Buckets.Links

  • java.lang.Object
    • com.google.api.services.logging.v2.Logging.Locations.Buckets.Links
    • Constructor Detail

      • Links

        public Links()
    • Method Detail

      • create

        public Logging.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.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.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.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