Autogenerated update (2020-07-07)

Update:
- civicinfo_v2
- games_v1
- gameservices_v1beta
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs 2020-07-07 00:38:22 +00:00
parent 19a4b00b0e
commit c2e0bb3a5d
19 changed files with 4813 additions and 6591 deletions

View File

@ -17413,6 +17413,8 @@
"/civicinfo:v2/Contest/numberElected": number_elected
"/civicinfo:v2/Contest/numberVotingFor": number_voting_for
"/civicinfo:v2/Contest/office": office
"/civicinfo:v2/Contest/primaryParties": primary_parties
"/civicinfo:v2/Contest/primaryParties/primary_party": primary_party
"/civicinfo:v2/Contest/primaryParty": primary_party
"/civicinfo:v2/Contest/referendumBallotResponses": referendum_ballot_responses
"/civicinfo:v2/Contest/referendumBallotResponses/referendum_ballot_response": referendum_ballot_response
@ -145758,6 +145760,15 @@
"/websecurityscanner:v1beta/websecurityscanner.projects.scanConfigs.scanRuns.stop/name": name
"/websecurityscanner:v1beta/websecurityscanner.projects.scanConfigs.start": start_scan_config_scan_run
"/websecurityscanner:v1beta/websecurityscanner.projects.scanConfigs.start/name": name
"/youtube:v3/AbuseReport": abuse_report
"/youtube:v3/AbuseReport/abuseTypes": abuse_types
"/youtube:v3/AbuseReport/abuseTypes/abuse_type": abuse_type
"/youtube:v3/AbuseReport/description": description
"/youtube:v3/AbuseReport/relatedEntities": related_entities
"/youtube:v3/AbuseReport/relatedEntities/related_entity": related_entity
"/youtube:v3/AbuseReport/subject": subject
"/youtube:v3/AbuseType": abuse_type
"/youtube:v3/AbuseType/id": id
"/youtube:v3/AccessPolicy": access_policy
"/youtube:v3/AccessPolicy/allowed": allowed
"/youtube:v3/AccessPolicy/exception": exception
@ -145904,6 +145915,9 @@
"/youtube:v3/ChannelBrandingSettings/hints/hint": hint
"/youtube:v3/ChannelBrandingSettings/image": image
"/youtube:v3/ChannelBrandingSettings/watch": watch
"/youtube:v3/ChannelCard": channel_card
"/youtube:v3/ChannelCard/channelId": channel_id
"/youtube:v3/ChannelCard/customMessage": custom_message
"/youtube:v3/ChannelContentDetails": channel_content_details
"/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists
"/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites
@ -146014,6 +146028,9 @@
"/youtube:v3/ChannelStatus/madeForKids": made_for_kids
"/youtube:v3/ChannelStatus/privacyStatus": privacy_status
"/youtube:v3/ChannelStatus/selfDeclaredMadeForKids": self_declared_made_for_kids
"/youtube:v3/ChannelToStoreLinkDetails": channel_to_store_link_details
"/youtube:v3/ChannelToStoreLinkDetails/storeName": store_name
"/youtube:v3/ChannelToStoreLinkDetails/storeUrl": store_url
"/youtube:v3/ChannelTopicDetails": channel_topic_details
"/youtube:v3/ChannelTopicDetails/topicCategories": topic_categories
"/youtube:v3/ChannelTopicDetails/topicCategories/topic_category": topic_category
@ -146152,6 +146169,10 @@
"/youtube:v3/ContentRating/smsaRating": smsa_rating
"/youtube:v3/ContentRating/tvpgRating": tvpg_rating
"/youtube:v3/ContentRating/ytRating": yt_rating
"/youtube:v3/Entity": entity
"/youtube:v3/Entity/id": id
"/youtube:v3/Entity/typeId": type_id
"/youtube:v3/Entity/url": url
"/youtube:v3/FanFundingEvent": fan_funding_event
"/youtube:v3/FanFundingEvent/etag": etag
"/youtube:v3/FanFundingEvent/id": id
@ -146251,6 +146272,28 @@
"/youtube:v3/ImageSettings/smallBrandedBannerImageUrl": small_branded_banner_image_url
"/youtube:v3/ImageSettings/trackingImageUrl": tracking_image_url
"/youtube:v3/ImageSettings/watchIconImageUrl": watch_icon_image_url
"/youtube:v3/InfoCard": info_card
"/youtube:v3/InfoCard/etag": etag
"/youtube:v3/InfoCard/id": id
"/youtube:v3/InfoCard/kind": kind
"/youtube:v3/InfoCard/snippet": snippet
"/youtube:v3/InfoCardSnippet": info_card_snippet
"/youtube:v3/InfoCardSnippet/channelInfocard": channel_infocard
"/youtube:v3/InfoCardSnippet/linkInfocard": link_infocard
"/youtube:v3/InfoCardSnippet/playlistInfocard": playlist_infocard
"/youtube:v3/InfoCardSnippet/teaser": teaser
"/youtube:v3/InfoCardSnippet/videoInfocard": video_infocard
"/youtube:v3/InfoCardSnippetTeaser": info_card_snippet_teaser
"/youtube:v3/InfoCardSnippetTeaser/teaserStartOffset": teaser_start_offset
"/youtube:v3/InfoCardSnippetTeaser/teaserText": teaser_text
"/youtube:v3/InfoCards": info_cards
"/youtube:v3/InfoCards/items": items
"/youtube:v3/InfoCards/items/item": item
"/youtube:v3/InfocardListResponse": infocard_list_response
"/youtube:v3/InfocardListResponse/etag": etag
"/youtube:v3/InfocardListResponse/items": items
"/youtube:v3/InfocardListResponse/items/item": item
"/youtube:v3/InfocardListResponse/kind": kind
"/youtube:v3/IngestionInfo": ingestion_info
"/youtube:v3/IngestionInfo/backupIngestionAddress": backup_ingestion_address
"/youtube:v3/IngestionInfo/ingestionAddress": ingestion_address
@ -146280,6 +146323,15 @@
"/youtube:v3/LanguageTag/value": value
"/youtube:v3/LevelDetails": level_details
"/youtube:v3/LevelDetails/displayName": display_name
"/youtube:v3/LinkCard": link_card
"/youtube:v3/LinkCard/customLinkText": custom_link_text
"/youtube:v3/LinkCard/externalImageUrl": external_image_url
"/youtube:v3/LinkCard/targetUrl": target_url
"/youtube:v3/LinkCard/title": title
"/youtube:v3/LinkCard/uploadedImage": uploaded_image
"/youtube:v3/LinkCardUploadedImage": link_card_uploaded_image
"/youtube:v3/LinkCardUploadedImage/imageFile": image_file
"/youtube:v3/LinkCardUploadedImage/version": version
"/youtube:v3/LiveBroadcast": live_broadcast
"/youtube:v3/LiveBroadcast/contentDetails": content_details
"/youtube:v3/LiveBroadcast/etag": etag
@ -146588,6 +146640,10 @@
"/youtube:v3/Playlist/player": player
"/youtube:v3/Playlist/snippet": snippet
"/youtube:v3/Playlist/status": status
"/youtube:v3/PlaylistCard": playlist_card
"/youtube:v3/PlaylistCard/customMessage": custom_message
"/youtube:v3/PlaylistCard/playlistId": playlist_id
"/youtube:v3/PlaylistCard/startVideoId": start_video_id
"/youtube:v3/PlaylistContentDetails": playlist_content_details
"/youtube:v3/PlaylistContentDetails/itemCount": item_count
"/youtube:v3/PlaylistItem": playlist_item
@ -146668,6 +146724,8 @@
"/youtube:v3/PropertyValue": property_value
"/youtube:v3/PropertyValue/property": property
"/youtube:v3/PropertyValue/value": value
"/youtube:v3/RelatedEntity": related_entity
"/youtube:v3/RelatedEntity/entity": entity
"/youtube:v3/ResourceId": resource_id
"/youtube:v3/ResourceId/channelId": channel_id
"/youtube:v3/ResourceId/kind": kind
@ -146789,6 +146847,17 @@
"/youtube:v3/TestItem/id": id
"/youtube:v3/TestItem/snippet": snippet
"/youtube:v3/TestItemTestItemSnippet": test_item_test_item_snippet
"/youtube:v3/ThirdPartyLink": third_party_link
"/youtube:v3/ThirdPartyLink/etag": etag
"/youtube:v3/ThirdPartyLink/kind": kind
"/youtube:v3/ThirdPartyLink/linkingToken": linking_token
"/youtube:v3/ThirdPartyLink/snippet": snippet
"/youtube:v3/ThirdPartyLink/status": status
"/youtube:v3/ThirdPartyLinkSnippet": third_party_link_snippet
"/youtube:v3/ThirdPartyLinkSnippet/channelToStoreLink": channel_to_store_link
"/youtube:v3/ThirdPartyLinkSnippet/type": type
"/youtube:v3/ThirdPartyLinkStatus": third_party_link_status
"/youtube:v3/ThirdPartyLinkStatus/linkStatus": link_status
"/youtube:v3/Thumbnail": thumbnail
"/youtube:v3/Thumbnail/height": height
"/youtube:v3/Thumbnail/url": url
@ -146857,6 +146926,10 @@
"/youtube:v3/VideoAgeGating/alcoholContent": alcohol_content
"/youtube:v3/VideoAgeGating/restricted": restricted
"/youtube:v3/VideoAgeGating/videoGameRating": video_game_rating
"/youtube:v3/VideoCard": video_card
"/youtube:v3/VideoCard/customMessage": custom_message
"/youtube:v3/VideoCard/playbackStartOffset": playback_start_offset
"/youtube:v3/VideoCard/videoId": video_id
"/youtube:v3/VideoCategory": video_category
"/youtube:v3/VideoCategory/etag": etag
"/youtube:v3/VideoCategory/id": id
@ -147044,6 +147117,8 @@
"/youtube:v3/key": key
"/youtube:v3/quotaUser": quota_user
"/youtube:v3/userIp": user_ip
"/youtube:v3/youtube.abuseReports.insert": insert_abuse_report
"/youtube:v3/youtube.abuseReports.insert/part": part
"/youtube:v3/youtube.activities.insert": insert_activity
"/youtube:v3/youtube.activities.insert/part": part
"/youtube:v3/youtube.activities.list": list_activities
@ -147360,6 +147435,19 @@
"/youtube:v3/youtube.superChatEvents.list/maxResults": max_results
"/youtube:v3/youtube.superChatEvents.list/pageToken": page_token
"/youtube:v3/youtube.superChatEvents.list/part": part
"/youtube:v3/youtube.thirdPartyLinks.delete": delete_third_party_link
"/youtube:v3/youtube.thirdPartyLinks.delete/linkingToken": linking_token
"/youtube:v3/youtube.thirdPartyLinks.delete/part": part
"/youtube:v3/youtube.thirdPartyLinks.delete/resourceId": resource_id
"/youtube:v3/youtube.thirdPartyLinks.delete/type": type
"/youtube:v3/youtube.thirdPartyLinks.insert": insert_third_party_link
"/youtube:v3/youtube.thirdPartyLinks.insert/part": part
"/youtube:v3/youtube.thirdPartyLinks.list": list_third_party_links
"/youtube:v3/youtube.thirdPartyLinks.list/linkingToken": linking_token
"/youtube:v3/youtube.thirdPartyLinks.list/part": part
"/youtube:v3/youtube.thirdPartyLinks.list/type": type
"/youtube:v3/youtube.thirdPartyLinks.update": update_third_party_link
"/youtube:v3/youtube.thirdPartyLinks.update/part": part
"/youtube:v3/youtube.thumbnails.set": set_thumbnail
"/youtube:v3/youtube.thumbnails.set/onBehalfOfContentOwner": on_behalf_of_content_owner
"/youtube:v3/youtube.thumbnails.set/videoId": video_id
@ -147412,6 +147500,14 @@
"/youtube:v3/youtube.watermarks.unset": unset_watermark
"/youtube:v3/youtube.watermarks.unset/channelId": channel_id
"/youtube:v3/youtube.watermarks.unset/onBehalfOfContentOwner": on_behalf_of_content_owner
"/youtube:v3/youtube.youtube.v3.infocards": infocards_youtube_v3
"/youtube:v3/youtube.youtube.v3.infocards.list": list_youtube_v3_infocards
"/youtube:v3/youtube.youtube.v3.infocards.list/onBehalfOfContentOwner": on_behalf_of_content_owner
"/youtube:v3/youtube.youtube.v3.infocards.list/part": part
"/youtube:v3/youtube.youtube.v3.infocards.list/videoId": video_id
"/youtube:v3/youtube.youtube.v3.infocards/onBehalfOfContentOwner": on_behalf_of_content_owner
"/youtube:v3/youtube.youtube.v3.infocards/part": part
"/youtube:v3/youtube.youtube.v3.infocards/videoId": video_id
"/youtube:v3/youtube.youtube.v3.tests.create": create_youtube_v3_test
"/youtube:v3/youtube.youtube.v3.tests.create/part": part
"/youtubeAnalytics:v1/Group": group
@ -147750,6 +147846,12 @@
"/youtubePartner:v1/AssetSnippet/timeCreated": time_created
"/youtubePartner:v1/AssetSnippet/title": title
"/youtubePartner:v1/AssetSnippet/type": type
"/youtubePartner:v1/Blobstore2Info": blobstore2_info
"/youtubePartner:v1/Blobstore2Info/blobGeneration": blob_generation
"/youtubePartner:v1/Blobstore2Info/blobId": blob_id
"/youtubePartner:v1/Blobstore2Info/downloadReadHandle": download_read_handle
"/youtubePartner:v1/Blobstore2Info/readToken": read_token
"/youtubePartner:v1/Blobstore2Info/uploadMetadataContainer": upload_metadata_container
"/youtubePartner:v1/Campaign": campaign
"/youtubePartner:v1/Campaign/campaignData": campaign_data
"/youtubePartner:v1/Campaign/id": id
@ -147855,6 +147957,18 @@
"/youtubePartner:v1/ClaimedVideoDefaults/kind": kind
"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults": new_video_defaults
"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults/new_video_default": new_video_default
"/youtubePartner:v1/CompositeMedia": composite_media
"/youtubePartner:v1/CompositeMedia/blobRef": blob_ref
"/youtubePartner:v1/CompositeMedia/blobstore2Info": blobstore2_info
"/youtubePartner:v1/CompositeMedia/cosmoBinaryReference": cosmo_binary_reference
"/youtubePartner:v1/CompositeMedia/crc32cHash": crc32c_hash
"/youtubePartner:v1/CompositeMedia/inline": inline
"/youtubePartner:v1/CompositeMedia/length": length
"/youtubePartner:v1/CompositeMedia/md5Hash": md5_hash
"/youtubePartner:v1/CompositeMedia/objectId": object_id_prop
"/youtubePartner:v1/CompositeMedia/path": path
"/youtubePartner:v1/CompositeMedia/referenceType": reference_type
"/youtubePartner:v1/CompositeMedia/sha1Hash": sha1_hash
"/youtubePartner:v1/Conditions": conditions
"/youtubePartner:v1/Conditions/contentMatchType": content_match_type
"/youtubePartner:v1/Conditions/contentMatchType/content_match_type": content_match_type
@ -147890,6 +148004,12 @@
"/youtubePartner:v1/ContentOwnerListResponse/items": items
"/youtubePartner:v1/ContentOwnerListResponse/items/item": item
"/youtubePartner:v1/ContentOwnerListResponse/kind": kind
"/youtubePartner:v1/ContentTypeInfo": content_type_info
"/youtubePartner:v1/ContentTypeInfo/bestGuess": best_guess
"/youtubePartner:v1/ContentTypeInfo/fromBytes": from_bytes
"/youtubePartner:v1/ContentTypeInfo/fromFileName": from_file_name
"/youtubePartner:v1/ContentTypeInfo/fromHeader": from_header
"/youtubePartner:v1/ContentTypeInfo/fromUrlPath": from_url_path
"/youtubePartner:v1/CountriesRestriction": countries_restriction
"/youtubePartner:v1/CountriesRestriction/adFormats": ad_formats
"/youtubePartner:v1/CountriesRestriction/adFormats/ad_format": ad_format
@ -147908,6 +148028,28 @@
"/youtubePartner:v1/DateRange/end": end
"/youtubePartner:v1/DateRange/kind": kind
"/youtubePartner:v1/DateRange/start": start
"/youtubePartner:v1/DiffChecksumsResponse": diff_checksums_response
"/youtubePartner:v1/DiffChecksumsResponse/checksumsLocation": checksums_location
"/youtubePartner:v1/DiffChecksumsResponse/chunkSizeBytes": chunk_size_bytes
"/youtubePartner:v1/DiffChecksumsResponse/objectLocation": object_location
"/youtubePartner:v1/DiffChecksumsResponse/objectSizeBytes": object_size_bytes
"/youtubePartner:v1/DiffChecksumsResponse/objectVersion": object_version
"/youtubePartner:v1/DiffDownloadResponse": diff_download_response
"/youtubePartner:v1/DiffDownloadResponse/objectLocation": object_location
"/youtubePartner:v1/DiffUploadRequest": diff_upload_request
"/youtubePartner:v1/DiffUploadRequest/checksumsInfo": checksums_info
"/youtubePartner:v1/DiffUploadRequest/objectInfo": object_info
"/youtubePartner:v1/DiffUploadRequest/objectVersion": object_version
"/youtubePartner:v1/DiffUploadResponse": diff_upload_response
"/youtubePartner:v1/DiffUploadResponse/objectVersion": object_version
"/youtubePartner:v1/DiffUploadResponse/originalObject": original_object
"/youtubePartner:v1/DiffVersionResponse": diff_version_response
"/youtubePartner:v1/DiffVersionResponse/objectSizeBytes": object_size_bytes
"/youtubePartner:v1/DiffVersionResponse/objectVersion": object_version
"/youtubePartner:v1/DownloadParameters": download_parameters
"/youtubePartner:v1/DownloadParameters/allowGzipCompression": allow_gzip_compression
"/youtubePartner:v1/DownloadParameters/ignoreRange": ignore_range
"/youtubePartner:v1/Empty": empty
"/youtubePartner:v1/ExcludedInterval": excluded_interval
"/youtubePartner:v1/ExcludedInterval/high": high
"/youtubePartner:v1/ExcludedInterval/low": low
@ -147921,11 +148063,70 @@
"/youtubePartner:v1/LiveCuepoint/id": id
"/youtubePartner:v1/LiveCuepoint/kind": kind
"/youtubePartner:v1/LiveCuepoint/settings": settings
"/youtubePartner:v1/LongestMatch": longest_match
"/youtubePartner:v1/LongestMatch/durationSecs": duration_secs
"/youtubePartner:v1/LongestMatch/referenceOffset": reference_offset
"/youtubePartner:v1/LongestMatch/userVideoOffset": user_video_offset
"/youtubePartner:v1/MatchInfo": match_info
"/youtubePartner:v1/MatchInfo/longestMatch": longest_match
"/youtubePartner:v1/MatchInfo/matchSegments": match_segments
"/youtubePartner:v1/MatchInfo/matchSegments/match_segment": match_segment
"/youtubePartner:v1/MatchInfo/referenceId": reference_id
"/youtubePartner:v1/MatchInfo/totalMatch": total_match
"/youtubePartner:v1/MatchSegment": match_segment
"/youtubePartner:v1/MatchSegment/channel": channel
"/youtubePartner:v1/MatchSegment/manual_segment": manual_segment
"/youtubePartner:v1/MatchSegment/reference_segment": reference_segment
"/youtubePartner:v1/MatchSegment/video_segment": video_segment
"/youtubePartner:v1/Media": media
"/youtubePartner:v1/Media/algorithm": algorithm
"/youtubePartner:v1/Media/bigstoreObjectRef": bigstore_object_ref
"/youtubePartner:v1/Media/blobRef": blob_ref
"/youtubePartner:v1/Media/blobstore2Info": blobstore2_info
"/youtubePartner:v1/Media/compositeMedia": composite_media
"/youtubePartner:v1/Media/compositeMedia/composite_medium": composite_medium
"/youtubePartner:v1/Media/contentType": content_type
"/youtubePartner:v1/Media/contentTypeInfo": content_type_info
"/youtubePartner:v1/Media/cosmoBinaryReference": cosmo_binary_reference
"/youtubePartner:v1/Media/crc32cHash": crc32c_hash
"/youtubePartner:v1/Media/diffChecksumsResponse": diff_checksums_response
"/youtubePartner:v1/Media/diffDownloadResponse": diff_download_response
"/youtubePartner:v1/Media/diffUploadRequest": diff_upload_request
"/youtubePartner:v1/Media/diffUploadResponse": diff_upload_response
"/youtubePartner:v1/Media/diffVersionResponse": diff_version_response
"/youtubePartner:v1/Media/downloadParameters": download_parameters
"/youtubePartner:v1/Media/filename": filename
"/youtubePartner:v1/Media/hash": hash_prop
"/youtubePartner:v1/Media/hashVerified": hash_verified
"/youtubePartner:v1/Media/inline": inline
"/youtubePartner:v1/Media/isPotentialRetry": is_potential_retry
"/youtubePartner:v1/Media/length": length
"/youtubePartner:v1/Media/md5Hash": md5_hash
"/youtubePartner:v1/Media/mediaId": media_id
"/youtubePartner:v1/Media/objectId": object_id_prop
"/youtubePartner:v1/Media/path": path
"/youtubePartner:v1/Media/referenceType": reference_type
"/youtubePartner:v1/Media/sha1Hash": sha1_hash
"/youtubePartner:v1/Media/sha256Hash": sha256_hash
"/youtubePartner:v1/Media/timestamp": timestamp
"/youtubePartner:v1/Media/token": token
"/youtubePartner:v1/MediaRequestInfo": media_request_info
"/youtubePartner:v1/MediaRequestInfo/currentBytes": current_bytes
"/youtubePartner:v1/MediaRequestInfo/customData": custom_data
"/youtubePartner:v1/MediaRequestInfo/diffObjectVersion": diff_object_version
"/youtubePartner:v1/MediaRequestInfo/notificationType": notification_type
"/youtubePartner:v1/MediaRequestInfo/requestId": request_id
"/youtubePartner:v1/MediaRequestInfo/totalBytes": total_bytes
"/youtubePartner:v1/MediaRequestInfo/totalBytesIsEstimated": total_bytes_is_estimated
"/youtubePartner:v1/MediaResponseInfo": media_response_info
"/youtubePartner:v1/MediaResponseInfo/customData": custom_data
"/youtubePartner:v1/MediaResponseInfo/dataStorageTransform": data_storage_transform
"/youtubePartner:v1/MediaResponseInfo/dynamicDropTarget": dynamic_drop_target
"/youtubePartner:v1/MediaResponseInfo/dynamicDropzone": dynamic_dropzone
"/youtubePartner:v1/MediaResponseInfo/mediaForDiff": media_for_diff
"/youtubePartner:v1/MediaResponseInfo/requestClass": request_class
"/youtubePartner:v1/MediaResponseInfo/trafficClassField": traffic_class_field
"/youtubePartner:v1/MediaResponseInfo/verifyHashFromHeader": verify_hash_from_header
"/youtubePartner:v1/Metadata": metadata
"/youtubePartner:v1/Metadata/actor": actor
"/youtubePartner:v1/Metadata/actor/actor": actor
@ -147985,6 +148186,10 @@
"/youtubePartner:v1/MetadataHistoryListResponse/items": items
"/youtubePartner:v1/MetadataHistoryListResponse/items/item": item
"/youtubePartner:v1/MetadataHistoryListResponse/kind": kind
"/youtubePartner:v1/ObjectId": object_id_prop
"/youtubePartner:v1/ObjectId/bucketName": bucket_name
"/youtubePartner:v1/ObjectId/generation": generation
"/youtubePartner:v1/ObjectId/objectName": object_name
"/youtubePartner:v1/Order": order
"/youtubePartner:v1/Order/availGroupId": avail_group_id
"/youtubePartner:v1/Order/channelId": channel_id
@ -148014,6 +148219,8 @@
"/youtubePartner:v1/OrderListResponse/nextPageToken": next_page_token
"/youtubePartner:v1/OrderListResponse/pageInfo": page_info
"/youtubePartner:v1/OrderListResponse/previousPageToken": previous_page_token
"/youtubePartner:v1/Origin": origin
"/youtubePartner:v1/Origin/source": source
"/youtubePartner:v1/Origination": origination
"/youtubePartner:v1/Origination/owner": owner
"/youtubePartner:v1/Origination/source": source
@ -148101,11 +148308,14 @@
"/youtubePartner:v1/Reference/excludedIntervals": excluded_intervals
"/youtubePartner:v1/Reference/excludedIntervals/excluded_interval": excluded_interval
"/youtubePartner:v1/Reference/fpDirect": fp_direct
"/youtubePartner:v1/Reference/gdataMedia": gdata_media
"/youtubePartner:v1/Reference/hashCode": hash_code
"/youtubePartner:v1/Reference/id": id
"/youtubePartner:v1/Reference/ignoreFpMatch": ignore_fp_match
"/youtubePartner:v1/Reference/kind": kind
"/youtubePartner:v1/Reference/length": length
"/youtubePartner:v1/Reference/mediaRequestInfo": media_request_info
"/youtubePartner:v1/Reference/mediaResponseInfo": media_response_info
"/youtubePartner:v1/Reference/origination": origination
"/youtubePartner:v1/Reference/status": status
"/youtubePartner:v1/Reference/statusReason": status_reason
@ -148164,11 +148374,19 @@
"/youtubePartner:v1/Segment/finish": finish
"/youtubePartner:v1/Segment/kind": kind
"/youtubePartner:v1/Segment/start": start
"/youtubePartner:v1/Segment2": segment2
"/youtubePartner:v1/Segment2/finish": finish
"/youtubePartner:v1/Segment2/kind": kind
"/youtubePartner:v1/Segment2/start": start
"/youtubePartner:v1/ShowDetails": show_details
"/youtubePartner:v1/ShowDetails/episodeNumber": episode_number
"/youtubePartner:v1/ShowDetails/episodeTitle": episode_title
"/youtubePartner:v1/ShowDetails/seasonNumber": season_number
"/youtubePartner:v1/ShowDetails/title": title
"/youtubePartner:v1/Source": source
"/youtubePartner:v1/Source/contentOwnerId": content_owner_id
"/youtubePartner:v1/Source/type": type
"/youtubePartner:v1/Source/userEmail": user_email
"/youtubePartner:v1/SpreadsheetTemplate": spreadsheet_template
"/youtubePartner:v1/SpreadsheetTemplate/kind": kind
"/youtubePartner:v1/SpreadsheetTemplate/status": status
@ -148201,6 +148419,14 @@
"/youtubePartner:v1/TerritoryOwners/territories": territories
"/youtubePartner:v1/TerritoryOwners/territories/territory": territory
"/youtubePartner:v1/TerritoryOwners/type": type
"/youtubePartner:v1/TotalMatch": total_match
"/youtubePartner:v1/TotalMatch/referenceDurationSecs": reference_duration_secs
"/youtubePartner:v1/TotalMatch/userVideoDurationSecs": user_video_duration_secs
"/youtubePartner:v1/TypeDetails": type_details
"/youtubePartner:v1/TypeDetails/appealExplanation": appeal_explanation
"/youtubePartner:v1/TypeDetails/disputeNotes": dispute_notes
"/youtubePartner:v1/TypeDetails/disputeReason": dispute_reason
"/youtubePartner:v1/TypeDetails/updateStatus": update_status
"/youtubePartner:v1/Uploader": uploader
"/youtubePartner:v1/Uploader/kind": kind
"/youtubePartner:v1/Uploader/uploaderName": uploader_name
@ -148274,6 +148500,8 @@
"/youtubePartner:v1/WhitelistListResponse/kind": kind
"/youtubePartner:v1/WhitelistListResponse/nextPageToken": next_page_token
"/youtubePartner:v1/WhitelistListResponse/pageInfo": page_info
"/youtubePartner:v1/YoutubePartnerApiProtoFrontendV1Origin": youtube_partner_api_proto_frontend_v1_origin
"/youtubePartner:v1/YoutubePartnerApiProtoFrontendV1Origin/source": source
"/youtubePartner:v1/fields": fields
"/youtubePartner:v1/key": key
"/youtubePartner:v1/quotaUser": quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/civic-information/
module CivicinfoV2
VERSION = 'V2'
REVISION = '20200624'
REVISION = '20200706'
end
end
end

