Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::DiscoveredApiOperation.
DiscoveredApiOperation represents an API Operation observed in one of the sources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#classification
def classification() -> ::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::Classification
- (::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::Classification) — Output only. The classification of the discovered API operation.
#count
def count() -> ::Integer
- (::Integer) — Optional. The number of occurrences of this API Operation.
#count=
def count=(value) -> ::Integer
- value (::Integer) — Optional. The number of occurrences of this API Operation.
- (::Integer) — Optional. The number of occurrences of this API Operation.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Create time stamp of the discovered API operation in API Hub.
#first_seen_time
def first_seen_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Optional. First seen time stamp
#first_seen_time=
def first_seen_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Optional. First seen time stamp
- (::Google::Protobuf::Timestamp) — Optional. First seen time stamp
#http_operation
def http_operation() -> ::Google::Cloud::ApiHub::V1::HttpOperationDetails
- (::Google::Cloud::ApiHub::V1::HttpOperationDetails) — Optional. An HTTP Operation.
#http_operation=
def http_operation=(value) -> ::Google::Cloud::ApiHub::V1::HttpOperationDetails
- value (::Google::Cloud::ApiHub::V1::HttpOperationDetails) — Optional. An HTTP Operation.
- (::Google::Cloud::ApiHub::V1::HttpOperationDetails) — Optional. An HTTP Operation.
#last_seen_time
def last_seen_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Optional. Last seen time stamp
#last_seen_time=
def last_seen_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Optional. Last seen time stamp
- (::Google::Protobuf::Timestamp) — Optional. Last seen time stamp
#match_results
def match_results() -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::MatchResult>
- (::Array<::Google::Cloud::ApiHub::V1::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.
#name
def name() -> ::String
-
(::String) — Identifier. The name of the discovered API Operation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The name of the discovered API Operation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
-
(::String) — Identifier. The name of the discovered API Operation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
#source_metadata
def source_metadata() -> ::Google::Cloud::ApiHub::V1::SourceMetadata
- (::Google::Cloud::ApiHub::V1::SourceMetadata) — Output only. The metadata of the source from which the api operation was collected.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Update time stamp of the discovered API operation in API Hub.