1.2.0 (latest) 1.1.0 1.0.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1 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

**Returns**

- ([::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::Classification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-DiscoveredApiOperation-Classification)) --- Output only. The classification of the discovered API operation.

### #count

    def count() -> ::Integer

**Returns**

- (::Integer) --- Optional. The number of occurrences of this API Operation.

### #count=

    def count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The number of occurrences of this API Operation.
**Returns**

- (::Integer) --- Optional. The number of occurrences of this API Operation.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. First seen time stamp

### #first_seen_time=

    def first_seen_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. First seen time stamp
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. First seen time stamp

### #http_operation

    def http_operation() -> ::Google::Cloud::ApiHub::V1::HttpOperationDetails

**Returns**

- ([::Google::Cloud::ApiHub::V1::HttpOperationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-HttpOperationDetails)) --- Optional. An HTTP Operation.

### #http_operation=

    def http_operation=(value) -> ::Google::Cloud::ApiHub::V1::HttpOperationDetails

**Parameter**

- **value** ([::Google::Cloud::ApiHub::V1::HttpOperationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-HttpOperationDetails)) --- Optional. An HTTP Operation.
**Returns**

- ([::Google::Cloud::ApiHub::V1::HttpOperationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-HttpOperationDetails)) --- Optional. An HTTP Operation.

### #last_seen_time

    def last_seen_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. Last seen time stamp

### #last_seen_time=

    def last_seen_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. Last seen time stamp
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Optional. Last seen time stamp

### #match_results

    def match_results() -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::MatchResult>

**Returns**

- (::Array\<[::Google::Cloud::ApiHub::V1::DiscoveredApiOperation::MatchResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/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

**Returns**

- (::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

**Parameter**

- **value** (::String) --- Identifier. The name of the discovered API Operation.


  Format:
  `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}`
**Returns**

- (::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

**Returns**

- ([::Google::Cloud::ApiHub::V1::SourceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Update time stamp of the discovered API operation in API Hub.