View File

@ -317,7 +317,14 @@ module Google
# @return [String]
attr_accessor :office
# If this is a partisan election, the name of the party it is for.
# If this is a partisan election, the name of the party/parties it is for.
# Corresponds to the JSON property `primaryParties`
# @return [Array<String>]
attr_accessor :primary_parties
# [DEPRECATED] If this is a partisan election, the name of the party it is for.
# This field as deprecated in favor of the array "primaryParties", as contests
# may contain more than one party.
# Corresponds to the JSON property `primaryParty`
# @return [String]
attr_accessor :primary_party
@ -425,6 +432,7 @@ module Google
@number_elected = args[:number_elected] if args.key?(:number_elected)
@number_voting_for = args[:number_voting_for] if args.key?(:number_voting_for)
@office = args[:office] if args.key?(:office)
@primary_parties = args[:primary_parties] if args.key?(:primary_parties)
@primary_party = args[:primary_party] if args.key?(:primary_party)
@referendum_ballot_responses = args[:referendum_ballot_responses] if args.key?(:referendum_ballot_responses)
@referendum_brief = args[:referendum_brief] if args.key?(:referendum_brief)

View File

@ -216,6 +216,7 @@ module Google
property :number_elected, :numeric_string => true, as: 'numberElected'
property :number_voting_for, :numeric_string => true, as: 'numberVotingFor'
property :office, as: 'office'
collection :primary_parties, as: 'primaryParties'
property :primary_party, as: 'primaryParty'
collection :referendum_ballot_responses, as: 'referendumBallotResponses'
property :referendum_brief, as: 'referendumBrief'

