API hub V1 API - Class Google::Cloud::ApiHub::V1::DiscoveredApiObservation (v0.6.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::DiscoveredApiObservation.

Respresents an API Observation observed in one of the sources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_operation_count

def api_operation_count() -> ::Integer
Returns
  • (::Integer) — Optional. The number of observed API Operations.

#api_operation_count=

def api_operation_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of observed API Operations.
Returns
  • (::Integer) — Optional. The number of observed API Operations.

#create_time

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

#hostname

def hostname() -> ::String
Returns
  • (::String) — Optional. The hostname of requests processed for this Observation.

#hostname=

def hostname=(value) -> ::String
Parameter
  • value (::String) — Optional. The hostname of requests processed for this Observation.
Returns
  • (::String) — Optional. The hostname of requests processed for this Observation.

#known_operations_count

def known_operations_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of known API Operations.

#last_event_detected_time

def last_event_detected_time() -> ::Google::Protobuf::Timestamp
Returns

#last_event_detected_time=

def last_event_detected_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The name of the discovered API Observation.

    Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the discovered API Observation.

    Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

Returns
  • (::String) — Identifier. The name of the discovered API Observation.

    Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

#origin

def origin() -> ::String
Returns
  • (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.

#origin=

def origin=(value) -> ::String
Parameter
  • value (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
Returns
  • (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.

#server_ips

def server_ips() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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".

#server_ips=

def server_ips=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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".
Returns
  • (::Array<::String>) — 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".

#source_locations

def source_locations() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The location of the observation source.

#source_locations=

def source_locations=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The location of the observation source.
Returns
  • (::Array<::String>) — Optional. The location of the observation source.

#source_metadata

def source_metadata() -> ::Google::Cloud::ApiHub::V1::SourceMetadata
Returns

#source_types

def source_types() -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>
Returns

#source_types=

def source_types=(value) -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>
Parameter
Returns

#style

def style() -> ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style
Returns

#style=

def style=(value) -> ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style
Parameter
Returns

#unknown_operations_count

def unknown_operations_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of unknown API Operations.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns