Class: Google::Apis::PlaymoviespartnerV1::StoreInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/playmoviespartner_v1/classes.rb,
generated/google/apis/playmoviespartner_v1/representations.rb,
generated/google/apis/playmoviespartner_v1/representations.rb

Overview

Information about a playable sequence (video) associated with an Edit and available at the Google Play Store. Internally, each StoreInfo is uniquely identified by a video_id and country. Externally, Title-level EIDR or Edit-level EIDR, if provided, can also be used to identify a specific title or edit in a country.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StoreInfo

Returns a new instance of StoreInfo



747
748
749
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 747

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#audio_tracksArray<String>

Audio tracks available for this Edit. Corresponds to the JSON property audioTracks

Returns:

  • (Array<String>)


592
593
594
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 592

def audio_tracks
  @audio_tracks
end

#countryString

Country where Edit is available in ISO 3166-1 alpha-2 country code. Example: "US". Corresponds to the JSON property country

Returns:

  • (String)


599
600
601
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 599

def country
  @country
end

#edit_level_eidrString

Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". Corresponds to the JSON property editLevelEidr

Returns:

  • (String)


605
606
607
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 605

def edit_level_eidr
  @edit_level_eidr
end

#episode_numberString

The number assigned to the episode within a season. Only available on TV Edits. Example: "1". Corresponds to the JSON property episodeNumber

Returns:

  • (String)


612
613
614
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 612

def episode_number
  @episode_number
end

#has_audio51Boolean Also known as: has_audio51?

Whether the Edit has a 5.1 channel audio track. Corresponds to the JSON property hasAudio51

Returns:

  • (Boolean)


617
618
619
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 617

def has_audio51
  @has_audio51
end

#has_est_offerBoolean Also known as: has_est_offer?

Whether the Edit has a EST offer. Corresponds to the JSON property hasEstOffer

Returns:

  • (Boolean)


623
624
625
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 623

def has_est_offer
  @has_est_offer
end

#has_hd_offerBoolean Also known as: has_hd_offer?

Whether the Edit has a HD offer. Corresponds to the JSON property hasHdOffer

Returns:

  • (Boolean)


629
630
631
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 629

def has_hd_offer
  @has_hd_offer
end

#has_info_cardsBoolean Also known as: has_info_cards?

Whether the Edit has info cards. Corresponds to the JSON property hasInfoCards

Returns:

  • (Boolean)


635
636
637
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 635

def has_info_cards
  @has_info_cards
end

#has_sd_offerBoolean Also known as: has_sd_offer?

Whether the Edit has a SD offer. Corresponds to the JSON property hasSdOffer

Returns:

  • (Boolean)


641
642
643
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 641

def has_sd_offer
  @has_sd_offer
end

#has_vod_offerBoolean Also known as: has_vod_offer?

Whether the Edit has a VOD offer. Corresponds to the JSON property hasVodOffer

Returns:

  • (Boolean)


647
648
649
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 647

def has_vod_offer
  @has_vod_offer
end

#live_timeString

Timestamp when the Edit went live on the Store. Corresponds to the JSON property liveTime

Returns:

  • (String)


653
654
655
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 653

def live_time
  @live_time
end

#midString

Knowledge Graph ID associated to this Edit, if available. This ID links the Edit to its knowledge entity, externally accessible at http://freebase.com. In the absense of Title EIDR or Edit EIDR, this ID helps link together multiple Edits across countries. Example: '/m/0ffx29' Corresponds to the JSON property mid

Returns:

  • (String)


663
664
665
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 663

def mid
  @mid
end

#nameString

Default Edit name, usually in the language of the country of origin. Example: "Googlers, The". Corresponds to the JSON property name

Returns:

  • (String)


670
671
672
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 670

def name
  @name
end

#pph_namesArray<String>

Name of the post-production houses that manage the Edit. Corresponds to the JSON property pphNames

Returns:

  • (Array<String>)


675
676
677
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 675

def pph_names
  @pph_names
end

#season_idString