View File

@ -121,7 +121,7 @@ module Google
# @param [Boolean] official_only
# If set to true, only data from official state sources will be returned.
# @param [Boolean] return_all_available_data
# If set to true, the query will return the success codeand include any partial
# If set to true, the query will return the success code and include any partial
# information when it is unable to determine a matching address or unable to
# determine the election for electionId=0 queries.
# @param [String] fields

View File

@ -18,11 +18,13 @@ require 'google/apis/games_v1/representations.rb'
module Google
module Apis
# Google Play Game Services API
# Google Play Game Services
#
# The API for Google Play Game Services.
# The Google Play games service allows developers to enhance games with social
# leaderboards,
# achievements, game state, sign-in with Google, and more.
#
# @see https://developers.google.com/games/services/
# @see https://developers.google.com/games/
module GamesV1
VERSION = 'V1'
REVISION = '20200625'

File diff suppressed because it is too large Load Diff

View File

@ -82,18 +82,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AggregateStats
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnonymousPlayer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Application
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -262,36 +250,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NetworkDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ParticipantResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PeerChannelDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PeerSessionDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Played
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Player
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -388,114 +346,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PushToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PushTokenId
class Representation < Google::Apis::Core::JsonRepresentation; end
class Ios
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class CheckRevisionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Room
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomAutoMatchStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomAutoMatchingCriteria
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomClientAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JoinRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomLeaveDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LeaveRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomModification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomP2PStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomP2PStatuses
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomParticipant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ScoreSubmission
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -520,73 +376,7 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedAutoMatchingCriteria
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateTurnBasedMatchRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchDataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchModification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchParticipant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchRematch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchSync
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchTurn
class StatsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -698,26 +488,6 @@ module Google
end
end
class AggregateStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, :numeric_string => true, as: 'count'
property :kind, as: 'kind'
property :max, :numeric_string => true, as: 'max'
property :min, :numeric_string => true, as: 'min'
property :sum, :numeric_string => true, as: 'sum'
end
end
class AnonymousPlayer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :avatar_image_url, as: 'avatarImageUrl'
property :display_name, as: 'displayName'
property :kind, as: 'kind'
end
end
class Application
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1033,68 +803,6 @@ module Google
end
end
class NetworkDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_network_subtype, as: 'androidNetworkSubtype'
property :android_network_type, as: 'androidNetworkType'
property :ios_network_type, as: 'iosNetworkType'
property :kind, as: 'kind'
property :network_operator_code, as: 'networkOperatorCode'
property :network_operator_name, as: 'networkOperatorName'
property :registration_latency_millis, as: 'registrationLatencyMillis'
end
end
class ParticipantResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :placing, as: 'placing'
property :result, as: 'result'
end
end
class PeerChannelDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bytes_received, as: 'bytesReceived', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
property :bytes_sent, as: 'bytesSent', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
property :kind, as: 'kind'
property :num_messages_lost, as: 'numMessagesLost'
property :num_messages_received, as: 'numMessagesReceived'
property :num_messages_sent, as: 'numMessagesSent'
property :num_send_failures, as: 'numSendFailures'
property :roundtrip_latency_millis, as: 'roundtripLatencyMillis', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
end
end
class PeerSessionDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connected_timestamp_millis, :numeric_string => true, as: 'connectedTimestampMillis'
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :reliable_channel, as: 'reliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
property :unreliable_channel, as: 'unreliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
end
end
class Played
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :kind, as: 'kind'
property :time_millis, :numeric_string => true, as: 'timeMillis'
end
end
class Player
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1106,8 +814,6 @@ module Google
property :friend_status, as: 'friendStatus'
property :kind, as: 'kind'
property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesV1::Played, decorator: Google::Apis::GamesV1::Played::Representation
property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation
property :original_player_id, as: 'originalPlayerId'
@ -1283,34 +989,6 @@ module Google
end
end
class PushToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_revision, as: 'clientRevision'
property :id, as: 'id', class: Google::Apis::GamesV1::PushTokenId, decorator: Google::Apis::GamesV1::PushTokenId::Representation
property :kind, as: 'kind'
property :language, as: 'language'
end
end
class PushTokenId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ios, as: 'ios', class: Google::Apis::GamesV1::PushTokenId::Ios, decorator: Google::Apis::GamesV1::PushTokenId::Ios::Representation
property :kind, as: 'kind'
end
class Ios
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :apns_device_token, :base64 => true, as: 'apns_device_token'
property :apns_environment, as: 'apns_environment'
end
end
end
class CheckRevisionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1320,184 +998,6 @@ module Google
end
end
class Room
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :application_id, as: 'applicationId'
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
property :description, as: 'description'
property :inviter_id, as: 'inviterId'
property :kind, as: 'kind'
property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
property :room_id, as: 'roomId'
property :room_status_version, as: 'roomStatusVersion'
property :status, as: 'status'
property :variant, as: 'variant'
end
end
class RoomAutoMatchStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :wait_estimate_seconds, as: 'waitEstimateSeconds'
end
end
class RoomAutoMatchingCriteria
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask'
property :kind, as: 'kind'
property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
end
end
class RoomClientAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :xmpp_address, as: 'xmppAddress'
end
end
class CreateRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
collection :invited_player_ids, as: 'invitedPlayerIds'
property :kind, as: 'kind'
property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
property :request_id, :numeric_string => true, as: 'requestId'
property :variant, as: 'variant'
end
end
class JoinRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
property :kind, as: 'kind'
property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
end
end
class RoomLeaveDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_network_subtype, as: 'androidNetworkSubtype'
property :android_network_type, as: 'androidNetworkType'
property :ios_network_type, as: 'iosNetworkType'
property :kind, as: 'kind'
property :network_operator_code, as: 'networkOperatorCode'
property :network_operator_name, as: 'networkOperatorName'
collection :peer_session, as: 'peerSession', class: Google::Apis::GamesV1::PeerSessionDiagnostics, decorator: Google::Apis::GamesV1::PeerSessionDiagnostics::Representation
property :sockets_used, as: 'socketsUsed'
end
end
class LeaveRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :leave_diagnostics, as: 'leaveDiagnostics', class: Google::Apis::GamesV1::RoomLeaveDiagnostics, decorator: Google::Apis::GamesV1::RoomLeaveDiagnostics::Representation
property :reason, as: 'reason'
end
end
class RoomList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::Room, decorator: Google::Apis::GamesV1::Room::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class RoomModification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis'
property :participant_id, as: 'participantId'
end
end
class RoomP2PStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connection_setup_latency_millis, as: 'connectionSetupLatencyMillis'
property :error, as: 'error'
property :error_reason, as: 'error_reason'
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :status, as: 'status'
property :unreliable_roundtrip_latency_millis, as: 'unreliableRoundtripLatencyMillis'
end
end
class RoomP2PStatuses
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :updates, as: 'updates', class: Google::Apis::GamesV1::RoomP2PStatus, decorator: Google::Apis::GamesV1::RoomP2PStatus::Representation
end
end
class RoomParticipant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
property :connected, as: 'connected'
property :id, as: 'id'
property :kind, as: 'kind'
property :leave_reason, as: 'leaveReason'
property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
property :status, as: 'status'
end
end
class RoomStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
property :kind, as: 'kind'
collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
property :room_id, as: 'roomId'
property :status, as: 'status'
property :status_version, as: 'statusVersion'
end
end
class ScoreSubmission
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1548,155 +1048,20 @@ module Google
end
end
class TurnBasedAutoMatchingCriteria
class StatsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask'
property :avg_session_length_minutes, as: 'avg_session_length_minutes'
property :churn_probability, as: 'churn_probability'
property :days_since_last_played, as: 'days_since_last_played'
property :high_spender_probability, as: 'high_spender_probability'
property :kind, as: 'kind'
property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
end
end
class TurnBasedMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :application_id, as: 'applicationId'
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
property :description, as: 'description'
property :inviter_id, as: 'inviterId'
property :kind, as: 'kind'
property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
property :match_id, as: 'matchId'
property :match_number, as: 'matchNumber'
property :match_version, as: 'matchVersion'
collection :participants, as: 'participants', class: Google::Apis::GamesV1::TurnBasedMatchParticipant, decorator: Google::Apis::GamesV1::TurnBasedMatchParticipant::Representation
property :pending_participant_id, as: 'pendingParticipantId'
property :previous_match_data, as: 'previousMatchData', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
property :rematch_id, as: 'rematchId'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
property :status, as: 'status'
property :user_match_status, as: 'userMatchStatus'
property :variant, as: 'variant'
property :with_participant_id, as: 'withParticipantId'
end
end
class CreateTurnBasedMatchRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
collection :invited_player_ids, as: 'invitedPlayerIds'
property :kind, as: 'kind'
property :request_id, :numeric_string => true, as: 'requestId'
property :variant, as: 'variant'
end
end
class TurnBasedMatchData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, :base64 => true, as: 'data'
property :data_available, as: 'dataAvailable'
property :kind, as: 'kind'
end
end
class TurnBasedMatchDataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, :base64 => true, as: 'data'
property :kind, as: 'kind'
end
end
class TurnBasedMatchList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class TurnBasedMatchModification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis'
property :participant_id, as: 'participantId'
end
end
class TurnBasedMatchParticipant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
property :id, as: 'id'
property :kind, as: 'kind'
property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
property :status, as: 'status'
end
end
class TurnBasedMatchRematch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :previous_match, as: 'previousMatch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :rematch, as: 'rematch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
end
end
class TurnBasedMatchResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
property :kind, as: 'kind'
property :match_version, as: 'matchVersion'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
end
end
class TurnBasedMatchSync
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :kind, as: 'kind'
property :more_available, as: 'moreAvailable'
property :next_page_token, as: 'nextPageToken'
end
end
class TurnBasedMatchTurn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
property :kind, as: 'kind'
property :match_version, as: 'matchVersion'
property :pending_participant_id, as: 'pendingParticipantId'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
property :num_purchases, as: 'num_purchases'
property :num_sessions, as: 'num_sessions'
property :num_sessions_percentile, as: 'num_sessions_percentile'
property :spend_percentile, as: 'spend_percentile'
property :spend_probability, as: 'spend_probability'
property :total_spend_next_28_days, as: 'total_spend_next_28_days'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/solutions/gaming/
module GameservicesV1beta
VERSION = 'V1beta'
REVISION = '20200507'
REVISION = '20200630'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -34,7 +34,7 @@ module Google
# `
# "audit_configs": [
# `
# "service": "allServices"
# "service": "allServices",
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -43,18 +43,18 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE",
# "log_type": "DATA_WRITE"
# `,
# `
# "log_type": "ADMIN_READ",
# "log_type": "ADMIN_READ"
# `
# ]
# `,
# `
# "service": "sampleservice.googleapis.com"
# "service": "sampleservice.googleapis.com",
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
# "log_type": "DATA_READ"
# `,
# `
# "log_type": "DATA_WRITE",
@ -112,7 +112,7 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE",
# "log_type": "DATA_WRITE"
# `
# ]
# `

