target.apidocs.com.google.api.services.logging.v2.Logging.Organizations.Locations.LogScopes.html Maven / Gradle / Ivy
Logging.Organizations.Locations.LogScopes (Cloud Logging API v2-rev20240908-2.0.0)
com.google.api.services.logging.v2
Class Logging.Organizations.Locations.LogScopes
- java.lang.Object
-
- com.google.api.services.logging.v2.Logging.Organizations.Locations.LogScopes
-
- Enclosing class:
- Logging.Organizations.Locations
public class Logging.Organizations.Locations.LogScopes
extends Object
The "logScopes" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Logging.Organizations.Locations.LogScopes.Create
class
Logging.Organizations.Locations.LogScopes.Delete
class
Logging.Organizations.Locations.LogScopes.Get
class
Logging.Organizations.Locations.LogScopes.List
class
Logging.Organizations.Locations.LogScopes.Patch
-
Constructor Summary
Constructors
Constructor and Description
LogScopes()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Logging.Organizations.Locations.LogScopes.Create
create(String parent,
LogScope content)
Creates a log scope.
Logging.Organizations.Locations.LogScopes.Delete
delete(String name)
Deletes a log scope.
Logging.Organizations.Locations.LogScopes.Get
get(String name)
Gets a log scope.
Logging.Organizations.Locations.LogScopes.List
list(String parent)
Lists log scopes.
Logging.Organizations.Locations.LogScopes.Patch
patch(String name,
LogScope content)
Updates a log scope.
-
-
Method Detail
-
create
public Logging.Organizations.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.Organizations.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.Organizations.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.Organizations.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.Organizations.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