Class: Google::Apis::PlaymoviespartnerV1::StoreInfo
- Inherits:
-
Object
- Object
- Google::Apis::PlaymoviespartnerV1::StoreInfo
- 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
-
#audio_tracks ⇒ Array<String>
Audio tracks available for this Edit.
-
#country ⇒ String
Country where Edit is available in ISO 3166-1 alpha-2 country code.
-
#edit_level_eidr ⇒ String
Edit-level EIDR ID.
-
#episode_number ⇒ String
The number assigned to the episode within a season.
-
#has_audio51 ⇒ Boolean
(also: #has_audio51?)
Whether the Edit has a 5.1 channel audio track.
-
#has_est_offer ⇒ Boolean
(also: #has_est_offer?)
Whether the Edit has a EST offer.
-
#has_hd_offer ⇒ Boolean
(also: #has_hd_offer?)
Whether the Edit has a HD offer.
-
#has_info_cards ⇒ Boolean
(also: #has_info_cards?)
Whether the Edit has info cards.
-
#has_sd_offer ⇒ Boolean
(also: #has_sd_offer?)
Whether the Edit has a SD offer.
-
#has_vod_offer ⇒ Boolean
(also: #has_vod_offer?)
Whether the Edit has a VOD offer.
-
#live_time ⇒ String
Timestamp when the Edit went live on the Store.
-
#mid ⇒ String
Knowledge Graph ID associated to this Edit, if available.
-
#name ⇒ String
Default Edit name, usually in the language of the country of origin.
-
#pph_names ⇒ Array<String>
Name of the post-production houses that manage the Edit.
-
#season_id ⇒ String
Google-generated ID identifying the season linked to the Edit.
-
#season_name ⇒ String
Default Season name, usually in the language of the country of origin.
-
#season_number ⇒ String
The number assigned to the season within a show.
-
#show_id ⇒ String
Google-generated ID identifying the show linked to the Edit.
-
#show_name ⇒ String
Default Show name, usually in the language of the country of origin.
-
#studio_name ⇒ String
Name of the studio that owns the Edit ordered.
-
#subtitles ⇒ Array<String>
Subtitles available for this Edit.
-
#title_level_eidr ⇒ String
Title-level EIDR ID.
-
#trailer_id ⇒ String
Google-generated ID identifying the trailer linked to the Edit.
-
#type ⇒ String
Edit type, like Movie, Episode or Season.
-
#video_id ⇒ String
Google-generated ID identifying the video linked to the Edit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoreInfo
constructor
A new instance of StoreInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_tracks ⇒ Array<String>
Audio tracks available for this Edit.
Corresponds to the JSON property audioTracks
592 593 594 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 592 def audio_tracks @audio_tracks end |
#country ⇒ String
Country where Edit is available in ISO 3166-1 alpha-2 country
code.
Example: "US".
Corresponds to the JSON property country
599 600 601 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 599 def country @country end |
#edit_level_eidr ⇒ String
Edit-level EIDR ID.
Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
Corresponds to the JSON property editLevelEidr
605 606 607 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 605 def edit_level_eidr @edit_level_eidr end |
#episode_number ⇒ String
The number assigned to the episode within a season.
Only available on TV Edits.
Example: "1".
Corresponds to the JSON property episodeNumber
612 613 614 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 612 def episode_number @episode_number end |
#has_audio51 ⇒ Boolean Also known as: has_audio51?
Whether the Edit has a 5.1 channel audio track.
Corresponds to the JSON property hasAudio51
617 618 619 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 617 def has_audio51 @has_audio51 end |
#has_est_offer ⇒ Boolean Also known as: has_est_offer?
Whether the Edit has a EST offer.
Corresponds to the JSON property hasEstOffer
623 624 625 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 623 def has_est_offer @has_est_offer end |
#has_hd_offer ⇒ Boolean Also known as: has_hd_offer?
Whether the Edit has a HD offer.
Corresponds to the JSON property hasHdOffer
629 630 631 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 629 def has_hd_offer @has_hd_offer end |
#has_info_cards ⇒ Boolean Also known as: has_info_cards?
Whether the Edit has info cards.
Corresponds to the JSON property hasInfoCards
635 636 637 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 635 def has_info_cards @has_info_cards end |
#has_sd_offer ⇒ Boolean Also known as: has_sd_offer?
Whether the Edit has a SD offer.
Corresponds to the JSON property hasSdOffer
641 642 643 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 641 def has_sd_offer @has_sd_offer end |
#has_vod_offer ⇒ Boolean Also known as: has_vod_offer?
Whether the Edit has a VOD offer.
Corresponds to the JSON property hasVodOffer
647 648 649 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 647 def has_vod_offer @has_vod_offer end |
#live_time ⇒ String
Timestamp when the Edit went live on the Store.
Corresponds to the JSON property liveTime
653 654 655 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 653 def live_time @live_time end |
#mid ⇒ String
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
663 664 665 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 663 def mid @mid end |
#name ⇒ String
Default Edit name, usually in the language of the country of
origin.
Example: "Googlers, The".
Corresponds to the JSON property name
670 671 672 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 670 def name @name end |
#pph_names ⇒ Array<String>
Name of the post-production houses that manage the Edit.
Corresponds to the JSON property pphNames
675 676 677 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 675 def pph_names @pph_names end |
#season_id ⇒ String
Google-generated ID identifying the season linked to the Edit.
Only available for TV Edits.
Example: 'ster23ex'
Corresponds to the JSON property seasonId
682 683 684 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 682 def season_id @season_id end |
#season_name ⇒ String
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
690 691 692 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 690 def season_name @season_name end |
#season_number ⇒ String
The number assigned to the season within a show.
Only available on TV Edits.
Example: "1".
Corresponds to the JSON property seasonNumber
697 698 699 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 697 def season_number @season_number end |
#show_id ⇒ String
Google-generated ID identifying the show linked to the Edit.
Only available for TV Edits.
Example: 'et2hsue_x'
Corresponds to the JSON property showId
704 705 706 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 704 def show_id @show_id end |
#show_name ⇒ String
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
712 713 714 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 712 def show_name @show_name end |
#studio_name ⇒ String
Name of the studio that owns the Edit ordered.
Corresponds to the JSON property studioName
717 718 719 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 717 def studio_name @studio_name end |
#subtitles ⇒ Array<String>
Subtitles available for this Edit.
Corresponds to the JSON property subtitles
722 723 724 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 722 def subtitles @subtitles end |
#title_level_eidr ⇒ String
Title-level EIDR ID.
Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
Corresponds to the JSON property titleLevelEidr
728 729 730 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 728 def title_level_eidr @title_level_eidr end |
#trailer_id ⇒ String
Google-generated ID identifying the trailer linked to the Edit.
Example: 'bhd_4e_cx'
Corresponds to the JSON property trailerId
734 735 736 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 734 def trailer_id @trailer_id end |
#type ⇒ String
Edit type, like Movie, Episode or Season.
Corresponds to the JSON property type
739 740 741 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 739 def type @type end |
#video_id ⇒ String
Google-generated ID identifying the video linked to the Edit.
Example: 'gtry456_xc'
Corresponds to the JSON property videoId
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 |