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

target.apidocs.com.google.api.services.logging.v2.Logging.BillingAccounts.Sinks.Create.html Maven / Gradle / Ivy

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






Logging.BillingAccounts.Sinks.Create (Cloud Logging API v2-rev20240913-2.0.0)












com.google.api.services.logging.v2

Class Logging.BillingAccounts.Sinks.Create

    • Constructor Detail

      • Create

        protected Create(String parent,
                         LogSink content)
        Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. Create a request for the method "sinks.create". This request holds the parameters needed by the the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        Logging.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        parent - Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789"
        content - the LogSink
        Since:
        1.13

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy