📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Safebrowsing
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Checksum.php
▶ Open 📄 View Source
🐘 ClientInfo.php
▶ Open 📄 View Source
🐘 Constraints.php
▶ Open 📄 View Source
🐘 FetchThreatListUpdatesRequest.php
▶ Open 📄 View Source
🐘 FetchThreatListUpdatesResponse.php
▶ Open 📄 View Source
🐘 FindFullHashesRequest.php
▶ Open 📄 View Source
🐘 FindFullHashesResponse.php
▶ Open 📄 View Source
🐘 FindThreatMatchesRequest.php
▶ Open 📄 View Source
🐘 FindThreatMatchesResponse.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4Checksum.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ClientInfo.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FindFullHashesRequest.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FindFullHashesResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FindThreatMatchesRequest.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4FindThreatMatchesResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ListThreatListsResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4RawHashes.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4RawIndices.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4RiceDeltaEncoding.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatEntry.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatEntryMetadata.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatEntrySet.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatHit.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatHitThreatSource.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatHitUserInfo.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatInfo.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatListDescriptor.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV4ThreatMatch.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5BatchGetHashListsResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5FullHash.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5FullHashFullHashDetail.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5HashList.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5HashListMetadata.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5ListHashListsResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5SearchHashesResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5SearchUrlsResponse.php
▶ Open 📄 View Source
🐘 GoogleSecuritySafebrowsingV5ThreatUrl.php
▶ Open 📄 View Source
🐘 ListThreatListsResponse.php
▶ Open 📄 View Source
🐘 ListUpdateRequest.php
▶ Open 📄 View Source
🐘 ListUpdateResponse.php
▶ Open 📄 View Source
🐘 MetadataEntry.php
▶ Open 📄 View Source
🐘 RawHashes.php
▶ Open 📄 View Source
🐘 RawIndices.php
▶ Open 📄 View Source
🐘 RiceDeltaEncoding.php
▶ Open 📄 View Source
🐘 SafebrowsingEmpty.php
▶ Open 📄 View Source
🐘 ThreatEntry.php
▶ Open 📄 View Source
🐘 ThreatEntryMetadata.php
▶ Open 📄 View Source
🐘 ThreatEntrySet.php
▶ Open 📄 View Source
🐘 ThreatHit.php
▶ Open 📄 View Source
🐘 ThreatInfo.php
▶ Open 📄 View Source
🐘 ThreatListDescriptor.php
▶ Open 📄 View Source
🐘 ThreatMatch.php
▶ Open 📄 View Source
🐘 ThreatSource.php
▶ Open 📄 View Source
🐘 UserInfo.php
▶ Open 📄 View Source

📄 Source: GoogleSecuritySafebrowsingV5SearchUrlsResponse.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Safebrowsing;

class GoogleSecuritySafebrowsingV5SearchUrlsResponse extends \Google\Collection
{
  protected $collection_key = 'threats';
  /**
   * The client-side cache duration. The client MUST add this duration to the
   * current time to determine the expiration time. The expiration time then
   * applies to every URL queried by the client in the request, regardless of
   * how many URLs are returned in the response. Even if the server returns no
   * matches for a particular URL, this fact MUST also be cached by the client.
   * If and only if the field `threats` is empty, the client MAY increase the
   * `cache_duration` to determine a new expiration that is later than that
   * specified by the server. In any case, the increased cache duration must not
   * be longer than 24 hours. Important: the client MUST NOT assume that the
   * server will return the same cache duration for all responses. The server
   * MAY choose different cache durations for different responses depending on
   * the situation.
   *
   * @var string
   */
  public $cacheDuration;
  protected $threatsType = GoogleSecuritySafebrowsingV5ThreatUrl::class;
  protected $threatsDataType = 'array';

  /**
   * The client-side cache duration. The client MUST add this duration to the
   * current time to determine the expiration time. The expiration time then
   * applies to every URL queried by the client in the request, regardless of
   * how many URLs are returned in the response. Even if the server returns no
   * matches for a particular URL, this fact MUST also be cached by the client.
   * If and only if the field `threats` is empty, the client MAY increase the
   * `cache_duration` to determine a new expiration that is later than that
   * specified by the server. In any case, the increased cache duration must not
   * be longer than 24 hours. Important: the client MUST NOT assume that the
   * server will return the same cache duration for all responses. The server
   * MAY choose different cache durations for different responses depending on
   * the situation.
   *
   * @param string $cacheDuration
   */
  public function setCacheDuration($cacheDuration)
  {
    $this->cacheDuration = $cacheDuration;
  }
  /**
   * @return string
   */
  public function getCacheDuration()
  {
    return $this->cacheDuration;
  }
  /**
   * Unordered list. The unordered list of threat matches found. Each entry
   * contains a URL and the threat types that were found matching that URL. The
   * list size can be greater than the number of URLs in the request as the all
   * expressions of the URL would've been considered.
   *
   * @param GoogleSecuritySafebrowsingV5ThreatUrl[] $threats
   */
  public function setThreats($threats)
  {
    $this->threats = $threats;
  }
  /**
   * @return GoogleSecuritySafebrowsingV5ThreatUrl[]
   */
  public function getThreats()
  {
    return $this->threats;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSecuritySafebrowsingV5SearchUrlsResponse::class, 'Google_Service_Safebrowsing_GoogleSecuritySafebrowsingV5SearchUrlsResponse');
← Back