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

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

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






Logging.Projects.Locations.LogScopes (Cloud Logging API v2-rev20240913-2.0.0)












com.google.api.services.logging.v2

Class Logging.Projects.Locations.LogScopes

  • java.lang.Object
    • com.google.api.services.logging.v2.Logging.Projects.Locations.LogScopes
    • Constructor Detail

      • LogScopes

        public LogScopes()
    • Method Detail

      • create

        public Logging.Projects.Locations.LogScopes.Create create(String parent,
                                                                  LogScope content)
                                                           throws IOException
        Creates a log scope. Create a request for the method "logScopes.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 parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my- project/locations/global"
        content - the LogScope
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Logging.Projects.Locations.LogScopes.Delete delete(String name)
                                                           throws IOException
        Deletes a log scope. Create a request for the method "logScopes.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 resource name of the log scope to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope"
        Returns:
        the request
        Throws:
        IOException
      • get

        public Logging.Projects.Locations.LogScopes.Get get(String name)
                                                     throws IOException
        Gets a log scope. Create a request for the method "logScopes.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 log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope"
        Returns:
        the request
        Throws:
        IOException
      • list

        public Logging.Projects.Locations.LogScopes.List list(String parent)
                                                       throws IOException
        Lists log scopes. Create a request for the method "logScopes.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 log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Logging.Projects.Locations.LogScopes.Patch patch(String name,
                                                                LogScope content)
                                                         throws IOException
        Updates a log scope. Create a request for the method "logScopes.patch". 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 - Output only. The resource name of the log scope.For example:projects/my- project/locations/global/logScopes/my-log-scope
        content - the LogScope
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy