Reference documentation and code samples for the Google Cloud Api Hub V1 Client class DiscoveredApiObservation.
Respresents an API Observation observed in one of the sources.
Generated from protobuf message google.cloud.apihub.v1.DiscoveredApiObservation
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the discovered API Observation. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
↳ style
int
Optional. Style of ApiObservation
↳ server_ips
array
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"
.
↳ hostname
string
Optional. The hostname of requests processed for this Observation.
↳ last_event_detected_time
↳ source_locations
array
Optional. The location of the observation source.
↳ api_operation_count
int|string
Optional. The number of observed API Operations.
↳ origin
string
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
↳ source_types
array
Optional. The type of the source from which the observation was collected.
↳ known_operations_count
int|string
Output only. The number of known API Operations.
↳ unknown_operations_count
int|string
Output only. The number of unknown API Operations.
↳ create_time
↳ update_time
↳ source_metadata
getName
Identifier. The name of the discovered API Observation.
Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string
setName
Identifier. The name of the discovered API Observation.
Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
var
string
$this
getStyle
Optional. Style of ApiObservation
setStyle
Optional. Style of ApiObservation
$this
getServerIps
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"
.
setServerIps
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"
.
var
string[]
$this
getHostname
Optional. The hostname of requests processed for this Observation.
string
setHostname
Optional. The hostname of requests processed for this Observation.
var
string
$this
getLastEventDetectedTime
Optional. Last event detected time stamp
hasLastEventDetectedTime
clearLastEventDetectedTime
setLastEventDetectedTime
Optional. Last event detected time stamp
$this
getSourceLocations
Optional. The location of the observation source.
setSourceLocations
Optional. The location of the observation source.
var
string[]
$this
getApiOperationCount
Optional. The number of observed API Operations.
int|string
setApiOperationCount
Optional. The number of observed API Operations.
var
int|string
$this
getOrigin
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string
setOrigin
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
var
string
$this
getSourceTypes
Optional. The type of the source from which the observation was collected.
setSourceTypes
Optional. The type of the source from which the observation was collected.
var
int[]
$this
getKnownOperationsCount
Output only. The number of known API Operations.
int|string
setKnownOperationsCount
Output only. The number of known API Operations.
var
int|string
$this
getUnknownOperationsCount
Output only. The number of unknown API Operations.
int|string
setUnknownOperationsCount
Output only. The number of unknown API Operations.
var
int|string
$this
getCreateTime
Output only. Create time stamp of the observation in API Hub.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time stamp of the observation in API Hub.
$this
getUpdateTime
Output only. Update time stamp of the observation in API Hub.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time stamp of the observation in API Hub.
$this
getSourceMetadata
Output only. The metadata of the source from which the observation was collected.
hasSourceMetadata
clearSourceMetadata
setSourceMetadata
Output only. The metadata of the source from which the observation was collected.
$this

