Reference documentation and code samples for the Google Cloud Api Hub V1 Client class DiscoveredApiOperation.
DiscoveredApiOperation represents an API Operation observed in one of the sources.
Generated from protobuf message google.cloud.apihub.v1.DiscoveredApiOperation
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ http_operation
↳ name
string
Identifier. The name of the discovered API Operation. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
↳ first_seen_time
↳ last_seen_time
↳ count
int|string
Optional. The number of occurrences of this API Operation.
↳ classification
int
Output only. The classification of the discovered API operation.
↳ match_results
array< DiscoveredApiOperation\MatchResult
>
Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.
↳ source_metadata
↳ create_time
Google\Protobuf\Timestamp
Output only. Create time stamp of the discovered API operation in API Hub.
↳ update_time
Google\Protobuf\Timestamp
Output only. Update time stamp of the discovered API operation in API Hub.
getHttpOperation
Optional. An HTTP Operation.
hasHttpOperation
setHttpOperation
Optional. An HTTP Operation.
$this
getName
Identifier. The name of the discovered API Operation.
Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
string
setName
Identifier. The name of the discovered API Operation.
Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
var
string
$this
getFirstSeenTime
Optional. First seen time stamp
hasFirstSeenTime
clearFirstSeenTime
setFirstSeenTime
Optional. First seen time stamp
$this
getLastSeenTime
Optional. Last seen time stamp
hasLastSeenTime
clearLastSeenTime
setLastSeenTime
Optional. Last seen time stamp
$this
getCount
Optional. The number of occurrences of this API Operation.
int|string
setCount
Optional. The number of occurrences of this API Operation.
var
int|string
$this
getClassification
Output only. The classification of the discovered API operation.
setClassification
Output only. The classification of the discovered API operation.
$this
getMatchResults
Output only. The list of matched results for the discovered API operation.
This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.
setMatchResults
Output only. The list of matched results for the discovered API operation.
This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.
$this
getSourceMetadata
Output only. The metadata of the source from which the api operation was collected.
hasSourceMetadata
clearSourceMetadata
setSourceMetadata
Output only. The metadata of the source from which the api operation was collected.
$this
getCreateTime
Output only. Create time stamp of the discovered API operation in API Hub.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time stamp of the discovered API operation in API Hub.
$this
getUpdateTime
Output only. Update time stamp of the discovered API operation in API Hub.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time stamp of the discovered API operation in API Hub.
$this
getOperation
string

