📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Books
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Annotation.php
▶ Open 📄 View Source
🐘 AnnotationClientVersionRanges.php
▶ Open 📄 View Source
🐘 AnnotationCurrentVersionRanges.php
▶ Open 📄 View Source
🐘 AnnotationLayerSummary.php
▶ Open 📄 View Source
🐘 Annotations.php
▶ Open 📄 View Source
🐘 AnnotationsSummary.php
▶ Open 📄 View Source
🐘 AnnotationsSummaryLayers.php
▶ Open 📄 View Source
🐘 Annotationsdata.php
▶ Open 📄 View Source
🐘 BooksAnnotationsRange.php
▶ Open 📄 View Source
🐘 BooksCloudloadingResource.php
▶ Open 📄 View Source
🐘 BooksEmpty.php
▶ Open 📄 View Source
🐘 BooksVolumesRecommendedRateResponse.php
▶ Open 📄 View Source
🐘 Bookshelf.php
▶ Open 📄 View Source
🐘 Bookshelves.php
▶ Open 📄 View Source
🐘 Category.php
▶ Open 📄 View Source
🐘 CategoryItems.php
▶ Open 📄 View Source
🐘 ConcurrentAccessRestriction.php
▶ Open 📄 View Source
🐘 DictionaryAnnotationdata.php
▶ Open 📄 View Source
🐘 Dictlayerdata.php
▶ Open 📄 View Source
🐘 DictlayerdataCommon.php
▶ Open 📄 View Source
🐘 DictlayerdataDict.php
▶ Open 📄 View Source
🐘 DictlayerdataDictSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWords.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsDerivatives.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsDerivativesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsExamples.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsExamplesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSenses.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesConjugations.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitions.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitionsExamples.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitionsExamplesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSynonyms.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSynonymsSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSource.php
▶ Open 📄 View Source
🐘 Discoveryclusters.php
▶ Open 📄 View Source
🐘 DiscoveryclustersClusters.php
▶ Open 📄 View Source
🐘 DiscoveryclustersClustersBannerWithContentContainer.php
▶ Open 📄 View Source
🐘 DownloadAccessRestriction.php
▶ Open 📄 View Source
🐘 DownloadAccesses.php
▶ Open 📄 View Source
🐘 FamilyInfo.php
▶ Open 📄 View Source
🐘 FamilyInfoMembership.php
▶ Open 📄 View Source
🐘 GeoAnnotationdata.php
▶ Open 📄 View Source
🐘 Geolayerdata.php
▶ Open 📄 View Source
🐘 GeolayerdataCommon.php
▶ Open 📄 View Source
🐘 GeolayerdataGeo.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewport.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewportHi.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewportLo.php
▶ Open 📄 View Source
🐘 Layersummaries.php
▶ Open 📄 View Source
🐘 Layersummary.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 MetadataItems.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 Offers.php
▶ Open 📄 View Source
🐘 OffersItems.php
▶ Open 📄 View Source
🐘 OffersItemsItems.php
▶ Open 📄 View Source
🐘 ReadingPosition.php
▶ Open 📄 View Source
🐘 RequestAccessData.php
▶ Open 📄 View Source
🐘 Review.php
▶ Open 📄 View Source
🐘 ReviewAuthor.php
▶ Open 📄 View Source
🐘 ReviewSource.php
▶ Open 📄 View Source
🐘 Series.php
▶ Open 📄 View Source
🐘 SeriesSeries.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfo.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo.php
▶ Open 📄 View Source
🐘 Seriesmembership.php
▶ Open 📄 View Source
🐘 Usersettings.php
▶ Open 📄 View Source
🐘 UsersettingsNotesExport.php
▶ Open 📄 View Source
🐘 UsersettingsNotification.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMatchMyInterests.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMoreFromAuthors.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMoreFromSeries.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationPriceDrop.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationRewardExpirations.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 Volume2.php
▶ Open 📄 View Source
🐘 VolumeAccessInfo.php
▶ Open 📄 View Source
🐘 VolumeAccessInfoEpub.php
▶ Open 📄 View Source
🐘 VolumeAccessInfoPdf.php
▶ Open 📄 View Source
🐘 VolumeLayerInfo.php
▶ Open 📄 View Source
🐘 VolumeLayerInfoLayers.php
▶ Open 📄 View Source
🐘 VolumeRecommendedInfo.php
▶ Open 📄 View Source
🐘 VolumeSaleInfo.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoListPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffers.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersListPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersRentalDuration.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersRetailPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoRetailPrice.php
▶ Open 📄 View Source
🐘 VolumeSearchInfo.php
▶ Open 📄 View Source
🐘 VolumeUserInfo.php
▶ Open 📄 View Source
🐘 VolumeUserInfoCopy.php
▶ Open 📄 View Source
🐘 VolumeUserInfoFamilySharing.php
▶ Open 📄 View Source
🐘 VolumeUserInfoRentalPeriod.php
▶ Open 📄 View Source
🐘 VolumeUserInfoUserUploadedVolumeInfo.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfo.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoDimensions.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoImageLinks.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoIndustryIdentifiers.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoPanelizationSummary.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoReadingModes.php
▶ Open 📄 View Source
🐘 Volumeannotation.php
▶ Open 📄 View Source
🐘 VolumeannotationContentRanges.php
▶ Open 📄 View Source
🐘 Volumeannotations.php
▶ Open 📄 View Source
🐘 Volumes.php
▶ Open 📄 View Source
🐘 Volumeseriesinfo.php
▶ Open 📄 View Source
🐘 VolumeseriesinfoVolumeSeries.php
▶ Open 📄 View Source
🐘 VolumeseriesinfoVolumeSeriesIssue.php
▶ Open 📄 View Source