View File

@ -20,12 +20,13 @@ module Google
module Apis
# YouTube Content ID API
#
# API for YouTube partners. To use this API a YouTube CMS account is required.
# The YouTube Content ID API allows the management of YouTube assets along with
# their associated content, references, ownership, rights and policies.
#
# @see https://developers.google.com/youtube/partner/
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20200525'
REVISION = '20200706'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

File diff suppressed because it is too large Load Diff

View File

@ -28,12 +28,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllowedAdvertisingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Asset
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +94,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Blobstore2Info
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Campaign
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -132,48 +132,12 @@ module Google
class Claim
class Representation < Google::Apis::Core::JsonRepresentation; end
class MatchInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
class LongestMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TotalMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class Origin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ClaimEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
class Source
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TypeDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
@ -198,17 +162,11 @@ module Google
class ClaimSnippet
class Representation < Google::Apis::Core::JsonRepresentation; end
class Origin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ClaimedVideoDefaults
class CompositeMedia
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -232,13 +190,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ContentOwnerAdvertisingOption
class ContentOwnerListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ContentOwnerListResponse
class ContentTypeInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -262,7 +220,43 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DateRange
class DiffChecksumsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiffDownloadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiffUploadRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiffUploadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiffVersionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DownloadParameters
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -286,12 +280,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LongestMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MatchInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MatchSegment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Media
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaRequestInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaResponseInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -310,13 +334,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Order
class ObjectIdProp
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderListResponse
class Origin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -418,12 +442,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Requirements
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RightsOwnership
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,7 +460,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShowDetails
class Segment2
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Source
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -460,12 +484,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class StateCompleted
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StatusReport
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -490,6 +508,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TotalMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TypeDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Uploader
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -568,6 +598,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class YoutubePartnerApiProtoFrontendV1Origin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -576,16 +612,6 @@ module Google
end
end
class AllowedAdvertisingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ads_on_embeds, as: 'adsOnEmbeds'
property :kind, as: 'kind'
collection :lic_ad_formats, as: 'licAdFormats'
collection :ugc_ad_formats, as: 'ugcAdFormats'
end
end
class Asset
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -614,8 +640,7 @@ module Google
property :ownership_mine, as: 'ownershipMine', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
property :status, as: 'status'
property :time_created, as: 'timeCreated', type: DateTime
property :time_created, as: 'timeCreated'
property :type, as: 'type'
end
end
@ -719,13 +744,23 @@ module Google
property :isrc, as: 'isrc'
property :iswc, as: 'iswc'
property :kind, as: 'kind'
property :time_created, as: 'timeCreated', type: DateTime
property :time_created, as: 'timeCreated'
property :title, as: 'title'
property :type, as: 'type'
end
end
class Blobstore2Info
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :blob_generation, :numeric_string => true, as: 'blobGeneration'
property :blob_id, as: 'blobId'
property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
property :read_token, as: 'readToken'
property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
end
end
class Campaign
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -734,10 +769,8 @@ module Google
property :id, as: 'id'
property :kind, as: 'kind'
property :status, as: 'status'
property :time_created, as: 'timeCreated', type: DateTime
property :time_last_modified, as: 'timeLastModified', type: DateTime
property :time_created, as: 'timeCreated'
property :time_last_modified, as: 'timeLastModified'
end
end
@ -746,13 +779,11 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :campaign_source, as: 'campaignSource', class: Google::Apis::YoutubePartnerV1::CampaignSource, decorator: Google::Apis::YoutubePartnerV1::CampaignSource::Representation
property :expire_time, as: 'expireTime', type: DateTime
property :expire_time, as: 'expireTime'
property :name, as: 'name'
collection :promoted_content, as: 'promotedContent', class: Google::Apis::YoutubePartnerV1::PromotedContent, decorator: Google::Apis::YoutubePartnerV1::PromotedContent::Representation
property :start_time, as: 'startTime', type: DateTime
property :start_time, as: 'startTime'
end
end
@ -792,54 +823,16 @@ module Google
property :id, as: 'id'
property :is_partner_uploaded, as: 'isPartnerUploaded'
property :kind, as: 'kind'
property :match_info, as: 'matchInfo', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::Representation
property :match_info, as: 'matchInfo', class: Google::Apis::YoutubePartnerV1::MatchInfo, decorator: Google::Apis::YoutubePartnerV1::MatchInfo::Representation
property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::Claim::Origin, decorator: Google::Apis::YoutubePartnerV1::Claim::Origin::Representation
property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::Origin, decorator: Google::Apis::YoutubePartnerV1::Origin::Representation
property :policy, as: 'policy', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation
property :status, as: 'status'
property :time_created, as: 'timeCreated', type: DateTime
property :time_created, as: 'timeCreated'
property :video_id, as: 'videoId'
end
class MatchInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :longest_match, as: 'longestMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch::Representation
collection :match_segments, as: 'matchSegments', class: Google::Apis::YoutubePartnerV1::MatchSegment, decorator: Google::Apis::YoutubePartnerV1::MatchSegment::Representation
property :reference_id, as: 'referenceId'
property :total_match, as: 'totalMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch::Representation
end
class LongestMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration_secs, :numeric_string => true, as: 'durationSecs'
property :reference_offset, :numeric_string => true, as: 'referenceOffset'
property :user_video_offset, :numeric_string => true, as: 'userVideoOffset'
end
end
class TotalMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reference_duration_secs, :numeric_string => true, as: 'referenceDurationSecs'
property :user_video_duration_secs, :numeric_string => true, as: 'userVideoDurationSecs'
end
end
end
class Origin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :source, as: 'source'
end
end
end
class ClaimEvent
@ -847,33 +840,13 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :reason, as: 'reason'
property :source, as: 'source', class: Google::Apis::YoutubePartnerV1::ClaimEvent::Source, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::Source::Representation
property :time, as: 'time', type: DateTime
property :source, as: 'source', class: Google::Apis::YoutubePartnerV1::Source, decorator: Google::Apis::YoutubePartnerV1::Source::Representation
property :time, as: 'time'
property :type, as: 'type'
property :type_details, as: 'typeDetails', class: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails::Representation
property :type_details, as: 'typeDetails', class: Google::Apis::YoutubePartnerV1::TypeDetails, decorator: Google::Apis::YoutubePartnerV1::TypeDetails::Representation
end
class Source
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content_owner_id, as: 'contentOwnerId'
property :type, as: 'type'
property :user_email, as: 'userEmail'
end
end
class TypeDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :appeal_explanation, as: 'appealExplanation'
property :dispute_notes, as: 'disputeNotes'
property :dispute_reason, as: 'disputeReason'
property :update_status, as: 'updateStatus'
end
end
end
class ClaimHistory
@ -921,34 +894,34 @@ module Google
property :id, as: 'id'
property :is_partner_uploaded, as: 'isPartnerUploaded'
property :kind, as: 'kind'
property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin, decorator: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin::Representation
property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin, decorator: Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin::Representation
property :status, as: 'status'
property :third_party_claim, as: 'thirdPartyClaim'
property :time_created, as: 'timeCreated', type: DateTime
property :time_status_last_modified, as: 'timeStatusLastModified', type: DateTime
property :time_created, as: 'timeCreated'
property :time_status_last_modified, as: 'timeStatusLastModified'
property :video_id, as: 'videoId'
property :video_title, as: 'videoTitle'
property :video_views, :numeric_string => true, as: 'videoViews'
end
class Origin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :source, as: 'source'
end
end
end
class ClaimedVideoDefaults
class CompositeMedia
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_generated_breaks, as: 'autoGeneratedBreaks'
property :channel_override, as: 'channelOverride'
property :kind, as: 'kind'
collection :new_video_defaults, as: 'newVideoDefaults'
property :blob_ref, :base64 => true, as: 'blobRef'
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::YoutubePartnerV1::Blobstore2Info, decorator: Google::Apis::YoutubePartnerV1::Blobstore2Info::Representation
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
property :crc32c_hash, as: 'crc32cHash'
property :inline, :base64 => true, as: 'inline'
property :length, :numeric_string => true, as: 'length'
property :md5_hash, :base64 => true, as: 'md5Hash'
property :object_id_prop, as: 'objectId', class: Google::Apis::YoutubePartnerV1::ObjectIdProp, decorator: Google::Apis::YoutubePartnerV1::ObjectIdProp::Representation
property :path, as: 'path'
property :reference_type, as: 'referenceType'
property :sha1_hash, :base64 => true, as: 'sha1Hash'
end
end
@ -990,18 +963,6 @@ module Google
end
end
class ContentOwnerAdvertisingOption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allowed_options, as: 'allowedOptions', class: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions, decorator: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions::Representation
property :claimed_video_options, as: 'claimedVideoOptions', class: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults, decorator: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults::Representation
property :id, as: 'id'
property :kind, as: 'kind'
end
end
class ContentOwnerListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1011,6 +972,17 @@ module Google
end
end
class ContentTypeInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :best_guess, as: 'bestGuess'
property :from_bytes, as: 'fromBytes'
property :from_file_name, as: 'fromFileName'
property :from_header, as: 'fromHeader'
property :from_url_path, as: 'fromUrlPath'
end
end
class CountriesRestriction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1025,8 +997,7 @@ module Google
property :cue_type, as: 'cueType'
property :duration_secs, as: 'durationSecs'
property :offset_time_ms, :numeric_string => true, as: 'offsetTimeMs'
property :walltime, as: 'walltime', type: DateTime
property :walltime, as: 'walltime'
end
end
@ -1039,14 +1010,66 @@ module Google
end
end
class DateRange
class DiffChecksumsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end, as: 'end', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
property :checksums_location, as: 'checksumsLocation', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
property :kind, as: 'kind'
property :start, as: 'start', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
property :object_location, as: 'objectLocation', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
property :object_version, as: 'objectVersion'
end
end
class DiffDownloadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_location, as: 'objectLocation', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
end
end
class DiffUploadRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :checksums_info, as: 'checksumsInfo', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
property :object_info, as: 'objectInfo', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
property :object_version, as: 'objectVersion'
end
end
class DiffUploadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_version, as: 'objectVersion'
property :original_object, as: 'originalObject', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
end
end
class DiffVersionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
property :object_version, as: 'objectVersion'
end
end
class DownloadParameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_gzip_compression, as: 'allowGzipCompression'
property :ignore_range, as: 'ignoreRange'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
@ -1056,8 +1079,7 @@ module Google
property :high, as: 'high'
property :low, as: 'low'
property :origin, as: 'origin'
property :time_created, as: 'timeCreated', type: DateTime
property :time_created, as: 'timeCreated'
end
end
@ -1080,11 +1102,33 @@ module Google
end
end
class LongestMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration_secs, :numeric_string => true, as: 'durationSecs'
property :reference_offset, :numeric_string => true, as: 'referenceOffset'
property :user_video_offset, :numeric_string => true, as: 'userVideoOffset'
end
end
class MatchInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :longest_match, as: 'longestMatch', class: Google::Apis::YoutubePartnerV1::LongestMatch, decorator: Google::Apis::YoutubePartnerV1::LongestMatch::Representation
collection :match_segments, as: 'matchSegments', class: Google::Apis::YoutubePartnerV1::MatchSegment, decorator: Google::Apis::YoutubePartnerV1::MatchSegment::Representation
property :reference_id, as: 'referenceId'
property :total_match, as: 'totalMatch', class: Google::Apis::YoutubePartnerV1::TotalMatch, decorator: Google::Apis::YoutubePartnerV1::TotalMatch::Representation
end
end
class MatchSegment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel, as: 'channel'
property :manual_segment, as: 'manual_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation
property :manual_segment, as: 'manual_segment', class: Google::Apis::YoutubePartnerV1::Segment2, decorator: Google::Apis::YoutubePartnerV1::Segment2::Representation
property :reference_segment, as: 'reference_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation
@ -1093,6 +1137,80 @@ module Google
end
end
class Media
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :algorithm, as: 'algorithm'
property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
property :blob_ref, :base64 => true, as: 'blobRef'
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::YoutubePartnerV1::Blobstore2Info, decorator: Google::Apis::YoutubePartnerV1::Blobstore2Info::Representation
collection :composite_media, as: 'compositeMedia', class: Google::Apis::YoutubePartnerV1::CompositeMedia, decorator: Google::Apis::YoutubePartnerV1::CompositeMedia::Representation
property :content_type, as: 'contentType'
property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::YoutubePartnerV1::ContentTypeInfo, decorator: Google::Apis::YoutubePartnerV1::ContentTypeInfo::Representation
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
property :crc32c_hash, as: 'crc32cHash'
property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::YoutubePartnerV1::DiffChecksumsResponse, decorator: Google::Apis::YoutubePartnerV1::DiffChecksumsResponse::Representation
property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::YoutubePartnerV1::DiffDownloadResponse, decorator: Google::Apis::YoutubePartnerV1::DiffDownloadResponse::Representation
property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::YoutubePartnerV1::DiffUploadRequest, decorator: Google::Apis::YoutubePartnerV1::DiffUploadRequest::Representation
property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::YoutubePartnerV1::DiffUploadResponse, decorator: Google::Apis::YoutubePartnerV1::DiffUploadResponse::Representation
property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::YoutubePartnerV1::DiffVersionResponse, decorator: Google::Apis::YoutubePartnerV1::DiffVersionResponse::Representation
property :download_parameters, as: 'downloadParameters', class: Google::Apis::YoutubePartnerV1::DownloadParameters, decorator: Google::Apis::YoutubePartnerV1::DownloadParameters::Representation
property :filename, as: 'filename'
property :hash_prop, as: 'hash'
property :hash_verified, as: 'hashVerified'
property :inline, :base64 => true, as: 'inline'
property :is_potential_retry, as: 'isPotentialRetry'
property :length, :numeric_string => true, as: 'length'
property :md5_hash, :base64 => true, as: 'md5Hash'
property :media_id, :base64 => true, as: 'mediaId'
property :object_id_prop, as: 'objectId', class: Google::Apis::YoutubePartnerV1::ObjectIdProp, decorator: Google::Apis::YoutubePartnerV1::ObjectIdProp::Representation
property :path, as: 'path'
property :reference_type, as: 'referenceType'
property :sha1_hash, :base64 => true, as: 'sha1Hash'
property :sha256_hash, :base64 => true, as: 'sha256Hash'
property :timestamp, :numeric_string => true, as: 'timestamp'
property :token, as: 'token'
end
end
class MediaRequestInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :current_bytes, :numeric_string => true, as: 'currentBytes'
property :custom_data, as: 'customData'
property :diff_object_version, as: 'diffObjectVersion'
property :notification_type, as: 'notificationType'
property :request_id, as: 'requestId'
property :total_bytes, :numeric_string => true, as: 'totalBytes'
property :total_bytes_is_estimated, as: 'totalBytesIsEstimated'
end
end
class MediaResponseInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_data, as: 'customData'
property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
property :dynamic_dropzone, as: 'dynamicDropzone'
property :media_for_diff, as: 'mediaForDiff', class: Google::Apis::YoutubePartnerV1::Media, decorator: Google::Apis::YoutubePartnerV1::Media::Representation
property :request_class, as: 'requestClass'
property :traffic_class_field, as: 'trafficClassField'
property :verify_hash_from_header, as: 'verifyHashFromHeader'
end
end
class Metadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1149,8 +1267,7 @@ module Google
property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation
property :time_provided, as: 'timeProvided', type: DateTime
property :time_provided, as: 'timeProvided'
end
end
@ -1163,49 +1280,19 @@ module Google
end
end
class Order
class ObjectIdProp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :avail_group_id, as: 'availGroupId'
property :channel_id, as: 'channelId'
property :content_type, as: 'contentType'
property :country, as: 'country'
property :custom_id, as: 'customId'
property :dvd_release_date, as: 'dvdReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
property :est_dates, as: 'estDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation
collection :events, as: 'events', class: Google::Apis::YoutubePartnerV1::StateCompleted, decorator: Google::Apis::YoutubePartnerV1::StateCompleted::Representation
property :id, as: 'id'
property :kind, as: 'kind'
property :movie, as: 'movie'
property :original_release_date, as: 'originalReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
property :priority, as: 'priority'
property :production_house, as: 'productionHouse'
property :purchase_order, as: 'purchaseOrder'
property :requirements, as: 'requirements', class: Google::Apis::YoutubePartnerV1::Requirements, decorator: Google::Apis::YoutubePartnerV1::Requirements::Representation
property :show, as: 'show', class: Google::Apis::YoutubePartnerV1::ShowDetails, decorator: Google::Apis::YoutubePartnerV1::ShowDetails::Representation
property :status, as: 'status'
property :video_id, as: 'videoId'
property :vod_dates, as: 'vodDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation
property :bucket_name, as: 'bucketName'
property :generation, :numeric_string => true, as: 'generation'
property :object_name, as: 'objectName'
end
end
class OrderListResponse
class Origin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Order, decorator: Google::Apis::YoutubePartnerV1::Order::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
property :previous_page_token, as: 'previousPageToken'
property :source, as: 'source'
end
end
@ -1253,8 +1340,7 @@ module Google
property :status, as: 'status'
collection :status_reports, as: 'statusReports', class: Google::Apis::YoutubePartnerV1::StatusReport, decorator: Google::Apis::YoutubePartnerV1::StatusReport::Representation
property :time_created, as: 'timeCreated', type: DateTime
property :time_created, as: 'timeCreated'
property :type, as: 'type'
property :uploader_name, as: 'uploaderName'
end
@ -1290,8 +1376,7 @@ module Google
property :name, as: 'name'
collection :rules, as: 'rules', class: Google::Apis::YoutubePartnerV1::PolicyRule, decorator: Google::Apis::YoutubePartnerV1::PolicyRule::Representation
property :time_updated, as: 'timeUpdated', type: DateTime
property :time_updated, as: 'timeUpdated'
end
end
@ -1341,11 +1426,17 @@ module Google
collection :excluded_intervals, as: 'excludedIntervals', class: Google::Apis::YoutubePartnerV1::ExcludedInterval, decorator: Google::Apis::YoutubePartnerV1::ExcludedInterval::Representation
property :fp_direct, as: 'fpDirect'
property :gdata_media, as: 'gdataMedia', class: Google::Apis::YoutubePartnerV1::Media, decorator: Google::Apis::YoutubePartnerV1::Media::Representation
property :hash_code, as: 'hashCode'
property :id, as: 'id'
property :ignore_fp_match, as: 'ignoreFpMatch'
property :kind, as: 'kind'
property :length, as: 'length'
property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::YoutubePartnerV1::MediaRequestInfo, decorator: Google::Apis::YoutubePartnerV1::MediaRequestInfo::Representation
property :media_response_info, as: 'mediaResponseInfo', class: Google::Apis::YoutubePartnerV1::MediaResponseInfo, decorator: Google::Apis::YoutubePartnerV1::MediaResponseInfo::Representation
property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation
property :status, as: 'status'
@ -1359,8 +1450,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :conflicting_reference_id, as: 'conflictingReferenceId'
property :expiry_time, as: 'expiryTime', type: DateTime
property :expiry_time, as: 'expiryTime'
property :id, as: 'id'
property :kind, as: 'kind'
collection :matches, as: 'matches', class: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch, decorator: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch::Representation
@ -1404,18 +1494,6 @@ module Google
end
end
class Requirements
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :caption, as: 'caption'
property :hd_transcode, as: 'hdTranscode'
property :poster_art, as: 'posterArt'
property :spotlight_art, as: 'spotlightArt'
property :spotlight_review, as: 'spotlightReview'
property :trailer, as: 'trailer'
end
end
class RightsOwnership
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1439,8 +1517,7 @@ module Google
property :ownership, as: 'ownership', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
property :time_provided, as: 'timeProvided', type: DateTime
property :time_provided, as: 'timeProvided'
end
end
@ -1448,19 +1525,26 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, :numeric_string => true, as: 'duration'
property :kind, as: 'kind'
property :start, :numeric_string => true, as: 'start'
end
end
class Segment2
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :finish, as: 'finish'
property :kind, as: 'kind'
property :start, as: 'start'
end
end
class ShowDetails
class Source
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :episode_number, as: 'episodeNumber'
property :episode_title, as: 'episodeTitle'
property :season_number, as: 'seasonNumber'
property :title, as: 'title'
property :content_owner_id, as: 'contentOwnerId'
property :type, as: 'type'
property :user_email, as: 'userEmail'
end
end
@ -1485,14 +1569,6 @@ module Google
end
end
class StateCompleted
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :state, as: 'state'
property :time_completed, :numeric_string => true, as: 'timeCompleted'
end
end
class StatusReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1529,6 +1605,24 @@ module Google
end
end
class TotalMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reference_duration_secs, :numeric_string => true, as: 'referenceDurationSecs'
property :user_video_duration_secs, :numeric_string => true, as: 'userVideoDurationSecs'
end
end
class TypeDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :appeal_explanation, as: 'appealExplanation'
property :dispute_notes, as: 'disputeNotes'
property :dispute_reason, as: 'disputeReason'
property :update_status, as: 'updateStatus'
end
end
class Uploader
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1665,6 +1759,13 @@ module Google
end
end
class YoutubePartnerApiProtoFrontendV1Origin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :source, as: 'source'
end
end
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/
module YoutubeV3
VERSION = 'V3'
REVISION = '20200618'
REVISION = '20200706'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -22,6 +22,62 @@ module Google
module Apis
module YoutubeV3
#
class AbuseReport
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `abuseTypes`
# @return [Array<Google::Apis::YoutubeV3::AbuseType>]
attr_accessor :abuse_types
#
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
#
# Corresponds to the JSON property `relatedEntities`
# @return [Array<Google::Apis::YoutubeV3::RelatedEntity>]
attr_accessor :related_entities
#
# Corresponds to the JSON property `subject`
# @return [Google::Apis::YoutubeV3::Entity]
attr_accessor :subject
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@abuse_types = args[:abuse_types] if args.key?(:abuse_types)
@description = args[:description] if args.key?(:description)
@related_entities = args[:related_entities] if args.key?(:related_entities)
@subject = args[:subject] if args.key?(:subject)
end
end
#
class AbuseType
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
end
end
# Rights management policy for YouTube resources.
class AccessPolicy
include Google::Apis::Core::Hashable
@ -1101,6 +1157,33 @@ module Google
end
end
#
class ChannelCard
include Google::Apis::Core::Hashable
# External channel ID.
# Required.
# Corresponds to the JSON property `channelId`
# @return [String]
attr_accessor :channel_id
# Each card can have a custom message.
# Required.
# Corresponds to the JSON property `customMessage`
# @return [String]
attr_accessor :custom_message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@channel_id = args[:channel_id] if args.key?(:channel_id)
@custom_message = args[:custom_message] if args.key?(:custom_message)
end
end
# Details about the content of a channel.
class ChannelContentDetails
include Google::Apis::Core::Hashable
@ -1894,6 +1977,32 @@ module Google
end
end
# Information specific to a store on a merchandising platform linked to a
# YouTube channel.
class ChannelToStoreLinkDetails
include Google::Apis::Core::Hashable
# Name of the store.
# Corresponds to the JSON property `storeName`
# @return [String]
attr_accessor :store_name
# Landing page of the store.
# Corresponds to the JSON property `storeUrl`
# @return [String]
attr_accessor :store_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@store_name = args[:store_name] if args.key?(:store_name)
@store_url = args[:store_url] if args.key?(:store_url)
end
end
# Freebase topic information related to the channel.
class ChannelTopicDetails
include Google::Apis::Core::Hashable
@ -2842,6 +2951,37 @@ module Google
end
end
#
class Entity
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
#
# Corresponds to the JSON property `typeId`
# @return [String]
attr_accessor :type_id
#
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@type_id = args[:type_id] if args.key?(:type_id)
@url = args[:url] if args.key?(:url)
end
end
# Geographical coordinates of a point, in WGS84.
class GeoPoint
include Google::Apis::Core::Hashable
@ -3392,6 +3532,166 @@ module Google
end
end
#
class InfoCard
include Google::Apis::Core::Hashable
# Etag of this resource.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# UUID for this infocard.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Identifies what kind of resource this is.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The snippet object contains basic details about the infocard.
# Corresponds to the JSON property `snippet`
# @return [Google::Apis::YoutubeV3::InfoCardSnippet]
attr_accessor :snippet
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@snippet = args[:snippet] if args.key?(:snippet)
end
end
#
class InfoCardSnippet
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `channelInfocard`
# @return [Google::Apis::YoutubeV3::ChannelCard]
attr_accessor :channel_infocard
#
# Corresponds to the JSON property `linkInfocard`
# @return [Google::Apis::YoutubeV3::LinkCard]
attr_accessor :link_infocard
#
# Corresponds to the JSON property `playlistInfocard`
# @return [Google::Apis::YoutubeV3::PlaylistCard]
attr_accessor :playlist_infocard
# Each card can have a teaser.
# Required.
# Corresponds to the JSON property `teaser`
# @return [Google::Apis::YoutubeV3::InfoCardSnippetTeaser]
attr_accessor :teaser
#
# Corresponds to the JSON property `videoInfocard`
# @return [Google::Apis::YoutubeV3::VideoCard]
attr_accessor :video_infocard
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@channel_infocard = args[:channel_infocard] if args.key?(:channel_infocard)
@link_infocard = args[:link_infocard] if args.key?(:link_infocard)
@playlist_infocard = args[:playlist_infocard] if args.key?(:playlist_infocard)
@teaser = args[:teaser] if args.key?(:teaser)
@video_infocard = args[:video_infocard] if args.key?(:video_infocard)
end
end
#
class InfoCardSnippetTeaser
include Google::Apis::Core::Hashable
# The offset from the video start at which the teaser should be displayed
# (activated), in milliseconds.
# Required.
# Corresponds to the JSON property `teaserStartOffset`
# @return [String]
attr_accessor :teaser_start_offset
# The teaser text to show at the top of the player for the info-card.
# Required for channel and link type cards.
# Optional for video and playlist type cards.
# Corresponds to the JSON property `teaserText`
# @return [String]
attr_accessor :teaser_text
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@teaser_start_offset = args[:teaser_start_offset] if args.key?(:teaser_start_offset)
@teaser_text = args[:teaser_text] if args.key?(:teaser_text)
end
end
#
class InfoCards
include Google::Apis::Core::Hashable
# A list of infocards.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::YoutubeV3::InfoCard>]
attr_accessor :items
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
end
end
#
class InfocardListResponse
include Google::Apis::Core::Hashable
# Etag of this resource.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# A list of infocards.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::YoutubeV3::InfoCard>]
attr_accessor :items
# Identifies what kind of resource this is.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
end
end
# Describes information necessary for ingesting an RTMP or an HTTP stream.
class IngestionInfo
include Google::Apis::Core::Hashable
@ -3639,6 +3939,77 @@ module Google
end
end
#
class LinkCard
include Google::Apis::Core::Hashable
# Custom text to show as the website link.
# Required.
# Corresponds to the JSON property `customLinkText`
# @return [String]
attr_accessor :custom_link_text
# URL to an externally hosted image.
# Corresponds to the JSON property `externalImageUrl`
# @return [String]
attr_accessor :external_image_url
# The URL to which this card points.
# Required.
# Corresponds to the JSON property `targetUrl`
# @return [String]
attr_accessor :target_url
# The title to show on the card.
# Required.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
# Previously uploaded image.
# Corresponds to the JSON property `uploadedImage`
# @return [Google::Apis::YoutubeV3::LinkCardUploadedImage]
attr_accessor :uploaded_image
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@custom_link_text = args[:custom_link_text] if args.key?(:custom_link_text)
@external_image_url = args[:external_image_url] if args.key?(:external_image_url)
@target_url = args[:target_url] if args.key?(:target_url)
@title = args[:title] if args.key?(:title)
@uploaded_image = args[:uploaded_image] if args.key?(:uploaded_image)
end
end
#
class LinkCardUploadedImage
include Google::Apis::Core::Hashable
# Image reference on the thumbnail service.
# Corresponds to the JSON property `imageFile`
# @return [String]
attr_accessor :image_file
# The version in the thumbnail service.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@image_file = args[:image_file] if args.key?(:image_file)
@version = args[:version] if args.key?(:version)
end
end
# A <code><strong>liveBroadcast</strong></code> resource represents an event
# that will be streamed, via live video, on YouTube.
class LiveBroadcast
@ -5729,6 +6100,40 @@ module Google
end
end
#
class PlaylistCard
include Google::Apis::Core::Hashable
# Each card can have a custom message.
# Optional.
# Corresponds to the JSON property `customMessage`
# @return [String]
attr_accessor :custom_message
# External playlist ID.
# Required.
# Corresponds to the JSON property `playlistId`
# @return [String]
attr_accessor :playlist_id
# Starting video, if not the first.
# Optional.
# Corresponds to the JSON property `startVideoId`
# @return [String]
attr_accessor :start_video_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@custom_message = args[:custom_message] if args.key?(:custom_message)
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
@start_video_id = args[:start_video_id] if args.key?(:start_video_id)
end
end
#
class PlaylistContentDetails
include Google::Apis::Core::Hashable
@ -6365,6 +6770,25 @@ module Google
end
end
#
class RelatedEntity
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `entity`
# @return [Google::Apis::YoutubeV3::Entity]
attr_accessor :entity
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entity = args[:entity] if args.key?(:entity)
end
end
# A resource id is a generic reference that points to another YouTube resource.
class ResourceId
include Google::Apis::Core::Hashable
@ -7238,6 +7662,102 @@ module Google
end
end
# A <code><strong>third party account link</strong></code> resource represents
# a link between a YouTube account or a channel and an account on a
# third-party service.
class ThirdPartyLink
include Google::Apis::Core::Hashable
# Etag of this resource
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# Identifies what kind of resource this is. Value: the fixed string
# <code>"youtube#thirdPartyLink"</code>.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The <code>linking_token</code> identifies a YouTube account and
# channel with which the third party account is linked.
# Corresponds to the JSON property `linkingToken`
# @return [String]
attr_accessor :linking_token
# Basic information about a third party account link, including its type and
# type-specific information.
# Corresponds to the JSON property `snippet`
# @return [Google::Apis::YoutubeV3::ThirdPartyLinkSnippet]
attr_accessor :snippet
# The <code>third-party link status</code> object contains information about
# the status of the link.
# Corresponds to the JSON property `status`
# @return [Google::Apis::YoutubeV3::ThirdPartyLinkStatus]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@etag = args[:etag] if args.key?(:etag)
@kind = args[:kind] if args.key?(:kind)
@linking_token = args[:linking_token] if args.key?(:linking_token)
@snippet = args[:snippet] if args.key?(:snippet)
@status = args[:status] if args.key?(:status)
end
end
# Basic information about a third party account link, including its type and
# type-specific information.
class ThirdPartyLinkSnippet
include Google::Apis::Core::Hashable
# Information specific to a store on a merchandising platform linked to a
# YouTube channel.
# Corresponds to the JSON property `channelToStoreLink`
# @return [Google::Apis::YoutubeV3::ChannelToStoreLinkDetails]
attr_accessor :channel_to_store_link
# Type of the link named after the entities that are being linked.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@channel_to_store_link = args[:channel_to_store_link] if args.key?(:channel_to_store_link)
@type = args[:type] if args.key?(:type)
end
end
# The <code>third-party link status</code> object contains information about
# the status of the link.
class ThirdPartyLinkStatus
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `linkStatus`
# @return [String]
attr_accessor :link_status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@link_status = args[:link_status] if args.key?(:link_status)
end
end
# A thumbnail is an image representing a YouTube resource.
class Thumbnail
include Google::Apis::Core::Hashable
@ -7719,6 +8239,40 @@ module Google
end
end
#
class VideoCard
include Google::Apis::Core::Hashable
# Each card can have a custom message.
# Optional.
# Corresponds to the JSON property `customMessage`
# @return [String]
attr_accessor :custom_message
# Playback start time offset in milliseconds.
# Optional.
# Corresponds to the JSON property `playbackStartOffset`
# @return [String]
attr_accessor :playback_start_offset
# Encrypted Video ID.
# Required.
# Corresponds to the JSON property `videoId`
# @return [String]
attr_accessor :video_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@custom_message = args[:custom_message] if args.key?(:custom_message)
@playback_start_offset = args[:playback_start_offset] if args.key?(:playback_start_offset)
@video_id = args[:video_id] if args.key?(:video_id)
end
end
# A <code><strong>videoCategory</strong></code> resource identifies a
# category that has been or could be associated with uploaded videos.
class VideoCategory

