public sealed class DiscoveredApiObservation : IMessage<DiscoveredApiObservation>, IEquatable<DiscoveredApiObservation>, IDeepCloneable<DiscoveredApiObservation>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class DiscoveredApiObservation.
Respresents an API Observation observed in one of the sources.
Implements
IMessageDiscoveredApiObservation, IEquatableDiscoveredApiObservation, IDeepCloneableDiscoveredApiObservation, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
DiscoveredApiObservation()
public DiscoveredApiObservation()
DiscoveredApiObservation(DiscoveredApiObservation)
public DiscoveredApiObservation(DiscoveredApiObservation other)
Parameter | |
---|---|
Name | Description |
other |
DiscoveredApiObservation |
Properties
ApiOperationCount
public long ApiOperationCount { get; set; }
Optional. The number of observed API Operations.
Property Value | |
---|---|
Type | Description |
long |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Create time stamp of the observation in API Hub.
Property Value | |
---|---|
Type | Description |
Timestamp |
DiscoveredApiObservationName
public DiscoveredApiObservationName DiscoveredApiObservationName { get; set; }
DiscoveredApiObservationName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DiscoveredApiObservationName |
Hostname
public string Hostname { get; set; }
Optional. The hostname of requests processed for this Observation.
Property Value | |
---|---|
Type | Description |
string |
KnownOperationsCount
public long KnownOperationsCount { get; set; }
Output only. The number of known API Operations.
Property Value | |
---|---|
Type | Description |
long |
LastEventDetectedTime
public Timestamp LastEventDetectedTime { get; set; }
Optional. Last event detected time stamp
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
Property Value | |
---|---|
Type | Description |
string |
Origin
public string Origin { get; set; }
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
Property Value | |
---|---|
Type | Description |
string |
ServerIps
public RepeatedField<string> ServerIps { get; }
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SourceLocations
public RepeatedField<string> SourceLocations { get; }
Optional. The location of the observation source.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SourceLocationsAsLocationNames
public ResourceNameList<LocationName> SourceLocationsAsLocationNames { get; }
LocationName-typed view over the SourceLocations resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListLocationName |
SourceMetadata
public SourceMetadata SourceMetadata { get; set; }
Output only. The metadata of the source from which the observation was collected.
Property Value | |
---|---|
Type | Description |
SourceMetadata |
SourceTypes
public RepeatedField<DiscoveredApiObservation.Types.SourceType> SourceTypes { get; }
Optional. The type of the source from which the observation was collected.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDiscoveredApiObservationTypesSourceType |
Style
public DiscoveredApiObservation.Types.Style Style { get; set; }
Optional. Style of ApiObservation
Property Value | |
---|---|
Type | Description |
DiscoveredApiObservationTypesStyle |
UnknownOperationsCount
public long UnknownOperationsCount { get; set; }
Output only. The number of unknown API Operations.
Property Value | |
---|---|
Type | Description |
long |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Update time stamp of the observation in API Hub.
Property Value | |
---|---|
Type | Description |
Timestamp |