📄 Source: VolumeAccessInfo.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\Books;

class VolumeAccessInfo extends \Google\Model
{
  /**
   * Combines the access and viewability of this volume into a single status
   * field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,
   * SAMPLE or NONE. (In LITE projection.)
   *
   * @var string
   */
  public $accessViewStatus;
  /**
   * The two-letter ISO_3166-1 country code for which this access information is
   * valid. (In LITE projection.)
   *
   * @var string
   */
  public $country;
  protected $downloadAccessType = DownloadAccessRestriction::class;
  protected $downloadAccessDataType = '';
  /**
   * URL to the Google Drive viewer if this volume is uploaded by the user by
   * selecting the file from Google Drive.
   *
   * @var string
   */
  public $driveImportedContentLink;
  /**
   * Whether this volume can be embedded in a viewport using the Embedded Viewer
   * API.
   *
   * @var bool
   */
  public $embeddable;
  protected $epubType = VolumeAccessInfoEpub::class;
  protected $epubDataType = '';
  /**
   * Whether this volume requires that the client explicitly request offline
   * download license rather than have it done automatically when loading the
   * content, if the client supports it.
   *
   * @var bool
   */
  public $explicitOfflineLicenseManagement;
  protected $pdfType = VolumeAccessInfoPdf::class;
  protected $pdfDataType = '';
  /**
   * Whether or not this book is public domain in the country listed above.
   *
   * @var bool
   */
  public $publicDomain;
  /**
   * Whether quote sharing is allowed for this volume.
   *
   * @var bool
   */
  public $quoteSharingAllowed;
  /**
   * Whether text-to-speech is permitted for this volume. Values can be ALLOWED,
   * ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
   *
   * @var string
   */
  public $textToSpeechPermission;
  /**
   * For ordered but not yet processed orders, we give a URL that can be used to
   * go to the appropriate Google Wallet page.
   *
   * @var string
   */
  public $viewOrderUrl;
  /**
   * The read access of a volume. Possible values are PARTIAL, ALL_PAGES,
   * NO_PAGES or UNKNOWN. This value depends on the country listed above. A
   * value of PARTIAL means that the publisher has allowed some portion of the
   * volume to be viewed publicly, without purchase. This can apply to eBooks as
   * well as non-eBooks. Public domain books will always have a value of
   * ALL_PAGES.
   *
   * @var string
   */
  public $viewability;
  /**
   * URL to read this volume on the Google Books site. Link will not allow users
   * to read non-viewable volumes.
   *
   * @var string
   */
  public $webReaderLink;

