Show / Hide Table of Contents

Class FoldersResource.LocationsResource.LogScopesResource

The "logScopes" collection of methods.

Inheritance
object
FoldersResource.LocationsResource.LogScopesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class FoldersResource.LocationsResource.LogScopesResource

Constructors

LogScopesResource(IClientService)

Constructs a new resource.

Declaration
public LogScopesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(LogScope, string)

Creates a log scope.

Declaration
public virtual FoldersResource.LocationsResource.LogScopesResource.CreateRequest Create(LogScope body, string parent)
Parameters
Type Name Description
LogScope body

The body of the request.

string 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"

Returns
Type Description
FoldersResource.LocationsResource.LogScopesResource.CreateRequest

Delete(string)

Deletes a log scope.

Declaration
public virtual FoldersResource.LocationsResource.LogScopesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string 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
Type Description
FoldersResource.LocationsResource.LogScopesResource.DeleteRequest

Get(string)

Gets a log scope.

Declaration
public virtual FoldersResource.LocationsResource.LogScopesResource.GetRequest Get(string name)
Parameters
Type Name Description
string 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
Type Description
FoldersResource.LocationsResource.LogScopesResource.GetRequest

List(string)

Lists log scopes.

Declaration
public virtual FoldersResource.LocationsResource.LogScopesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]"

Returns
Type Description
FoldersResource.LocationsResource.LogScopesResource.ListRequest

Patch(LogScope, string)

Updates a log scope.

Declaration
public virtual FoldersResource.LocationsResource.LogScopesResource.PatchRequest Patch(LogScope body, string name)
Parameters
Type Name Description
LogScope body

The body of the request.

string name

Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope

Returns
Type Description
FoldersResource.LocationsResource.LogScopesResource.PatchRequest
In this article
Back to top Generated by DocFX