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
- (::Integer) — Optional. The number of observed API Operations.
#api_operation_count=
def api_operation_count=(value) -> ::Integer
- value (::Integer) — Optional. The number of observed API Operations.
- (::Integer) — Optional. The number of observed API Operations.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Create time stamp of the observation in API Hub.
#hostname
def hostname() -> ::String
- (::String) — Optional. The hostname of requests processed for this Observation.
#hostname=
def hostname=(value) -> ::String
- value (::String) — Optional. The hostname of requests processed for this Observation.
- (::String) — Optional. The hostname of requests processed for this Observation.
#known_operations_count
def known_operations_count() -> ::Integer
- (::Integer) — Output only. The number of known API Operations.
#last_event_detected_time
def last_event_detected_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Optional. Last event detected time stamp
#last_event_detected_time=
def last_event_detected_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Optional. Last event detected time stamp
- (::Google::Protobuf::Timestamp) — Optional. Last event detected time stamp
#name
def name() -> ::String
-
(::String) — Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
-
(::String) — Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
#origin
def origin() -> ::String
- (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
#origin=
def origin=(value) -> ::String
- value (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
- (::String) — Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
#server_ips
def server_ips() -> ::Array<::String>
-
(::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>
-
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"
.
-
(::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>
- (::Array<::String>) — Optional. The location of the observation source.
#source_locations=
def source_locations=(value) -> ::Array<::String>
- value (::Array<::String>) — Optional. The location of the observation source.
- (::Array<::String>) — Optional. The location of the observation source.
#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 observation was collected.
#source_types
def source_types() -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>
- (::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>) — Optional. The type of the source from which the observation was collected.
#source_types=
def source_types=(value) -> ::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>
- value (::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>) — Optional. The type of the source from which the observation was collected.
- (::Array<::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::SourceType>) — Optional. The type of the source from which the observation was collected.
#style
def style() -> ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style
- (::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style) — Optional. Style of ApiObservation
#style=
def style=(value) -> ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style
- value (::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style) — Optional. Style of ApiObservation
- (::Google::Cloud::ApiHub::V1::DiscoveredApiObservation::Style) — Optional. Style of ApiObservation
#unknown_operations_count
def unknown_operations_count() -> ::Integer
- (::Integer) — Output only. The number of unknown API Operations.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Update time stamp of the observation in API Hub.