  /**
   * Combines the access and viewability of this volume into a single status
   * field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,
   * SAMPLE or NONE. (In LITE projection.)
   *
   * @param string $accessViewStatus
   */
  public function setAccessViewStatus($accessViewStatus)
  {
    $this->accessViewStatus = $accessViewStatus;
  }
  /**
   * @return string
   */
  public function getAccessViewStatus()
  {
    return $this->accessViewStatus;
  }
  /**
   * The two-letter ISO_3166-1 country code for which this access information is
   * valid. (In LITE projection.)
   *
   * @param string $country
   */
  public function setCountry($country)
  {
    $this->country = $country;
  }
  /**
   * @return string
   */
  public function getCountry()
  {
    return $this->country;
  }
  /**
   * Information about a volume's download license access restrictions.
   *
   * @param DownloadAccessRestriction $downloadAccess
   */
  public function setDownloadAccess(DownloadAccessRestriction $downloadAccess)
  {
    $this->downloadAccess = $downloadAccess;
  }
  /**
   * @return DownloadAccessRestriction
   */
  public function getDownloadAccess()
  {
    return $this->downloadAccess;
  }
  /**
   * URL to the Google Drive viewer if this volume is uploaded by the user by
   * selecting the file from Google Drive.
   *
   * @param string $driveImportedContentLink
   */
  public function setDriveImportedContentLink($driveImportedContentLink)
  {
    $this->driveImportedContentLink = $driveImportedContentLink;
  }
  /**
   * @return string
   */
  public function getDriveImportedContentLink()
  {
    return $this->driveImportedContentLink;
  }
  /**
   * Whether this volume can be embedded in a viewport using the Embedded Viewer
   * API.
   *
   * @param bool $embeddable
   */
  public function setEmbeddable($embeddable)
  {
    $this->embeddable = $embeddable;
  }
  /**
   * @return bool
   */
  public function getEmbeddable()
  {
    return $this->embeddable;
  }
  /**
   * Information about epub content. (In LITE projection.)
   *
   * @param VolumeAccessInfoEpub $epub
   */
  public function setEpub(VolumeAccessInfoEpub $epub)
  {
    $this->epub = $epub;
  }
  /**
   * @return VolumeAccessInfoEpub
   */
  public function getEpub()
  {
    return $this->epub;
  }
  /**
   * Whether this volume requires that the client explicitly request offline
   * download license rather than have it done automatically when loading the
   * content, if the client supports it.
   *
   * @param bool $explicitOfflineLicenseManagement
   */
  public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
  {
    $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
  }
  /**
   * @return bool
   */
  public function getExplicitOfflineLicenseManagement()
  {
    return $this->explicitOfflineLicenseManagement;
  }
  /**
   * Information about pdf content. (In LITE projection.)
   *
   * @param VolumeAccessInfoPdf $pdf
   */
  public function setPdf(VolumeAccessInfoPdf $pdf)
  {
    $this->pdf = $pdf;
  }
  /**
   * @return VolumeAccessInfoPdf
   */
  public function getPdf()
  {
    return $this->pdf;
  }
  /**
   * Whether or not this book is public domain in the country listed above.
   *
   * @param bool $publicDomain
   */
  public function setPublicDomain($publicDomain)
  {
    $this->publicDomain = $publicDomain;
  }
  /**
   * @return bool
   */
  public function getPublicDomain()
  {
    return $this->publicDomain;
  }
  /**
   * Whether quote sharing is allowed for this volume.
   *
   * @param bool $quoteSharingAllowed
   */
  public function setQuoteSharingAllowed($quoteSharingAllowed)
  {
    $this->quoteSharingAllowed = $quoteSharingAllowed;
  }
  /**
   * @return bool
   */
  public function getQuoteSharingAllowed()
  {
    return $this->quoteSharingAllowed;
  }
  /**
   * Whether text-to-speech is permitted for this volume. Values can be ALLOWED,
   * ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
   *
   * @param string $textToSpeechPermission
   */
  public function setTextToSpeechPermission($textToSpeechPermission)
  {
    $this->textToSpeechPermission = $textToSpeechPermission;
  }
  /**
   * @return string
   */
  public function getTextToSpeechPermission()
  {
    return $this->textToSpeechPermission;
  }
  /**
   * For ordered but not yet processed orders, we give a URL that can be used to
   * go to the appropriate Google Wallet page.
   *
   * @param string $viewOrderUrl
   */
  public function setViewOrderUrl($viewOrderUrl)
  {
    $this->viewOrderUrl = $viewOrderUrl;
  }
  /**
   * @return string
   */
  public function getViewOrderUrl()
  {
    return $this->viewOrderUrl;
  }
  /**
   * The read access of a volume. Possible values are PARTIAL, ALL_PAGES,
   * NO_PAGES or UNKNOWN. This value depends on the country listed above. A
   * value of PARTIAL means that the publisher has allowed some portion of the
   * volume to be viewed publicly, without purchase. This can apply to eBooks as
   * well as non-eBooks. Public domain books will always have a value of
   * ALL_PAGES.
   *
   * @param string $viewability
   */
  public function setViewability($viewability)
  {
    $this->viewability = $viewability;
  }
  /**
   * @return string
   */
  public function getViewability()
  {
    return $this->viewability;
  }
  /**
   * URL to read this volume on the Google Books site. Link will not allow users
   * to read non-viewable volumes.
   *
   * @param string $webReaderLink
   */
  public function setWebReaderLink($webReaderLink)
  {
    $this->webReaderLink = $webReaderLink;
  }
  /**
   * @return string
   */
  public function getWebReaderLink()
  {
    return $this->webReaderLink;
  }
}

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