public sealed class Scope : IMessage<Scope>, IEquatable<Scope>, IDeepCloneable<Scope>, IBufferMessage, IMessageReference documentation and code samples for the Observability v1 API class Scope.
Message describing Scope object
Namespace
Google.Cloud.Observability.V1Assembly
Google.Cloud.Observability.V1.dll
Constructors
Scope()
public Scope()Scope(Scope)
public Scope(Scope other)| Parameter | |
|---|---|
| Name | Description |
other |
Scope |
Properties
LogScope
public string LogScope { get; set; }Required. The full resource name of the logging.googleapis.com/LogScope.
For example:
//logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
| Property Value | |
|---|---|
| Type | Description |
string |
|
LogScopeAsResourceName
public IResourceName LogScopeAsResourceName { get; set; }IResourceName-typed view over the LogScope resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
Name
public string Name { get; set; }Identifier. Name of the resource. The format is:
projects/{project}/locations/{location}/scopes/{scope}
The {location} field must be set to global. The {scope} field must
be set to _Default.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ScopeName
public ScopeName ScopeName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ScopeName |
|
TraceScope
public string TraceScope { get; set; }Required. The unqualified resource name of the
cloudtrace.googleapis.com/TraceScope. For example:
projects/myproject/locations/global/traceScopes/my-trace-scope
| Property Value | |
|---|---|
| Type | Description |
string |
|
TraceScopeAsResourceName
public IResourceName TraceScopeAsResourceName { get; set; }IResourceName-typed view over the TraceScope resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|