View File

@ -22,6 +22,18 @@ module Google
module Apis
module YoutubeV3
class AbuseReport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AbuseType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccessPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -166,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ChannelCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChannelContentDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -274,6 +292,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ChannelToStoreLinkDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChannelTopicDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -334,6 +358,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Entity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GeoPoint
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -400,6 +430,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InfoCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InfoCardSnippet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InfoCardSnippetTeaser
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InfoCards
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InfocardListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IngestionInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,6 +502,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LinkCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LinkCardUploadedImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LiveBroadcast
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -700,6 +772,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PlaylistCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PlaylistContentDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -784,6 +862,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RelatedEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceId
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -892,6 +976,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ThirdPartyLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ThirdPartyLinkSnippet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ThirdPartyLinkStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Thumbnail
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -958,6 +1060,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VideoCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VideoCategory
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1114,6 +1222,26 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AbuseReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :abuse_types, as: 'abuseTypes', class: Google::Apis::YoutubeV3::AbuseType, decorator: Google::Apis::YoutubeV3::AbuseType::Representation
property :description, as: 'description'
collection :related_entities, as: 'relatedEntities', class: Google::Apis::YoutubeV3::RelatedEntity, decorator: Google::Apis::YoutubeV3::RelatedEntity::Representation
property :subject, as: 'subject', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
end
end
class AbuseType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
end
end
class AccessPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1417,6 +1545,14 @@ module Google
end
end
class ChannelCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel_id, as: 'channelId'
property :custom_message, as: 'customMessage'
end
end
class ChannelContentDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1621,6 +1757,14 @@ module Google
end
end
class ChannelToStoreLinkDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :store_name, as: 'storeName'
property :store_url, as: 'storeUrl'
end
end
class ChannelTopicDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1814,6 +1958,15 @@ module Google
end
end
class Entity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :type_id, as: 'typeId'
property :url, as: 'url'
end
end
class GeoPoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1955,6 +2108,59 @@ module Google
end
end
class InfoCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :id, as: 'id'
property :kind, as: 'kind'
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::InfoCardSnippet, decorator: Google::Apis::YoutubeV3::InfoCardSnippet::Representation
end
end
class InfoCardSnippet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel_infocard, as: 'channelInfocard', class: Google::Apis::YoutubeV3::ChannelCard, decorator: Google::Apis::YoutubeV3::ChannelCard::Representation
property :link_infocard, as: 'linkInfocard', class: Google::Apis::YoutubeV3::LinkCard, decorator: Google::Apis::YoutubeV3::LinkCard::Representation
property :playlist_infocard, as: 'playlistInfocard', class: Google::Apis::YoutubeV3::PlaylistCard, decorator: Google::Apis::YoutubeV3::PlaylistCard::Representation
property :teaser, as: 'teaser', class: Google::Apis::YoutubeV3::InfoCardSnippetTeaser, decorator: Google::Apis::YoutubeV3::InfoCardSnippetTeaser::Representation
property :video_infocard, as: 'videoInfocard', class: Google::Apis::YoutubeV3::VideoCard, decorator: Google::Apis::YoutubeV3::VideoCard::Representation
end
end
class InfoCardSnippetTeaser
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :teaser_start_offset, as: 'teaserStartOffset'
property :teaser_text, as: 'teaserText'
end
end
class InfoCards
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
end
end
class InfocardListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
property :kind, as: 'kind'
end
end
class IngestionInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2023,6 +2229,26 @@ module Google
end
end
class LinkCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_link_text, as: 'customLinkText'
property :external_image_url, as: 'externalImageUrl'
property :target_url, as: 'targetUrl'
property :title, as: 'title'
property :uploaded_image, as: 'uploadedImage', class: Google::Apis::YoutubeV3::LinkCardUploadedImage, decorator: Google::Apis::YoutubeV3::LinkCardUploadedImage::Representation
end
end
class LinkCardUploadedImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_file, as: 'imageFile'
property :version, :numeric_string => true, as: 'version'
end
end
class LiveBroadcast
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2552,6 +2778,15 @@ module Google
end
end
class PlaylistCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_message, as: 'customMessage'
property :playlist_id, as: 'playlistId'
property :start_video_id, as: 'startVideoId'
end
end
class PlaylistContentDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2714,6 +2949,14 @@ module Google
end
end
class RelatedEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :entity, as: 'entity', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
end
end
class ResourceId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2945,6 +3188,35 @@ module Google
end
end
class ThirdPartyLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
property :linking_token, as: 'linkingToken'
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet::Representation
property :status, as: 'status', class: Google::Apis::YoutubeV3::ThirdPartyLinkStatus, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkStatus::Representation
end
end
class ThirdPartyLinkSnippet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel_to_store_link, as: 'channelToStoreLink', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails::Representation
property :type, as: 'type'
end
end
class ThirdPartyLinkStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :link_status, as: 'linkStatus'
end
end
class Thumbnail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3087,6 +3359,15 @@ module Google
end
end
class VideoCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_message, as: 'customMessage'
property :playback_start_offset, as: 'playbackStartOffset'
property :video_id, as: 'videoId'
end
end
class VideoCategory
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,6 +48,41 @@ module Google
@batch_path = 'batch/youtube'
end
# Inserts a new resource into this collection.
# @param [Array<String>, String] part
# The <code><strong>part</strong></code> parameter serves two purposes in
# this operation. It identifies the properties that the write operation will
# set as well as the properties that the API response will include.
# @param [Google::Apis::YoutubeV3::AbuseReport] abuse_report_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::AbuseReport] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::AbuseReport]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_abuse_report(part, abuse_report_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'youtube/v3/abuseReports', options)
command.request_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
command.request_object = abuse_report_object
command.response_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
command.response_class = Google::Apis::YoutubeV3::AbuseReport
command.query['part'] = part unless part.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of resources, possibly filtered.
# @param [Array<String>, String] part
# The <code><strong>part</strong></code> parameter specifies a
@ -3414,6 +3449,153 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a resource.
# @param [String] linking_token
# Delete the partner links with the given linking token.
# @param [String] type
# Type of the link to be deleted.
# @param [Array<String>, String] part
# Do not use. Required for compatibility.
# @param [String] resource_id
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_third_party_link(linking_token, type, part: nil, resource_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
command.query['linkingToken'] = linking_token unless linking_token.nil?
command.query['part'] = part unless part.nil?
command.query['resourceId'] = resource_id unless resource_id.nil?
command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Inserts a new resource into this collection.
# @param [Array<String>, String] part
# The <code><strong>part</strong></code> parameter specifies the
# <code>thirdPartyLink</code> resource parts that the API request and
# response will include. Supported values are <code>linkingToken</code>,
# <code>status</code>, and <code>snippet</code>.
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
command.request_object = third_party_link_object
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
command.query['part'] = part unless part.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of resources, possibly filtered.
# @param [Array<String>, String] part
# The <code><strong>part</strong></code> parameter specifies the
# <code>thirdPartyLink</code> resource parts that the API response will
# include. Supported values are <code>linkingToken</code>,
# <code>status</code>, and <code>snippet</code>.
# @param [String] linking_token
# Get a third party link with the given linking token.
# @param [String] type
# Get a third party link of the given type.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_third_party_links(part, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
command.query['linkingToken'] = linking_token unless linking_token.nil?
command.query['part'] = part unless part.nil?
command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates an existing resource.
# @param [Array<String>, String] part
# The <code><strong>part</strong></code> parameter specifies the
# <code>thirdPartyLink</code> resource parts that the API request and
# response will include. Supported values are <code>linkingToken</code>,
# <code>status</code>, and <code>snippet</code>.
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
command.request_object = third_party_link_object
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
command.query['part'] = part unless part.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# As this is not an insert in a strict sense (it supports uploading/setting
# of a thumbnail for multiple videos, which doesn't result in creation of a
# single resource), I use a custom verb here.
@ -4059,6 +4241,85 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates infocards for a given video.
# Note:
# * If the card id is not provided, a new card will be created.
# * If the card id is provided, that card will be updated.
# * Existing cards will be discarded if they're not included in the request.
# @param [Array<String>, String] part
# The properties to update.
# @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
# @param [String] on_behalf_of_content_owner
# Content owner of the video.
# @param [String] video_id
# Encrypted id of the video.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::InfoCards]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'youtube/v3/infocards', options)
command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
command.request_object = info_cards_object
command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
command.response_class = Google::Apis::YoutubeV3::InfoCards
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
command.query['part'] = part unless part.nil?
command.query['videoId'] = video_id unless video_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves all infocards for a given video.
# @param [Array<String>, String] part
# The properties to return.
# @param [String] on_behalf_of_content_owner
# Content owner of the video.
# @param [String] video_id
# Encrypted id of the video.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubeV3::InfocardListResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/v3/infocards', options)
command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
command.query['part'] = part unless part.nil?
command.query['videoId'] = video_id unless video_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# POST method.
# @param [Google::Apis::YoutubeV3::TestItem] test_item_object
# @param [Array<String>, String] part