apiOperationCount = $apiOperationCount; } /** * @return string */ public function getApiOperationCount() { return $this->apiOperationCount; } /** * Create time stamp * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * The hostname of requests processed for this Observation. * * @param string $hostname */ public function setHostname($hostname) { $this->hostname = $hostname; } /** * @return string */ public function getHostname() { return $this->hostname; } /** * Last event detected time stamp * * @param string $lastEventDetectedTime */ public function setLastEventDetectedTime($lastEventDetectedTime) { $this->lastEventDetectedTime = $lastEventDetectedTime; } /** * @return string */ public function getLastEventDetectedTime() { return $this->lastEventDetectedTime; } /** * Identifier. Name of resource * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * 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"`. * * @param string[] $serverIps */ public function setServerIps($serverIps) { $this->serverIps = $serverIps; } /** * @return string[] */ public function getServerIps() { return $this->serverIps; } /** * Location of the Observation Source, for example "us-central1" or "europe- * west1." * * @param string[] $sourceLocations */ public function setSourceLocations($sourceLocations) { $this->sourceLocations = $sourceLocations; } /** * @return string[] */ public function getSourceLocations() { return $this->sourceLocations; } /** * Style of ApiObservation * * Accepted values: STYLE_UNSPECIFIED, REST, GRPC, GRAPHQL * * @param self::STYLE_* $style */ public function setStyle($style) { $this->style = $style; } /** * @return self::STYLE_* */ public function getStyle() { return $this->style; } /** * User-defined tags to organize and sort * * @param string[] $tags */ public function setTags($tags) { $this->tags = $tags; } /** * @return string[] */ public function getTags() { return $this->tags; } /** * Update time stamp * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ApiObservation::class, 'Google_Service_APIManagement_ApiObservation');