Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TraceScopesResource

The "traceScopes" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.TraceScopesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudObservability.v1
Assembly: Google.Apis.CloudObservability.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TraceScopesResource

Constructors

TraceScopesResource(IClientService)

Constructs a new resource.

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

Methods

Create(TraceScope, string)

Create a new TraceScope.

Declaration
public virtual ProjectsResource.LocationsResource.TraceScopesResource.CreateRequest Create(TraceScope body, string parent)
Parameters
Type Name Description
TraceScope body

The body of the request.

string parent

Required. The full resource name of the location where the trace scope should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global

Returns
Type Description
ProjectsResource.LocationsResource.TraceScopesResource.CreateRequest

Delete(string)

Delete a TraceScope.

Declaration
public virtual ProjectsResource.LocationsResource.TraceScopesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The full resource name of the trace scope to delete: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope

Returns
Type Description
ProjectsResource.LocationsResource.TraceScopesResource.DeleteRequest

Get(string)

Get TraceScope resource.

Declaration
public virtual ProjectsResource.LocationsResource.TraceScopesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the trace scope: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope

Returns
Type Description
ProjectsResource.LocationsResource.TraceScopesResource.GetRequest

List(string)

List TraceScopes of a project in a particular location.

Declaration
public virtual ProjectsResource.LocationsResource.TraceScopesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The full resource name of the location to look for trace scopes: projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global

Returns
Type Description
ProjectsResource.LocationsResource.TraceScopesResource.ListRequest

Patch(TraceScope, string)

Update a TraceScope.

Declaration
public virtual ProjectsResource.LocationsResource.TraceScopesResource.PatchRequest Patch(TraceScope body, string name)
Parameters
Type Name Description
TraceScope body

The body of the request.

string name

Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope

Returns
Type Description
ProjectsResource.LocationsResource.TraceScopesResource.PatchRequest
In this article
Back to top Generated by DocFX