View Source GoogleApi.ContentWarehouse.V1.Model.ImageSearchImageLicenseInfo (google_api_content_warehouse v0.4.0)

The image license info for licensable images(go/Licensable-Images-PRD) This proto in design doc: go/licensable-images-edd

Attributes

  • acquireLicensePage (type: String.t, default: nil) - Records web page url about how to use the licensed image.
  • copyrightNotice (type: String.t, default: nil) - Provides copyright info.
  • copyrightNoticeSourceType (type: String.t, default: nil) - Source type for copyright_notice field.
  • creator (type: list(String.t), default: nil) - creator, authors.
  • creatorSourceType (type: String.t, default: nil) - Source type for creator field.
  • creditText (type: String.t, default: nil) - Text for crediting persons or organizations.
  • creditTextSourceType (type: String.t, default: nil) - Source type for credit_text field.
  • isRetiredCcUrl (type: boolean(), default: nil) - Whether this license url is in retired license list, which is from: https://creativecommons.org/retiredlicenses/
  • licenseType (type: String.t, default: nil) -
  • licenseUrl (type: String.t, default: nil) - Records license URL.
  • safesearchFlags (type: integer(), default: nil) - A bitwise-OR of SafeSearch filtering flags. If present, the flags will be a bitwise-AND between this value and all the classifier_porn::query::Vertical enums. If the value is -1, it indicates there is some error with SafeSearch classifier. The default value 0 means no filtering flags are set.
  • sourceType (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageSearchImageLicenseInfo{
  acquireLicensePage: String.t() | nil,
  copyrightNotice: String.t() | nil,
  copyrightNoticeSourceType: String.t() | nil,
  creator: [String.t()] | nil,
  creatorSourceType: String.t() | nil,
  creditText: String.t() | nil,
  creditTextSourceType: String.t() | nil,
  isRetiredCcUrl: boolean() | nil,
  licenseType: String.t() | nil,
  licenseUrl: String.t() | nil,
  safesearchFlags: integer() | nil,
  sourceType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.