Google-generated ID identifying the season linked to the Edit. Only available for TV Edits. Example: 'ster23ex' Corresponds to the JSON property seasonId

Returns:

  • (String)


682
683
684
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 682

def season_id
  @season_id
end

#season_nameString

Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - A Brave New World". Corresponds to the JSON property seasonName

Returns:

  • (String)


690
691
692
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 690

def season_name
  @season_name
end

#season_numberString

The number assigned to the season within a show. Only available on TV Edits. Example: "1". Corresponds to the JSON property seasonNumber

Returns:

  • (String)


697
698
699
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 697

def season_number
  @season_number
end

#show_idString

Google-generated ID identifying the show linked to the Edit. Only available for TV Edits. Example: 'et2hsue_x' Corresponds to the JSON property showId

Returns:

  • (String)


704
705
706
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 704

def show_id
  @show_id
end

#show_nameString

Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The". Corresponds to the JSON property showName

Returns:

  • (String)


712
713
714
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 712

def show_name
  @show_name
end

#studio_nameString

Name of the studio that owns the Edit ordered. Corresponds to the JSON property studioName

Returns:

  • (String)


717
718
719
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 717

def studio_name
  @studio_name
end

#subtitlesArray<String>

Subtitles available for this Edit. Corresponds to the JSON property subtitles

Returns:

  • (Array<String>)


722
723
724
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 722

def subtitles
  @subtitles
end

#title_level_eidrString

Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". Corresponds to the JSON property titleLevelEidr

Returns:

  • (String)


728
729
730
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 728

def title_level_eidr
  @title_level_eidr
end

#trailer_idString

Google-generated ID identifying the trailer linked to the Edit. Example: 'bhd_4e_cx' Corresponds to the JSON property trailerId

Returns:

  • (String)


734
735
736
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 734

def trailer_id
  @trailer_id
end

#typeString

Edit type, like Movie, Episode or Season. Corresponds to the JSON property type

Returns:

  • (String)


739
740
741
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 739

def type
  @type
end

#video_idString

Google-generated ID identifying the video linked to the Edit. Example: 'gtry456_xc' Corresponds to the JSON property videoId

Returns:

  • (String)


745
746
747
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 745

def video_id
  @video_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 752

def update!(**args)
  @audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks)
  @country = args[:country] if args.key?(:country)
  @edit_level_eidr = args[:edit_level_eidr] if args.key?(:edit_level_eidr)
  @episode_number = args[:episode_number] if args.key?(:episode_number)
  @has_audio51 = args[:has_audio51] if args.key?(:has_audio51)
  @has_est_offer = args[:has_est_offer] if args.key?(:has_est_offer)
  @has_hd_offer = args[:has_hd_offer] if args.key?(:has_hd_offer)
  @has_info_cards = args[:has_info_cards] if args.key?(:has_info_cards)
  @has_sd_offer = args[:has_sd_offer] if args.key?(:has_sd_offer)
  @has_vod_offer = args[:has_vod_offer] if args.key?(:has_vod_offer)
  @live_time = args[:live_time] if args.key?(:live_time)
  @mid = args[:mid] if args.key?(:mid)
  @name = args[:name] if args.key?(:name)
  @pph_names = args[:pph_names] if args.key?(:pph_names)
  @season_id = args[:season_id] if args.key?(:season_id)
  @season_name = args[:season_name] if args.key?(:season_name)
  @season_number = args[:season_number] if args.key?(:season_number)
  @show_id = args[:show_id] if args.key?(:show_id)
  @show_name = args[:show_name] if args.key?(:show_name)
  @studio_name = args[:studio_name] if args.key?(:studio_name)
  @subtitles = args[:subtitles] if args.key?(:subtitles)
  @title_level_eidr = args[:title_level_eidr] if args.key?(:title_level_eidr)
  @trailer_id = args[:trailer_id] if args.key?(:trailer_id)
  @type = args[:type] if args.key?(:type)
  @video_id = args[:video_id] if args.key?(:video_id)
end