diff --git a/api_names.yaml b/api_names.yaml index 512d60f09..b47b329b2 100644 --- a/api_names.yaml +++ b/api_names.yaml @@ -6,6 +6,8 @@ "/adexchangebuyer:v1.4/PerformanceReport/latency85thPercentile": latency_85th_percentile "/adexchangebuyer:v1.4/PerformanceReport/latency95thPercentile": latency_95th_percentile "/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list": list_account_ad_clients +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete": proposal_setup_complete +"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list": list_pub_profiles "/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get": get_account_custom_channel "/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list": list_account_custom_channels "/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list": list_account_metadata_dimensions @@ -380,6 +382,8 @@ "/compute:beta/compute.projects.moveDisk": move_disk "/compute:beta/compute.projects.moveInstance": move_instance "/compute:beta/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata +"/compute:beta/compute.routers.getRouterStatus": get_router_status +"/compute:beta/compute.routers.aggregatedList": list_aggregated_routers "/compute:beta/compute.subnetworks.aggregatedList": list_aggregated_subnetworks "/compute:beta/compute.projects.setUsageExportBucket": set_usage_export_bucket "/compute:beta/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map @@ -601,6 +605,18 @@ "/coordinate:v1/LocationListResponse": list_location_response "/coordinate:v1/TeamListResponse": list_team_response "/coordinate:v1/WorkerListResponse": list_worker_response +"/dataproc:v1/dataproc.projects.regions.clusters.create": create_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.patch": patch_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.delete": delete_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.get": get_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.list": list_clusters +"/dataproc:v1/dataproc.projects.regions.jobs.get": get_job +"/dataproc:v1/dataproc.projects.regions.jobs.list": list_jobs +"/dataproc:v1/dataproc.projects.regions.jobs.delete": delete_job +"/dataproc:v1/dataproc.projects.regions.operations.get": get_operation +"/dataproc:v1/dataproc.projects.regions.operations.list": list_operations +"/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation +"/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request @@ -869,6 +885,9 @@ "/identitytoolkit:v3/identitytoolkit.relyingparty.uploadAccount": upload_account "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig": get_project_config +"/identitytoolkit:v3/identitytoolkit.relyingparty.signupNewUser": signup_new_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest": signup_new_user_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request "/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user diff --git a/api_names_out.yaml b/api_names_out.yaml index 3c8bbe9a9..5c1bd6105 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6,6 +6,8 @@ "/adexchangebuyer:v1.4/PerformanceReport/latency85thPercentile": latency_85th_percentile "/adexchangebuyer:v1.4/PerformanceReport/latency95thPercentile": latency_95th_percentile "/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list": list_account_ad_clients +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete": proposal_setup_complete +"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list": list_pub_profiles "/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get": get_account_custom_channel "/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list": list_account_custom_channels "/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list": list_account_metadata_dimensions @@ -380,6 +382,8 @@ "/compute:beta/compute.projects.moveDisk": move_disk "/compute:beta/compute.projects.moveInstance": move_instance "/compute:beta/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata +"/compute:beta/compute.routers.getRouterStatus": get_router_status +"/compute:beta/compute.routers.aggregatedList": list_aggregated_routers "/compute:beta/compute.subnetworks.aggregatedList": list_aggregated_subnetworks "/compute:beta/compute.projects.setUsageExportBucket": set_usage_export_bucket "/compute:beta/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map @@ -582,6 +586,18 @@ "/coordinate:v1/LocationListResponse": list_location_response "/coordinate:v1/TeamListResponse": list_team_response "/coordinate:v1/WorkerListResponse": list_worker_response +"/dataproc:v1/dataproc.projects.regions.clusters.create": create_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.patch": patch_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.delete": delete_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.get": get_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.list": list_clusters +"/dataproc:v1/dataproc.projects.regions.jobs.get": get_job +"/dataproc:v1/dataproc.projects.regions.jobs.list": list_jobs +"/dataproc:v1/dataproc.projects.regions.jobs.delete": delete_job +"/dataproc:v1/dataproc.projects.regions.operations.get": get_operation +"/dataproc:v1/dataproc.projects.regions.operations.list": list_operations +"/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation +"/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request @@ -845,6 +861,9 @@ "/identitytoolkit:v3/identitytoolkit.relyingparty.uploadAccount": upload_account "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig": get_project_config +"/identitytoolkit:v3/identitytoolkit.relyingparty.signupNewUser": signup_new_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest": signup_new_user_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request "/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user @@ -1563,6 +1582,40 @@ "/compute:beta/compute.regions.list/orderBy": order_by "/compute:beta/compute.regions.list/pageToken": page_token "/compute:beta/compute.regions.list/project": project +"/compute:beta/compute.routers.aggregatedList/filter": filter +"/compute:beta/compute.routers.aggregatedList/maxResults": max_results +"/compute:beta/compute.routers.aggregatedList/orderBy": order_by +"/compute:beta/compute.routers.aggregatedList/pageToken": page_token +"/compute:beta/compute.routers.aggregatedList/project": project +"/compute:beta/compute.routers.delete": delete_router +"/compute:beta/compute.routers.delete/project": project +"/compute:beta/compute.routers.delete/region": region +"/compute:beta/compute.routers.delete/router": router +"/compute:beta/compute.routers.get": get_router +"/compute:beta/compute.routers.get/project": project +"/compute:beta/compute.routers.get/region": region +"/compute:beta/compute.routers.get/router": router +"/compute:beta/compute.routers.getRouterStatus/project": project +"/compute:beta/compute.routers.getRouterStatus/region": region +"/compute:beta/compute.routers.getRouterStatus/router": router +"/compute:beta/compute.routers.insert": insert_router +"/compute:beta/compute.routers.insert/project": project +"/compute:beta/compute.routers.insert/region": region +"/compute:beta/compute.routers.list": list_routers +"/compute:beta/compute.routers.list/filter": filter +"/compute:beta/compute.routers.list/maxResults": max_results +"/compute:beta/compute.routers.list/orderBy": order_by +"/compute:beta/compute.routers.list/pageToken": page_token +"/compute:beta/compute.routers.list/project": project +"/compute:beta/compute.routers.list/region": region +"/compute:beta/compute.routers.patch": patch_router +"/compute:beta/compute.routers.patch/project": project +"/compute:beta/compute.routers.patch/region": region +"/compute:beta/compute.routers.patch/router": router +"/compute:beta/compute.routers.update": update_router +"/compute:beta/compute.routers.update/project": project +"/compute:beta/compute.routers.update/region": region +"/compute:beta/compute.routers.update/router": router "/compute:beta/compute.routes.delete": delete_route "/compute:beta/compute.routes.delete/project": project "/compute:beta/compute.routes.delete/route": route @@ -2661,6 +2714,77 @@ "/compute:beta/RouteList/kind": kind "/compute:beta/RouteList/nextPageToken": next_page_token "/compute:beta/RouteList/selfLink": self_link +"/compute:beta/Router": router +"/compute:beta/Router/bgp": bgp +"/compute:beta/Router/bgpPeers": bgp_peers +"/compute:beta/Router/bgpPeers/bgp_peer": bgp_peer +"/compute:beta/Router/creationTimestamp": creation_timestamp +"/compute:beta/Router/description": description +"/compute:beta/Router/id": id +"/compute:beta/Router/interfaces": interfaces +"/compute:beta/Router/interfaces/interface": interface +"/compute:beta/Router/kind": kind +"/compute:beta/Router/name": name +"/compute:beta/Router/network": network +"/compute:beta/Router/region": region +"/compute:beta/Router/selfLink": self_link +"/compute:beta/RouterAggregatedList": router_aggregated_list +"/compute:beta/RouterAggregatedList/id": id +"/compute:beta/RouterAggregatedList/items": items +"/compute:beta/RouterAggregatedList/items/item": item +"/compute:beta/RouterAggregatedList/kind": kind +"/compute:beta/RouterAggregatedList/nextPageToken": next_page_token +"/compute:beta/RouterAggregatedList/selfLink": self_link +"/compute:beta/RouterBgp": router_bgp +"/compute:beta/RouterBgp/asn": asn +"/compute:beta/RouterBgpPeer": router_bgp_peer +"/compute:beta/RouterBgpPeer/advertisedRoutePriority": advertised_route_priority +"/compute:beta/RouterBgpPeer/interfaceName": interface_name +"/compute:beta/RouterBgpPeer/ipAddress": ip_address +"/compute:beta/RouterBgpPeer/name": name +"/compute:beta/RouterBgpPeer/peerAsn": peer_asn +"/compute:beta/RouterBgpPeer/peerIpAddress": peer_ip_address +"/compute:beta/RouterInterface": router_interface +"/compute:beta/RouterInterface/ipRange": ip_range +"/compute:beta/RouterInterface/linkedVpnTunnel": linked_vpn_tunnel +"/compute:beta/RouterInterface/name": name +"/compute:beta/RouterList": router_list +"/compute:beta/RouterList/id": id +"/compute:beta/RouterList/items": items +"/compute:beta/RouterList/items/item": item +"/compute:beta/RouterList/kind": kind +"/compute:beta/RouterList/nextPageToken": next_page_token +"/compute:beta/RouterList/selfLink": self_link +"/compute:beta/RouterStatus": router_status +"/compute:beta/RouterStatus/bestRoutes": best_routes +"/compute:beta/RouterStatus/bestRoutes/best_route": best_route +"/compute:beta/RouterStatus/bgpPeerStatus": bgp_peer_status +"/compute:beta/RouterStatus/bgpPeerStatus/bgp_peer_status": bgp_peer_status +"/compute:beta/RouterStatus/network": network +"/compute:beta/RouterStatusBgpPeerStatus": router_status_bgp_peer_status +"/compute:beta/RouterStatusBgpPeerStatus/advertisedRoutes": advertised_routes +"/compute:beta/RouterStatusBgpPeerStatus/advertisedRoutes/advertised_route": advertised_route +"/compute:beta/RouterStatusBgpPeerStatus/ipAddress": ip_address +"/compute:beta/RouterStatusBgpPeerStatus/linkedVpnTunnel": linked_vpn_tunnel +"/compute:beta/RouterStatusBgpPeerStatus/name": name +"/compute:beta/RouterStatusBgpPeerStatus/numLearnedRoutes": num_learned_routes +"/compute:beta/RouterStatusBgpPeerStatus/peerIpAddress": peer_ip_address +"/compute:beta/RouterStatusBgpPeerStatus/state": state +"/compute:beta/RouterStatusBgpPeerStatus/status": status +"/compute:beta/RouterStatusBgpPeerStatus/uptime": uptime +"/compute:beta/RouterStatusResponse": router_status_response +"/compute:beta/RouterStatusResponse/kind": kind +"/compute:beta/RouterStatusResponse/result": result +"/compute:beta/RoutersScopedList": routers_scoped_list +"/compute:beta/RoutersScopedList/routers": routers +"/compute:beta/RoutersScopedList/routers/router": router +"/compute:beta/RoutersScopedList/warning": warning +"/compute:beta/RoutersScopedList/warning/code": code +"/compute:beta/RoutersScopedList/warning/data": data +"/compute:beta/RoutersScopedList/warning/data/datum": datum +"/compute:beta/RoutersScopedList/warning/data/datum/key": key +"/compute:beta/RoutersScopedList/warning/data/datum/value": value +"/compute:beta/RoutersScopedList/warning/message": message "/compute:beta/Scheduling": scheduling "/compute:beta/Scheduling/automaticRestart": automatic_restart "/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance @@ -2970,6 +3094,7 @@ "/compute:beta/VpnTunnel/name": name "/compute:beta/VpnTunnel/peerIp": peer_ip "/compute:beta/VpnTunnel/region": region +"/compute:beta/VpnTunnel/router": router "/compute:beta/VpnTunnel/selfLink": self_link "/compute:beta/VpnTunnel/sharedSecret": shared_secret "/compute:beta/VpnTunnel/sharedSecretHash": shared_secret_hash @@ -3111,13 +3236,16 @@ "/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/updateAction": update_action "/adexchangebuyer:v1.4/adexchangebuyer.proposals.search": search_proposals "/adexchangebuyer:v1.4/adexchangebuyer.proposals.search/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete/proposalId": proposal_id "/adexchangebuyer:v1.4/adexchangebuyer.proposals.update": update_proposal "/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/proposalId": proposal_id "/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/revisionNumber": revision_number "/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/updateAction": update_action +"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list/accountId": account_id "/adexchangebuyer:v1.4/Account": account "/adexchangebuyer:v1.4/Account/bidderLocation": bidder_location "/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location": bidder_location +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/bidProtocol": bid_protocol "/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/maximumQps": maximum_qps "/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/region": region "/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/url": url @@ -3262,6 +3390,11 @@ "/adexchangebuyer:v1.4/CreativesList/items/item": item "/adexchangebuyer:v1.4/CreativesList/kind": kind "/adexchangebuyer:v1.4/CreativesList/nextPageToken": next_page_token +"/adexchangebuyer:v1.4/DealServingMetadata": deal_serving_metadata +"/adexchangebuyer:v1.4/DealServingMetadata/dealPauseStatus": deal_pause_status +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus": deal_serving_metadata_deal_pause_status +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/hasBuyerPaused": has_buyer_paused +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/hasSellerPaused": has_seller_paused "/adexchangebuyer:v1.4/DealTerms": deal_terms "/adexchangebuyer:v1.4/DealTerms/brandingType": branding_type "/adexchangebuyer:v1.4/DealTerms/description": description @@ -3276,7 +3409,7 @@ "/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/guaranteedImpressions": guaranteed_impressions "/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/guaranteedLooks": guaranteed_looks "/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms": deal_terms_non_guaranteed_auction_terms -"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/privateAuctionId": private_auction_id +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/autoOptimizePrivateAuction": auto_optimize_private_auction "/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/reservePricePerBuyers": reserve_price_per_buyers "/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/reservePricePerBuyers/reserve_price_per_buyer": reserve_price_per_buyer "/adexchangebuyer:v1.4/DealTermsNonGuaranteedFixedPriceTerms": deal_terms_non_guaranteed_fixed_price_terms @@ -3309,6 +3442,7 @@ "/adexchangebuyer:v1.4/EditAllOrderDealsResponse": edit_all_order_deals_response "/adexchangebuyer:v1.4/EditAllOrderDealsResponse/deals": deals "/adexchangebuyer:v1.4/EditAllOrderDealsResponse/deals/deal": deal +"/adexchangebuyer:v1.4/EditAllOrderDealsResponse/orderRevisionNumber": order_revision_number "/adexchangebuyer:v1.4/GetOffersResponse": get_offers_response "/adexchangebuyer:v1.4/GetOffersResponse/products": products "/adexchangebuyer:v1.4/GetOffersResponse/products/product": product @@ -3321,11 +3455,16 @@ "/adexchangebuyer:v1.4/GetOrdersResponse": get_orders_response "/adexchangebuyer:v1.4/GetOrdersResponse/proposals": proposals "/adexchangebuyer:v1.4/GetOrdersResponse/proposals/proposal": proposal +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse": get_publisher_profiles_by_account_id_response +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse/profiles": profiles +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse/profiles/profile": profile "/adexchangebuyer:v1.4/MarketplaceDeal": marketplace_deal "/adexchangebuyer:v1.4/MarketplaceDeal/buyerPrivateData": buyer_private_data "/adexchangebuyer:v1.4/MarketplaceDeal/creationTimeMs": creation_time_ms "/adexchangebuyer:v1.4/MarketplaceDeal/creativePreApprovalPolicy": creative_pre_approval_policy +"/adexchangebuyer:v1.4/MarketplaceDeal/creativeSafeFrameCompatibility": creative_safe_frame_compatibility "/adexchangebuyer:v1.4/MarketplaceDeal/dealId": deal_id +"/adexchangebuyer:v1.4/MarketplaceDeal/dealServingMetadata": deal_serving_metadata "/adexchangebuyer:v1.4/MarketplaceDeal/deliveryControl": delivery_control "/adexchangebuyer:v1.4/MarketplaceDeal/externalDealId": external_deal_id "/adexchangebuyer:v1.4/MarketplaceDeal/flightEndTimeMs": flight_end_time_ms @@ -3336,6 +3475,7 @@ "/adexchangebuyer:v1.4/MarketplaceDeal/name": name "/adexchangebuyer:v1.4/MarketplaceDeal/productId": product_id "/adexchangebuyer:v1.4/MarketplaceDeal/productRevisionNumber": product_revision_number +"/adexchangebuyer:v1.4/MarketplaceDeal/programmaticCreativeSource": programmatic_creative_source "/adexchangebuyer:v1.4/MarketplaceDeal/proposalId": proposal_id "/adexchangebuyer:v1.4/MarketplaceDeal/sellerContacts": seller_contacts "/adexchangebuyer:v1.4/MarketplaceDeal/sellerContacts/seller_contact": seller_contact @@ -3460,6 +3600,7 @@ "/adexchangebuyer:v1.4/Product/creationTimeMs": creation_time_ms "/adexchangebuyer:v1.4/Product/creatorContacts": creator_contacts "/adexchangebuyer:v1.4/Product/creatorContacts/creator_contact": creator_contact +"/adexchangebuyer:v1.4/Product/deliveryControl": delivery_control "/adexchangebuyer:v1.4/Product/flightEndTimeMs": flight_end_time_ms "/adexchangebuyer:v1.4/Product/flightStartTimeMs": flight_start_time_ms "/adexchangebuyer:v1.4/Product/hasCreatorSignedOff": has_creator_signed_off @@ -3468,7 +3609,9 @@ "/adexchangebuyer:v1.4/Product/labels": labels "/adexchangebuyer:v1.4/Product/labels/label": label "/adexchangebuyer:v1.4/Product/lastUpdateTimeMs": last_update_time_ms +"/adexchangebuyer:v1.4/Product/legacyOfferId": legacy_offer_id "/adexchangebuyer:v1.4/Product/name": name +"/adexchangebuyer:v1.4/Product/privateAuctionId": private_auction_id "/adexchangebuyer:v1.4/Product/productId": product_id "/adexchangebuyer:v1.4/Product/revisionNumber": revision_number "/adexchangebuyer:v1.4/Product/seller": seller @@ -3495,7 +3638,9 @@ "/adexchangebuyer:v1.4/Proposal/lastUpdaterOrCommentorRole": last_updater_or_commentor_role "/adexchangebuyer:v1.4/Proposal/lastUpdaterRole": last_updater_role "/adexchangebuyer:v1.4/Proposal/name": name +"/adexchangebuyer:v1.4/Proposal/negotiationId": negotiation_id "/adexchangebuyer:v1.4/Proposal/originatorRole": originator_role +"/adexchangebuyer:v1.4/Proposal/privateAuctionId": private_auction_id "/adexchangebuyer:v1.4/Proposal/proposalId": proposal_id "/adexchangebuyer:v1.4/Proposal/proposalState": proposal_state "/adexchangebuyer:v1.4/Proposal/revisionNumber": revision_number @@ -3503,6 +3648,22 @@ "/adexchangebuyer:v1.4/Proposal/seller": seller "/adexchangebuyer:v1.4/Proposal/sellerContacts": seller_contacts "/adexchangebuyer:v1.4/Proposal/sellerContacts/seller_contact": seller_contact +"/adexchangebuyer:v1.4/PublisherProfileApiProto": publisher_profile_api_proto +"/adexchangebuyer:v1.4/PublisherProfileApiProto/buyerPitchStatement": buyer_pitch_statement +"/adexchangebuyer:v1.4/PublisherProfileApiProto/googlePlusLink": google_plus_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/isParent": is_parent +"/adexchangebuyer:v1.4/PublisherProfileApiProto/kind": kind +"/adexchangebuyer:v1.4/PublisherProfileApiProto/logoUrl": logo_url +"/adexchangebuyer:v1.4/PublisherProfileApiProto/mediaKitLink": media_kit_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/name": name +"/adexchangebuyer:v1.4/PublisherProfileApiProto/overview": overview +"/adexchangebuyer:v1.4/PublisherProfileApiProto/profileId": profile_id +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains": publisher_domains +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains/publisher_domain": publisher_domain +"/adexchangebuyer:v1.4/PublisherProfileApiProto/rateCardInfoLink": rate_card_info_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/samplePageLink": sample_page_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/topHeadlines": top_headlines +"/adexchangebuyer:v1.4/PublisherProfileApiProto/topHeadlines/top_headline": top_headline "/adexchangebuyer:v1.4/Seller": seller "/adexchangebuyer:v1.4/Seller/accountId": account_id "/adexchangebuyer:v1.4/Seller/subAccountId": sub_account_id @@ -4770,7 +4931,6 @@ "/adsense:v1.4/Accounts/nextPageToken": next_page_token "/adsense:v1.4/AdClient": ad_client "/adsense:v1.4/AdClient/arcOptIn": arc_opt_in -"/adsense:v1.4/AdClient/arcReviewMode": arc_review_mode "/adsense:v1.4/AdClient/id": id "/adsense:v1.4/AdClient/kind": kind "/adsense:v1.4/AdClient/productCode": product_code @@ -7234,6 +7394,7 @@ "/bigquery:v2/JobConfigurationQuery/query": query "/bigquery:v2/JobConfigurationQuery/tableDefinitions": table_definitions "/bigquery:v2/JobConfigurationQuery/tableDefinitions/table_definition": table_definition +"/bigquery:v2/JobConfigurationQuery/useLegacySql": use_legacy_sql "/bigquery:v2/JobConfigurationQuery/useQueryCache": use_query_cache "/bigquery:v2/JobConfigurationQuery/userDefinedFunctionResources": user_defined_function_resources "/bigquery:v2/JobConfigurationQuery/userDefinedFunctionResources/user_defined_function_resource": user_defined_function_resource @@ -7276,6 +7437,8 @@ "/bigquery:v2/JobStatistics2/cacheHit": cache_hit "/bigquery:v2/JobStatistics2/queryPlan": query_plan "/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan +"/bigquery:v2/JobStatistics2/referencedTables": referenced_tables +"/bigquery:v2/JobStatistics2/referencedTables/referenced_table": referenced_table "/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed "/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed "/bigquery:v2/JobStatistics3": job_statistics3 @@ -7316,6 +7479,7 @@ "/bigquery:v2/QueryRequest/preserveNulls": preserve_nulls "/bigquery:v2/QueryRequest/query": query "/bigquery:v2/QueryRequest/timeoutMs": timeout_ms +"/bigquery:v2/QueryRequest/useLegacySql": use_legacy_sql "/bigquery:v2/QueryRequest/useQueryCache": use_query_cache "/bigquery:v2/QueryResponse": query_response "/bigquery:v2/QueryResponse/cacheHit": cache_hit @@ -16301,6 +16465,7 @@ "/drive:v2/File/alternateLink": alternate_link "/drive:v2/File/appDataContents": app_data_contents "/drive:v2/File/canComment": can_comment +"/drive:v2/File/canReadRevisions": can_read_revisions "/drive:v2/File/copyable": copyable "/drive:v2/File/createdDate": created_date "/drive:v2/File/defaultOpenWithLink": default_open_with_link @@ -16692,6 +16857,7 @@ "/drive:v3/File/capabilities/canComment": can_comment "/drive:v3/File/capabilities/canCopy": can_copy "/drive:v3/File/capabilities/canEdit": can_edit +"/drive:v3/File/capabilities/canReadRevisions": can_read_revisions "/drive:v3/File/capabilities/canShare": can_share "/drive:v3/File/contentHints": content_hints "/drive:v3/File/contentHints/indexableText": indexable_text @@ -18878,6 +19044,11 @@ "/appengine:v1beta5/appengine.apps.services.versions.list/view": view "/appengine:v1beta5/appengine.apps.services.versions.list/pageSize": page_size "/appengine:v1beta5/appengine.apps.services.versions.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.services.versions.patch": patch_app_service_version +"/appengine:v1beta5/appengine.apps.services.versions.patch/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/mask": mask "/appengine:v1beta5/Operation": operation "/appengine:v1beta5/Operation/name": name "/appengine:v1beta5/Operation/metadata": metadata @@ -18901,8 +19072,11 @@ "/appengine:v1beta5/Application/id": id "/appengine:v1beta5/Application/dispatchRules": dispatch_rules "/appengine:v1beta5/Application/dispatchRules/dispatch_rule": dispatch_rule +"/appengine:v1beta5/Application/authDomain": auth_domain "/appengine:v1beta5/Application/location": location "/appengine:v1beta5/Application/codeBucket": code_bucket +"/appengine:v1beta5/Application/defaultCookieExpiration": default_cookie_expiration +"/appengine:v1beta5/Application/defaultHostname": default_hostname "/appengine:v1beta5/Application/defaultBucket": default_bucket "/appengine:v1beta5/UrlDispatchRule": url_dispatch_rule "/appengine:v1beta5/UrlDispatchRule/domain": domain @@ -19438,6 +19612,7 @@ "/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project "/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1beta1/Empty": empty +"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request "/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request "/cloudresourcemanager:v1beta1/Policy": policy "/cloudresourcemanager:v1beta1/Policy/version": version @@ -19596,8 +19771,257 @@ "/dataproc:v1/dataproc.media.upload/resourceName": resource_name "/dataproc:v1/dataproc.media.download": download_medium "/dataproc:v1/dataproc.media.download/resourceName": resource_name +"/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.patch/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.patch/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.patch/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.get/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.list/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.submit": submit_job +"/dataproc:v1/dataproc.projects.regions.jobs.submit/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.submit/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.get/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/dataproc.projects.regions.operations.delete/name": name "/dataproc:v1/Media": media "/dataproc:v1/Media/resourceName": resource_name +"/dataproc:v1/Cluster": cluster +"/dataproc:v1/Cluster/projectId": project_id +"/dataproc:v1/Cluster/clusterName": cluster_name +"/dataproc:v1/Cluster/config": config +"/dataproc:v1/Cluster/status": status +"/dataproc:v1/Cluster/statusHistory": status_history +"/dataproc:v1/Cluster/statusHistory/status_history": status_history +"/dataproc:v1/Cluster/clusterUuid": cluster_uuid +"/dataproc:v1/ClusterConfig": cluster_config +"/dataproc:v1/ClusterConfig/configBucket": config_bucket +"/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config +"/dataproc:v1/ClusterConfig/masterConfig": master_config +"/dataproc:v1/ClusterConfig/workerConfig": worker_config +"/dataproc:v1/ClusterConfig/secondaryWorkerConfig": secondary_worker_config +"/dataproc:v1/ClusterConfig/softwareConfig": software_config +"/dataproc:v1/ClusterConfig/initializationActions": initialization_actions +"/dataproc:v1/ClusterConfig/initializationActions/initialization_action": initialization_action +"/dataproc:v1/GceClusterConfig": gce_cluster_config +"/dataproc:v1/GceClusterConfig/zoneUri": zone_uri +"/dataproc:v1/GceClusterConfig/networkUri": network_uri +"/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri +"/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes +"/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope +"/dataproc:v1/GceClusterConfig/tags": tags +"/dataproc:v1/GceClusterConfig/tags/tag": tag +"/dataproc:v1/GceClusterConfig/metadata": metadata +"/dataproc:v1/GceClusterConfig/metadata/metadatum": metadatum +"/dataproc:v1/InstanceGroupConfig": instance_group_config +"/dataproc:v1/InstanceGroupConfig/numInstances": num_instances +"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names +"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name +"/dataproc:v1/InstanceGroupConfig/imageUri": image_uri +"/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri +"/dataproc:v1/InstanceGroupConfig/diskConfig": disk_config +"/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible +"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config +"/dataproc:v1/DiskConfig": disk_config +"/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb +"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds +"/dataproc:v1/ManagedGroupConfig": managed_group_config +"/dataproc:v1/ManagedGroupConfig/instanceTemplateName": instance_template_name +"/dataproc:v1/ManagedGroupConfig/instanceGroupManagerName": instance_group_manager_name +"/dataproc:v1/SoftwareConfig": software_config +"/dataproc:v1/SoftwareConfig/imageVersion": image_version +"/dataproc:v1/SoftwareConfig/properties": properties +"/dataproc:v1/SoftwareConfig/properties/property": property +"/dataproc:v1/NodeInitializationAction": node_initialization_action +"/dataproc:v1/NodeInitializationAction/executableFile": executable_file +"/dataproc:v1/NodeInitializationAction/executionTimeout": execution_timeout +"/dataproc:v1/ClusterStatus": cluster_status +"/dataproc:v1/ClusterStatus/state": state +"/dataproc:v1/ClusterStatus/detail": detail +"/dataproc:v1/ClusterStatus/stateStartTime": state_start_time +"/dataproc:v1/Operation": operation +"/dataproc:v1/Operation/name": name +"/dataproc:v1/Operation/metadata": metadata +"/dataproc:v1/Operation/metadata/metadatum": metadatum +"/dataproc:v1/Operation/done": done +"/dataproc:v1/Operation/error": error +"/dataproc:v1/Operation/response": response +"/dataproc:v1/Operation/response/response": response +"/dataproc:v1/Status": status +"/dataproc:v1/Status/code": code +"/dataproc:v1/Status/message": message +"/dataproc:v1/Status/details": details +"/dataproc:v1/Status/details/detail": detail +"/dataproc:v1/Status/details/detail/detail": detail +"/dataproc:v1/ListClustersResponse": list_clusters_response +"/dataproc:v1/ListClustersResponse/clusters": clusters +"/dataproc:v1/ListClustersResponse/clusters/cluster": cluster +"/dataproc:v1/ListClustersResponse/nextPageToken": next_page_token +"/dataproc:v1/DiagnoseClusterRequest": diagnose_cluster_request +"/dataproc:v1/SubmitJobRequest": submit_job_request +"/dataproc:v1/SubmitJobRequest/job": job +"/dataproc:v1/Job": job +"/dataproc:v1/Job/reference": reference +"/dataproc:v1/Job/placement": placement +"/dataproc:v1/Job/hadoopJob": hadoop_job +"/dataproc:v1/Job/sparkJob": spark_job +"/dataproc:v1/Job/pysparkJob": pyspark_job +"/dataproc:v1/Job/hiveJob": hive_job +"/dataproc:v1/Job/pigJob": pig_job +"/dataproc:v1/Job/sparkSqlJob": spark_sql_job +"/dataproc:v1/Job/status": status +"/dataproc:v1/Job/statusHistory": status_history +"/dataproc:v1/Job/statusHistory/status_history": status_history +"/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri +"/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri +"/dataproc:v1/JobReference": job_reference +"/dataproc:v1/JobReference/projectId": project_id +"/dataproc:v1/JobReference/jobId": job_id +"/dataproc:v1/JobPlacement": job_placement +"/dataproc:v1/JobPlacement/clusterName": cluster_name +"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid +"/dataproc:v1/HadoopJob": hadoop_job +"/dataproc:v1/HadoopJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/HadoopJob/mainClass": main_class +"/dataproc:v1/HadoopJob/args": args +"/dataproc:v1/HadoopJob/args/arg": arg +"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris +"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/HadoopJob/fileUris": file_uris +"/dataproc:v1/HadoopJob/fileUris/file_uri": file_uri +"/dataproc:v1/HadoopJob/archiveUris": archive_uris +"/dataproc:v1/HadoopJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/HadoopJob/properties": properties +"/dataproc:v1/HadoopJob/properties/property": property +"/dataproc:v1/HadoopJob/loggingConfig": logging_config +"/dataproc:v1/LoggingConfig": logging_config +"/dataproc:v1/LoggingConfig/driverLogLevels": driver_log_levels +"/dataproc:v1/LoggingConfig/driverLogLevels/driver_log_level": driver_log_level +"/dataproc:v1/SparkJob": spark_job +"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/SparkJob/mainClass": main_class +"/dataproc:v1/SparkJob/args": args +"/dataproc:v1/SparkJob/args/arg": arg +"/dataproc:v1/SparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/SparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/SparkJob/fileUris": file_uris +"/dataproc:v1/SparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/SparkJob/archiveUris": archive_uris +"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/SparkJob/properties": properties +"/dataproc:v1/SparkJob/properties/property": property +"/dataproc:v1/SparkJob/loggingConfig": logging_config +"/dataproc:v1/PySparkJob": py_spark_job +"/dataproc:v1/PySparkJob/mainPythonFileUri": main_python_file_uri +"/dataproc:v1/PySparkJob/args": args +"/dataproc:v1/PySparkJob/args/arg": arg +"/dataproc:v1/PySparkJob/pythonFileUris": python_file_uris +"/dataproc:v1/PySparkJob/pythonFileUris/python_file_uri": python_file_uri +"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PySparkJob/fileUris": file_uris +"/dataproc:v1/PySparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/PySparkJob/archiveUris": archive_uris +"/dataproc:v1/PySparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/PySparkJob/properties": properties +"/dataproc:v1/PySparkJob/properties/property": property +"/dataproc:v1/PySparkJob/loggingConfig": logging_config +"/dataproc:v1/HiveJob": hive_job +"/dataproc:v1/HiveJob/queryFileUri": query_file_uri +"/dataproc:v1/HiveJob/queryList": query_list +"/dataproc:v1/HiveJob/continueOnFailure": continue_on_failure +"/dataproc:v1/HiveJob/scriptVariables": script_variables +"/dataproc:v1/HiveJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/HiveJob/properties": properties +"/dataproc:v1/HiveJob/properties/property": property +"/dataproc:v1/HiveJob/jarFileUris": jar_file_uris +"/dataproc:v1/HiveJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/QueryList": query_list +"/dataproc:v1/QueryList/queries": queries +"/dataproc:v1/QueryList/queries/query": query +"/dataproc:v1/PigJob": pig_job +"/dataproc:v1/PigJob/queryFileUri": query_file_uri +"/dataproc:v1/PigJob/queryList": query_list +"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure +"/dataproc:v1/PigJob/scriptVariables": script_variables +"/dataproc:v1/PigJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/PigJob/properties": properties +"/dataproc:v1/PigJob/properties/property": property +"/dataproc:v1/PigJob/jarFileUris": jar_file_uris +"/dataproc:v1/PigJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PigJob/loggingConfig": logging_config +"/dataproc:v1/SparkSqlJob": spark_sql_job +"/dataproc:v1/SparkSqlJob/queryFileUri": query_file_uri +"/dataproc:v1/SparkSqlJob/queryList": query_list +"/dataproc:v1/SparkSqlJob/scriptVariables": script_variables +"/dataproc:v1/SparkSqlJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/SparkSqlJob/properties": properties +"/dataproc:v1/SparkSqlJob/properties/property": property +"/dataproc:v1/SparkSqlJob/jarFileUris": jar_file_uris +"/dataproc:v1/SparkSqlJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/SparkSqlJob/loggingConfig": logging_config +"/dataproc:v1/JobStatus": job_status +"/dataproc:v1/JobStatus/state": state +"/dataproc:v1/JobStatus/details": details +"/dataproc:v1/JobStatus/stateStartTime": state_start_time +"/dataproc:v1/ListJobsResponse": list_jobs_response +"/dataproc:v1/ListJobsResponse/jobs": jobs +"/dataproc:v1/ListJobsResponse/jobs/job": job +"/dataproc:v1/ListJobsResponse/nextPageToken": next_page_token +"/dataproc:v1/CancelJobRequest": cancel_job_request +"/dataproc:v1/Empty": empty +"/dataproc:v1/ListOperationsResponse": list_operations_response +"/dataproc:v1/ListOperationsResponse/operations": operations +"/dataproc:v1/ListOperationsResponse/operations/operation": operation +"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token +"/dataproc:v1/DiagnoseClusterResults": diagnose_cluster_results +"/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri +"/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata +"/dataproc:v1/ClusterOperationMetadata/clusterName": cluster_name +"/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid +"/dataproc:v1/ClusterOperationMetadata/status": status +"/dataproc:v1/ClusterOperationMetadata/statusHistory": status_history +"/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history +"/dataproc:v1/ClusterOperationMetadata/operationType": operation_type +"/dataproc:v1/ClusterOperationMetadata/description": description +"/dataproc:v1/ClusterOperationStatus": cluster_operation_status +"/dataproc:v1/ClusterOperationStatus/state": state +"/dataproc:v1/ClusterOperationStatus/innerState": inner_state +"/dataproc:v1/ClusterOperationStatus/details": details +"/dataproc:v1/ClusterOperationStatus/stateStartTime": state_start_time "/dataproc:v1/DiagnoseClusterOutputLocation": diagnose_cluster_output_location "/dataproc:v1/DiagnoseClusterOutputLocation/outputUri": output_uri "/dataproc:v1/OperationMetadata": operation_metadata @@ -19612,6 +20036,8 @@ "/dataproc:v1/OperationMetadata/status": status "/dataproc:v1/OperationMetadata/statusHistory": status_history "/dataproc:v1/OperationMetadata/statusHistory/status_history": status_history +"/dataproc:v1/OperationMetadata/operationType": operation_type +"/dataproc:v1/OperationMetadata/description": description "/dataproc:v1/OperationStatus": operation_status "/dataproc:v1/OperationStatus/state": state "/dataproc:v1/OperationStatus/innerState": inner_state @@ -19712,43 +20138,11 @@ "/genomics:v1/Policy/version": version "/genomics:v1/Policy/bindings": bindings "/genomics:v1/Policy/bindings/binding": binding -"/genomics:v1/Policy/rules": rules -"/genomics:v1/Policy/rules/rule": rule "/genomics:v1/Policy/etag": etag "/genomics:v1/Binding": binding "/genomics:v1/Binding/role": role "/genomics:v1/Binding/members": members "/genomics:v1/Binding/members/member": member -"/genomics:v1/Rule": rule -"/genomics:v1/Rule/description": description -"/genomics:v1/Rule/permissions": permissions -"/genomics:v1/Rule/permissions/permission": permission -"/genomics:v1/Rule/action": action -"/genomics:v1/Rule/in": in -"/genomics:v1/Rule/in/in": in -"/genomics:v1/Rule/notIn": not_in -"/genomics:v1/Rule/notIn/not_in": not_in -"/genomics:v1/Rule/conditions": conditions -"/genomics:v1/Rule/conditions/condition": condition -"/genomics:v1/Rule/logConfig": log_config -"/genomics:v1/Rule/logConfig/log_config": log_config -"/genomics:v1/Condition": condition -"/genomics:v1/Condition/iam": iam -"/genomics:v1/Condition/sys": sys -"/genomics:v1/Condition/svc": svc -"/genomics:v1/Condition/op": op -"/genomics:v1/Condition/value": value -"/genomics:v1/Condition/values": values -"/genomics:v1/Condition/values/value": value -"/genomics:v1/LogConfig": log_config -"/genomics:v1/LogConfig/counter": counter -"/genomics:v1/LogConfig/dataAccess": data_access -"/genomics:v1/LogConfig/cloudAudit": cloud_audit -"/genomics:v1/CounterOptions": counter_options -"/genomics:v1/CounterOptions/metric": metric -"/genomics:v1/CounterOptions/field": field -"/genomics:v1/DataAccessOptions": data_access_options -"/genomics:v1/CloudAuditOptions": cloud_audit_options "/genomics:v1/GetIamPolicyRequest": get_iam_policy_request "/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request "/genomics:v1/TestIamPermissionsRequest/permissions": permissions @@ -20447,6 +20841,240 @@ "/partners:v2/CreateLeadResponse/responseMetadata": response_metadata "/partners:v2/CreateLeadResponse/lead": lead "/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status +"/people:v1/fields": fields +"/people:v1/key": key +"/people:v1/quotaUser": quota_user +"/people:v1/people.people.get": get_person +"/people:v1/people.people.get/resourceName": resource_name +"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.getBatchGet/resourceNames": resource_names +"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.connections.list": list_person_connections +"/people:v1/people.people.connections.list/resourceName": resource_name +"/people:v1/people.people.connections.list/pageToken": page_token +"/people:v1/people.people.connections.list/pageSize": page_size +"/people:v1/people.people.connections.list/sortOrder": sort_order +"/people:v1/people.people.connections.list/syncToken": sync_token +"/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/Person": person +"/people:v1/Person/resourceName": resource_name +"/people:v1/Person/etag": etag +"/people:v1/Person/metadata": metadata +"/people:v1/Person/locales": locales +"/people:v1/Person/locales/locale": locale +"/people:v1/Person/names": names +"/people:v1/Person/names/name": name +"/people:v1/Person/nicknames": nicknames +"/people:v1/Person/nicknames/nickname": nickname +"/people:v1/Person/coverPhotos": cover_photos +"/people:v1/Person/coverPhotos/cover_photo": cover_photo +"/people:v1/Person/photos": photos +"/people:v1/Person/photos/photo": photo +"/people:v1/Person/genders": genders +"/people:v1/Person/genders/gender": gender +"/people:v1/Person/ageRange": age_range +"/people:v1/Person/birthdays": birthdays +"/people:v1/Person/birthdays/birthday": birthday +"/people:v1/Person/events": events +"/people:v1/Person/events/event": event +"/people:v1/Person/addresses": addresses +"/people:v1/Person/addresses/address": address +"/people:v1/Person/residences": residences +"/people:v1/Person/residences/residence": residence +"/people:v1/Person/emailAddresses": email_addresses +"/people:v1/Person/emailAddresses/email_address": email_address +"/people:v1/Person/phoneNumbers": phone_numbers +"/people:v1/Person/phoneNumbers/phone_number": phone_number +"/people:v1/Person/imClients": im_clients +"/people:v1/Person/imClients/im_client": im_client +"/people:v1/Person/taglines": taglines +"/people:v1/Person/taglines/tagline": tagline +"/people:v1/Person/biographies": biographies +"/people:v1/Person/biographies/biography": biography +"/people:v1/Person/urls": urls +"/people:v1/Person/urls/url": url +"/people:v1/Person/organizations": organizations +"/people:v1/Person/organizations/organization": organization +"/people:v1/Person/occupations": occupations +"/people:v1/Person/occupations/occupation": occupation +"/people:v1/Person/interests": interests +"/people:v1/Person/interests/interest": interest +"/people:v1/Person/skills": skills +"/people:v1/Person/skills/skill": skill +"/people:v1/Person/braggingRights": bragging_rights +"/people:v1/Person/braggingRights/bragging_right": bragging_right +"/people:v1/Person/relations": relations +"/people:v1/Person/relations/relation": relation +"/people:v1/Person/relationshipInterests": relationship_interests +"/people:v1/Person/relationshipInterests/relationship_interest": relationship_interest +"/people:v1/Person/relationshipStatuses": relationship_statuses +"/people:v1/Person/relationshipStatuses/relationship_status": relationship_status +"/people:v1/Person/memberships": memberships +"/people:v1/Person/memberships/membership": membership +"/people:v1/PersonMetadata": person_metadata +"/people:v1/PersonMetadata/sources": sources +"/people:v1/PersonMetadata/sources/source": source +"/people:v1/PersonMetadata/previousResourceNames": previous_resource_names +"/people:v1/PersonMetadata/previousResourceNames/previous_resource_name": previous_resource_name +"/people:v1/PersonMetadata/deleted": deleted +"/people:v1/PersonMetadata/objectType": object_type +"/people:v1/Source": source +"/people:v1/Source/type": type +"/people:v1/Source/id": id +"/people:v1/Locale": locale +"/people:v1/Locale/metadata": metadata +"/people:v1/Locale/value": value +"/people:v1/FieldMetadata": field_metadata +"/people:v1/FieldMetadata/primary": primary +"/people:v1/FieldMetadata/verified": verified +"/people:v1/FieldMetadata/source": source +"/people:v1/Name": name +"/people:v1/Name/metadata": metadata +"/people:v1/Name/displayName": display_name +"/people:v1/Name/familyName": family_name +"/people:v1/Name/givenName": given_name +"/people:v1/Name/middleName": middle_name +"/people:v1/Name/honorificPrefix": honorific_prefix +"/people:v1/Name/honorificSuffix": honorific_suffix +"/people:v1/Name/phoneticFamilyName": phonetic_family_name +"/people:v1/Name/phoneticGivenName": phonetic_given_name +"/people:v1/Name/phoneticMiddleName": phonetic_middle_name +"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix +"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix +"/people:v1/Nickname": nickname +"/people:v1/Nickname/metadata": metadata +"/people:v1/Nickname/value": value +"/people:v1/Nickname/type": type +"/people:v1/CoverPhoto": cover_photo +"/people:v1/CoverPhoto/metadata": metadata +"/people:v1/CoverPhoto/url": url +"/people:v1/CoverPhoto/default": default +"/people:v1/Photo": photo +"/people:v1/Photo/metadata": metadata +"/people:v1/Photo/url": url +"/people:v1/Gender": gender +"/people:v1/Gender/metadata": metadata +"/people:v1/Gender/value": value +"/people:v1/Gender/formattedValue": formatted_value +"/people:v1/Birthday": birthday +"/people:v1/Birthday/metadata": metadata +"/people:v1/Birthday/date": date +"/people:v1/Birthday/text": text +"/people:v1/Date": date +"/people:v1/Date/year": year +"/people:v1/Date/month": month +"/people:v1/Date/day": day +"/people:v1/Event": event +"/people:v1/Event/metadata": metadata +"/people:v1/Event/date": date +"/people:v1/Event/type": type +"/people:v1/Event/formattedType": formatted_type +"/people:v1/Address": address +"/people:v1/Address/metadata": metadata +"/people:v1/Address/formattedValue": formatted_value +"/people:v1/Address/type": type +"/people:v1/Address/formattedType": formatted_type +"/people:v1/Address/poBox": po_box +"/people:v1/Address/streetAddress": street_address +"/people:v1/Address/extendedAddress": extended_address +"/people:v1/Address/city": city +"/people:v1/Address/region": region +"/people:v1/Address/postalCode": postal_code +"/people:v1/Address/country": country +"/people:v1/Address/countryCode": country_code +"/people:v1/Residence": residence +"/people:v1/Residence/metadata": metadata +"/people:v1/Residence/value": value +"/people:v1/Residence/current": current +"/people:v1/EmailAddress": email_address +"/people:v1/EmailAddress/metadata": metadata +"/people:v1/EmailAddress/value": value +"/people:v1/EmailAddress/type": type +"/people:v1/EmailAddress/formattedType": formatted_type +"/people:v1/PhoneNumber": phone_number +"/people:v1/PhoneNumber/metadata": metadata +"/people:v1/PhoneNumber/value": value +"/people:v1/PhoneNumber/canonicalForm": canonical_form +"/people:v1/PhoneNumber/type": type +"/people:v1/PhoneNumber/formattedType": formatted_type +"/people:v1/ImClient": im_client +"/people:v1/ImClient/metadata": metadata +"/people:v1/ImClient/username": username +"/people:v1/ImClient/type": type +"/people:v1/ImClient/formattedType": formatted_type +"/people:v1/ImClient/protocol": protocol +"/people:v1/ImClient/formattedProtocol": formatted_protocol +"/people:v1/Tagline": tagline +"/people:v1/Tagline/metadata": metadata +"/people:v1/Tagline/value": value +"/people:v1/Biography": biography +"/people:v1/Biography/metadata": metadata +"/people:v1/Biography/value": value +"/people:v1/Url": url +"/people:v1/Url/metadata": metadata +"/people:v1/Url/value": value +"/people:v1/Url/type": type +"/people:v1/Url/formattedType": formatted_type +"/people:v1/Organization": organization +"/people:v1/Organization/metadata": metadata +"/people:v1/Organization/type": type +"/people:v1/Organization/formattedType": formatted_type +"/people:v1/Organization/startDate": start_date +"/people:v1/Organization/endDate": end_date +"/people:v1/Organization/current": current +"/people:v1/Organization/name": name +"/people:v1/Organization/phoneticName": phonetic_name +"/people:v1/Organization/department": department +"/people:v1/Organization/title": title +"/people:v1/Organization/jobDescription": job_description +"/people:v1/Organization/symbol": symbol +"/people:v1/Organization/domain": domain +"/people:v1/Organization/location": location +"/people:v1/Occupation": occupation +"/people:v1/Occupation/metadata": metadata +"/people:v1/Occupation/value": value +"/people:v1/Interest": interest +"/people:v1/Interest/metadata": metadata +"/people:v1/Interest/value": value +"/people:v1/Skill": skill +"/people:v1/Skill/metadata": metadata +"/people:v1/Skill/value": value +"/people:v1/BraggingRights": bragging_rights +"/people:v1/BraggingRights/metadata": metadata +"/people:v1/BraggingRights/value": value +"/people:v1/Relation": relation +"/people:v1/Relation/metadata": metadata +"/people:v1/Relation/person": person +"/people:v1/Relation/type": type +"/people:v1/Relation/formattedType": formatted_type +"/people:v1/RelationshipInterest": relationship_interest +"/people:v1/RelationshipInterest/metadata": metadata +"/people:v1/RelationshipInterest/value": value +"/people:v1/RelationshipInterest/formattedValue": formatted_value +"/people:v1/RelationshipStatus": relationship_status +"/people:v1/RelationshipStatus/metadata": metadata +"/people:v1/RelationshipStatus/value": value +"/people:v1/RelationshipStatus/formattedValue": formatted_value +"/people:v1/Membership": membership +"/people:v1/Membership/metadata": metadata +"/people:v1/Membership/contactGroupMembership": contact_group_membership +"/people:v1/Membership/domainMembership": domain_membership +"/people:v1/ContactGroupMembership": contact_group_membership +"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id +"/people:v1/DomainMembership": domain_membership +"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain +"/people:v1/GetPeopleResponse": get_people_response +"/people:v1/GetPeopleResponse/responses": responses +"/people:v1/GetPeopleResponse/responses/response": response +"/people:v1/PersonResponse": person_response +"/people:v1/PersonResponse/httpStatusCode": http_status_code +"/people:v1/PersonResponse/person": person +"/people:v1/PersonResponse/requestedResourceName": requested_resource_name +"/people:v1/ListConnectionsResponse": list_connections_response +"/people:v1/ListConnectionsResponse/connections": connections +"/people:v1/ListConnectionsResponse/connections/connection": connection +"/people:v1/ListConnectionsResponse/nextPageToken": next_page_token +"/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token "/proximitybeacon:v1beta1/fields": fields "/proximitybeacon:v1beta1/key": key "/proximitybeacon:v1beta1/quotaUser": quota_user @@ -20916,7 +21544,6 @@ "/identitytoolkit:v3/key": key "/identitytoolkit:v3/quotaUser": quota_user "/identitytoolkit:v3/userIp": user_ip -"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig": get_relyingparty_project_config "/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response "/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers "/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider @@ -20995,6 +21622,13 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaChallenge": captcha_challenge +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/displayName": display_name +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost @@ -21004,6 +21638,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/pendingIdToken": pending_id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body @@ -21016,6 +21651,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token @@ -21048,6 +21684,11 @@ "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/displayName": display_name "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/photoUrl": photo_url "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/providerId": provider_id +"/identitytoolkit:v3/SignupNewUserResponse": signup_new_user_response +"/identitytoolkit:v3/SignupNewUserResponse/displayName": display_name +"/identitytoolkit:v3/SignupNewUserResponse/email": email +"/identitytoolkit:v3/SignupNewUserResponse/idToken": id_token +"/identitytoolkit:v3/SignupNewUserResponse/kind": kind "/identitytoolkit:v3/UploadAccountResponse": upload_account_response "/identitytoolkit:v3/UploadAccountResponse/error": error "/identitytoolkit:v3/UploadAccountResponse/error/error": error @@ -21695,240 +22336,6 @@ "/pagespeedonline:v2/Result/version": version "/pagespeedonline:v2/Result/version/major": major "/pagespeedonline:v2/Result/version/minor": minor -"/people:v1/key": key -"/people:v1/quotaUser": quota_user -"/people:v1/fields": fields -"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field -"/people:v1/people.people.getBatchGet/resourceNames": resource_names -"/people:v1/people.people.get": get_person -"/people:v1/people.people.get/resourceName": resource_name -"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field -"/people:v1/people.people.connections.list": list_person_connections -"/people:v1/people.people.connections.list/sortOrder": sort_order -"/people:v1/people.people.connections.list/resourceName": resource_name -"/people:v1/people.people.connections.list/syncToken": sync_token -"/people:v1/people.people.connections.list/pageSize": page_size -"/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field -"/people:v1/people.people.connections.list/pageToken": page_token -"/people:v1/Birthday": birthday -"/people:v1/Birthday/text": text -"/people:v1/Birthday/metadata": metadata -"/people:v1/Birthday/date": date -"/people:v1/Residence": residence -"/people:v1/Residence/value": value -"/people:v1/Residence/metadata": metadata -"/people:v1/Residence/current": current -"/people:v1/RelationshipInterest": relationship_interest -"/people:v1/RelationshipInterest/value": value -"/people:v1/RelationshipInterest/metadata": metadata -"/people:v1/RelationshipInterest/formattedValue": formatted_value -"/people:v1/Tagline": tagline -"/people:v1/Tagline/value": value -"/people:v1/Tagline/metadata": metadata -"/people:v1/Event": event -"/people:v1/Event/formattedType": formatted_type -"/people:v1/Event/metadata": metadata -"/people:v1/Event/type": type -"/people:v1/Event/date": date -"/people:v1/Skill": skill -"/people:v1/Skill/value": value -"/people:v1/Skill/metadata": metadata -"/people:v1/Nickname": nickname -"/people:v1/Nickname/value": value -"/people:v1/Nickname/metadata": metadata -"/people:v1/Nickname/type": type -"/people:v1/Membership": membership -"/people:v1/Membership/contactGroupMembership": contact_group_membership -"/people:v1/Membership/metadata": metadata -"/people:v1/Membership/domainMembership": domain_membership -"/people:v1/Source": source -"/people:v1/Source/type": type -"/people:v1/Source/id": id -"/people:v1/Gender": gender -"/people:v1/Gender/value": value -"/people:v1/Gender/metadata": metadata -"/people:v1/Gender/formattedValue": formatted_value -"/people:v1/FieldMetadata": field_metadata -"/people:v1/FieldMetadata/verified": verified -"/people:v1/FieldMetadata/source": source -"/people:v1/FieldMetadata/primary": primary -"/people:v1/Locale": locale -"/people:v1/Locale/value": value -"/people:v1/Locale/metadata": metadata -"/people:v1/Address": address -"/people:v1/Address/postalCode": postal_code -"/people:v1/Address/city": city -"/people:v1/Address/countryCode": country_code -"/people:v1/Address/formattedValue": formatted_value -"/people:v1/Address/formattedType": formatted_type -"/people:v1/Address/extendedAddress": extended_address -"/people:v1/Address/metadata": metadata -"/people:v1/Address/region": region -"/people:v1/Address/country": country -"/people:v1/Address/poBox": po_box -"/people:v1/Address/streetAddress": street_address -"/people:v1/Address/type": type -"/people:v1/Organization": organization -"/people:v1/Organization/location": location -"/people:v1/Organization/title": title -"/people:v1/Organization/formattedType": formatted_type -"/people:v1/Organization/jobDescription": job_description -"/people:v1/Organization/symbol": symbol -"/people:v1/Organization/domain": domain -"/people:v1/Organization/metadata": metadata -"/people:v1/Organization/endDate": end_date -"/people:v1/Organization/current": current -"/people:v1/Organization/name": name -"/people:v1/Organization/phoneticName": phonetic_name -"/people:v1/Organization/startDate": start_date -"/people:v1/Organization/department": department -"/people:v1/Organization/type": type -"/people:v1/RelationshipStatus": relationship_status -"/people:v1/RelationshipStatus/value": value -"/people:v1/RelationshipStatus/metadata": metadata -"/people:v1/RelationshipStatus/formattedValue": formatted_value -"/people:v1/ContactGroupMembership": contact_group_membership -"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id -"/people:v1/ImClient": im_client -"/people:v1/ImClient/protocol": protocol -"/people:v1/ImClient/formattedType": formatted_type -"/people:v1/ImClient/metadata": metadata -"/people:v1/ImClient/username": username -"/people:v1/ImClient/formattedProtocol": formatted_protocol -"/people:v1/ImClient/type": type -"/people:v1/Person": person -"/people:v1/Person/urls": urls -"/people:v1/Person/urls/url": url -"/people:v1/Person/birthdays": birthdays -"/people:v1/Person/birthdays/birthday": birthday -"/people:v1/Person/relations": relations -"/people:v1/Person/relations/relation": relation -"/people:v1/Person/nicknames": nicknames -"/people:v1/Person/nicknames/nickname": nickname -"/people:v1/Person/biographies": biographies -"/people:v1/Person/biographies/biography": biography -"/people:v1/Person/imClients": im_clients -"/people:v1/Person/imClients/im_client": im_client -"/people:v1/Person/braggingRights": bragging_rights -"/people:v1/Person/braggingRights/bragging_right": bragging_right -"/people:v1/Person/locales": locales -"/people:v1/Person/locales/locale": locale -"/people:v1/Person/relationshipStatuses": relationship_statuses -"/people:v1/Person/relationshipStatuses/relationship_status": relationship_status -"/people:v1/Person/ageRange": age_range -"/people:v1/Person/events": events -"/people:v1/Person/events/event": event -"/people:v1/Person/interests": interests -"/people:v1/Person/interests/interest": interest -"/people:v1/Person/relationshipInterests": relationship_interests -"/people:v1/Person/relationshipInterests/relationship_interest": relationship_interest -"/people:v1/Person/etag": etag -"/people:v1/Person/organizations": organizations -"/people:v1/Person/organizations/organization": organization -"/people:v1/Person/resourceName": resource_name -"/people:v1/Person/memberships": memberships -"/people:v1/Person/memberships/membership": membership -"/people:v1/Person/metadata": metadata -"/people:v1/Person/occupations": occupations -"/people:v1/Person/occupations/occupation": occupation -"/people:v1/Person/names": names -"/people:v1/Person/names/name": name -"/people:v1/Person/emailAddresses": email_addresses -"/people:v1/Person/emailAddresses/email_address": email_address -"/people:v1/Person/residences": residences -"/people:v1/Person/residences/residence": residence -"/people:v1/Person/skills": skills -"/people:v1/Person/skills/skill": skill -"/people:v1/Person/coverPhotos": cover_photos -"/people:v1/Person/coverPhotos/cover_photo": cover_photo -"/people:v1/Person/taglines": taglines -"/people:v1/Person/taglines/tagline": tagline -"/people:v1/Person/phoneNumbers": phone_numbers -"/people:v1/Person/phoneNumbers/phone_number": phone_number -"/people:v1/Person/addresses": addresses -"/people:v1/Person/addresses/address": address -"/people:v1/Person/photos": photos -"/people:v1/Person/photos/photo": photo -"/people:v1/Person/genders": genders -"/people:v1/Person/genders/gender": gender -"/people:v1/GetPeopleResponse": get_people_response -"/people:v1/GetPeopleResponse/responses": responses -"/people:v1/GetPeopleResponse/responses/response": response -"/people:v1/PersonMetadata": person_metadata -"/people:v1/PersonMetadata/objectType": object_type -"/people:v1/PersonMetadata/previousResourceNames": previous_resource_names -"/people:v1/PersonMetadata/previousResourceNames/previous_resource_name": previous_resource_name -"/people:v1/PersonMetadata/sources": sources -"/people:v1/PersonMetadata/sources/source": source -"/people:v1/PersonMetadata/deleted": deleted -"/people:v1/PersonResponse": person_response -"/people:v1/PersonResponse/person": person -"/people:v1/PersonResponse/requestedResourceName": requested_resource_name -"/people:v1/PersonResponse/httpStatusCode": http_status_code -"/people:v1/Biography": biography -"/people:v1/Biography/value": value -"/people:v1/Biography/metadata": metadata -"/people:v1/Photo": photo -"/people:v1/Photo/url": url -"/people:v1/Photo/metadata": metadata -"/people:v1/Occupation": occupation -"/people:v1/Occupation/value": value -"/people:v1/Occupation/metadata": metadata -"/people:v1/CoverPhoto": cover_photo -"/people:v1/CoverPhoto/default": default -"/people:v1/CoverPhoto/url": url -"/people:v1/CoverPhoto/metadata": metadata -"/people:v1/Url": url -"/people:v1/Url/value": value -"/people:v1/Url/formattedType": formatted_type -"/people:v1/Url/metadata": metadata -"/people:v1/Url/type": type -"/people:v1/BraggingRights": bragging_rights -"/people:v1/BraggingRights/value": value -"/people:v1/BraggingRights/metadata": metadata -"/people:v1/ListConnectionsResponse": list_connections_response -"/people:v1/ListConnectionsResponse/nextPageToken": next_page_token -"/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token -"/people:v1/ListConnectionsResponse/connections": connections -"/people:v1/ListConnectionsResponse/connections/connection": connection -"/people:v1/EmailAddress": email_address -"/people:v1/EmailAddress/value": value -"/people:v1/EmailAddress/formattedType": formatted_type -"/people:v1/EmailAddress/metadata": metadata -"/people:v1/EmailAddress/type": type -"/people:v1/PhoneNumber": phone_number -"/people:v1/PhoneNumber/value": value -"/people:v1/PhoneNumber/formattedType": formatted_type -"/people:v1/PhoneNumber/metadata": metadata -"/people:v1/PhoneNumber/type": type -"/people:v1/PhoneNumber/canonicalForm": canonical_form -"/people:v1/Date": date -"/people:v1/Date/month": month -"/people:v1/Date/day": day -"/people:v1/Date/year": year -"/people:v1/DomainMembership": domain_membership -"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain -"/people:v1/Interest": interest -"/people:v1/Interest/value": value -"/people:v1/Interest/metadata": metadata -"/people:v1/Relation": relation -"/people:v1/Relation/formattedType": formatted_type -"/people:v1/Relation/person": person -"/people:v1/Relation/metadata": metadata -"/people:v1/Relation/type": type -"/people:v1/Name": name -"/people:v1/Name/phoneticFamilyName": phonetic_family_name -"/people:v1/Name/givenName": given_name -"/people:v1/Name/phoneticMiddleName": phonetic_middle_name -"/people:v1/Name/middleName": middle_name -"/people:v1/Name/phoneticGivenName": phonetic_given_name -"/people:v1/Name/honorificPrefix": honorific_prefix -"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix -"/people:v1/Name/metadata": metadata -"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix -"/people:v1/Name/familyName": family_name -"/people:v1/Name/displayName": display_name -"/people:v1/Name/honorificSuffix": honorific_suffix "/plus:v1/fields": fields "/plus:v1/key": key "/plus:v1/quotaUser": quota_user @@ -23219,6 +23626,7 @@ "/reseller:v1/Subscription": subscription "/reseller:v1/Subscription/billingMethod": billing_method "/reseller:v1/Subscription/creationTime": creation_time +"/reseller:v1/Subscription/customerDomain": customer_domain "/reseller:v1/Subscription/customerId": customer_id "/reseller:v1/Subscription/kind": kind "/reseller:v1/Subscription/plan": plan @@ -23600,6 +24008,7 @@ "/sqladmin:v1beta4/DatabaseFlags/name": name "/sqladmin:v1beta4/DatabaseFlags/value": value "/sqladmin:v1beta4/DatabaseInstance": database_instance +"/sqladmin:v1beta4/DatabaseInstance/backendType": backend_type "/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size "/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version "/sqladmin:v1beta4/DatabaseInstance/etag": etag @@ -23625,6 +24034,8 @@ "/sqladmin:v1beta4/DatabaseInstance/serviceAccountEmailAddress": service_account_email_address "/sqladmin:v1beta4/DatabaseInstance/settings": settings "/sqladmin:v1beta4/DatabaseInstance/state": state +"/sqladmin:v1beta4/DatabaseInstance/suspensionReason": suspension_reason +"/sqladmin:v1beta4/DatabaseInstance/suspensionReason/suspension_reason": suspension_reason "/sqladmin:v1beta4/DatabasesListResponse/items": items "/sqladmin:v1beta4/DatabasesListResponse/items/item": item "/sqladmin:v1beta4/DatabasesListResponse/kind": kind @@ -24181,6 +24592,30 @@ "/tagmanager:v1/tagmanager.accounts.containers.update/accountId": account_id "/tagmanager:v1/tagmanager.accounts.containers.update/containerId": container_id "/tagmanager:v1/tagmanager.accounts.containers.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.environments.create": create_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete": delete_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get": get_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.list": list_account_container_environments +"/tagmanager:v1/tagmanager.accounts.containers.environments.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch": patch_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.environments.update": update_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/fingerprint": fingerprint "/tagmanager:v1/tagmanager.accounts.containers.folders.create": create_account_container_folder "/tagmanager:v1/tagmanager.accounts.containers.folders.create/accountId": account_id "/tagmanager:v1/tagmanager.accounts.containers.folders.create/containerId": container_id @@ -24211,6 +24646,10 @@ "/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/tagId": tag_id "/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/triggerId": trigger_id "/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update": update_account_container_reauthorize_environment +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/environmentId": environment_id "/tagmanager:v1/tagmanager.accounts.containers.tags.create/accountId": account_id "/tagmanager:v1/tagmanager.accounts.containers.tags.create/containerId": container_id "/tagmanager:v1/tagmanager.accounts.containers.tags.delete/accountId": account_id @@ -24357,6 +24796,19 @@ "/tagmanager:v1/CreateContainerVersionResponse": create_container_version_response "/tagmanager:v1/CreateContainerVersionResponse/compilerError": compiler_error "/tagmanager:v1/CreateContainerVersionResponse/containerVersion": container_version +"/tagmanager:v1/Environment": environment +"/tagmanager:v1/Environment/accountId": account_id +"/tagmanager:v1/Environment/authorizationCode": authorization_code +"/tagmanager:v1/Environment/authorizationTimestampMs": authorization_timestamp_ms +"/tagmanager:v1/Environment/containerId": container_id +"/tagmanager:v1/Environment/containerVersionId": container_version_id +"/tagmanager:v1/Environment/description": description +"/tagmanager:v1/Environment/enableDebug": enable_debug +"/tagmanager:v1/Environment/environmentId": environment_id +"/tagmanager:v1/Environment/fingerprint": fingerprint +"/tagmanager:v1/Environment/name": name +"/tagmanager:v1/Environment/type": type +"/tagmanager:v1/Environment/url": url "/tagmanager:v1/Folder": folder "/tagmanager:v1/Folder/accountId": account_id "/tagmanager:v1/Folder/containerId": container_id @@ -24384,6 +24836,9 @@ "/tagmanager:v1/ListContainersResponse": list_containers_response "/tagmanager:v1/ListContainersResponse/containers": containers "/tagmanager:v1/ListContainersResponse/containers/container": container +"/tagmanager:v1/ListEnvironmentsResponse": list_environments_response +"/tagmanager:v1/ListEnvironmentsResponse/environments": environments +"/tagmanager:v1/ListEnvironmentsResponse/environments/environment": environment "/tagmanager:v1/ListFoldersResponse": list_folders_response "/tagmanager:v1/ListFoldersResponse/folders": folders "/tagmanager:v1/ListFoldersResponse/folders/folder": folder @@ -24752,6 +25207,125 @@ "/urlshortener:v1/UrlHistory/kind": kind "/urlshortener:v1/UrlHistory/nextPageToken": next_page_token "/urlshortener:v1/UrlHistory/totalItems": total_items +"/vision:v1/key": key +"/vision:v1/quotaUser": quota_user +"/vision:v1/fields": fields +"/vision:v1/vision.images.annotate": annotate_image +"/vision:v1/ImageSource": image_source +"/vision:v1/ImageSource/gcsImageUri": gcs_image_uri +"/vision:v1/AnnotateImageRequest": annotate_image_request +"/vision:v1/AnnotateImageRequest/image": image +"/vision:v1/AnnotateImageRequest/imageContext": image_context +"/vision:v1/AnnotateImageRequest/features": features +"/vision:v1/AnnotateImageRequest/features/feature": feature +"/vision:v1/AnnotateImageResponse": annotate_image_response +"/vision:v1/AnnotateImageResponse/labelAnnotations": label_annotations +"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation +"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations +"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation +"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation +"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation +"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations +"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation +"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations +"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation +"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations +"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation +"/vision:v1/AnnotateImageResponse/error": error +"/vision:v1/LatLongRect": lat_long_rect +"/vision:v1/LatLongRect/maxLatLng": max_lat_lng +"/vision:v1/LatLongRect/minLatLng": min_lat_lng +"/vision:v1/Status": status +"/vision:v1/Status/code": code +"/vision:v1/Status/details": details +"/vision:v1/Status/details/detail": detail +"/vision:v1/Status/details/detail/detail": detail +"/vision:v1/Status/message": message +"/vision:v1/FaceAnnotation": face_annotation +"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle +"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood +"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly +"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence +"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood +"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence +"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood +"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood +"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood +"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly +"/vision:v1/FaceAnnotation/panAngle": pan_angle +"/vision:v1/FaceAnnotation/landmarks": landmarks +"/vision:v1/FaceAnnotation/landmarks/landmark": landmark +"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood +"/vision:v1/FaceAnnotation/rollAngle": roll_angle +"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood +"/vision:v1/Vertex": vertex +"/vision:v1/Vertex/y": y +"/vision:v1/Vertex/x": x +"/vision:v1/ColorInfo": color_info +"/vision:v1/ColorInfo/pixelFraction": pixel_fraction +"/vision:v1/ColorInfo/color": color +"/vision:v1/ColorInfo/score": score +"/vision:v1/BoundingPoly": bounding_poly +"/vision:v1/BoundingPoly/vertices": vertices +"/vision:v1/BoundingPoly/vertices/vertex": vertex +"/vision:v1/Landmark": landmark +"/vision:v1/Landmark/position": position +"/vision:v1/Landmark/type": type +"/vision:v1/ImageContext": image_context +"/vision:v1/ImageContext/languageHints": language_hints +"/vision:v1/ImageContext/languageHints/language_hint": language_hint +"/vision:v1/ImageContext/latLongRect": lat_long_rect +"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request +"/vision:v1/BatchAnnotateImagesRequest/requests": requests +"/vision:v1/BatchAnnotateImagesRequest/requests/request": request +"/vision:v1/EntityAnnotation": entity_annotation +"/vision:v1/EntityAnnotation/mid": mid +"/vision:v1/EntityAnnotation/description": description +"/vision:v1/EntityAnnotation/topicality": topicality +"/vision:v1/EntityAnnotation/locale": locale +"/vision:v1/EntityAnnotation/properties": properties +"/vision:v1/EntityAnnotation/properties/property": property +"/vision:v1/EntityAnnotation/score": score +"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly +"/vision:v1/EntityAnnotation/locations": locations +"/vision:v1/EntityAnnotation/locations/location": location +"/vision:v1/EntityAnnotation/confidence": confidence +"/vision:v1/Property": property +"/vision:v1/Property/value": value +"/vision:v1/Property/name": name +"/vision:v1/Color": color +"/vision:v1/Color/green": green +"/vision:v1/Color/blue": blue +"/vision:v1/Color/red": red +"/vision:v1/Color/alpha": alpha +"/vision:v1/LocationInfo": location_info +"/vision:v1/LocationInfo/latLng": lat_lng +"/vision:v1/SafeSearchAnnotation": safe_search_annotation +"/vision:v1/SafeSearchAnnotation/medical": medical +"/vision:v1/SafeSearchAnnotation/violence": violence +"/vision:v1/SafeSearchAnnotation/spoof": spoof +"/vision:v1/SafeSearchAnnotation/adult": adult +"/vision:v1/Image": image +"/vision:v1/Image/source": source +"/vision:v1/Image/content": content +"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation +"/vision:v1/DominantColorsAnnotation/colors": colors +"/vision:v1/DominantColorsAnnotation/colors/color": color +"/vision:v1/Feature": feature +"/vision:v1/Feature/maxResults": max_results +"/vision:v1/Feature/type": type +"/vision:v1/BatchAnnotateImagesResponse": batch_annotate_images_response +"/vision:v1/BatchAnnotateImagesResponse/responses": responses +"/vision:v1/BatchAnnotateImagesResponse/responses/response": response +"/vision:v1/ImageProperties": image_properties +"/vision:v1/ImageProperties/dominantColors": dominant_colors +"/vision:v1/Position": position +"/vision:v1/Position/y": y +"/vision:v1/Position/z": z +"/vision:v1/Position/x": x +"/vision:v1/LatLng": lat_lng +"/vision:v1/LatLng/longitude": longitude +"/vision:v1/LatLng/latitude": latitude "/webmasters:v3/fields": fields "/webmasters:v3/key": key "/webmasters:v3/quotaUser": quota_user diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 801ff9541..d62dc5712 100644 --- a/generated/google/apis/adexchangebuyer_v1_4.rb +++ b/generated/google/apis/adexchangebuyer_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_4 VERSION = 'V1_4' - REVISION = '20160118' + REVISION = '20160222' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4/classes.rb b/generated/google/apis/adexchangebuyer_v1_4/classes.rb index 79ddc991d..0e5794cee 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -91,6 +91,18 @@ module Google class BidderLocation include Google::Apis::Core::Hashable + # The protocol that the bidder endpoint is using. By default, OpenRTB protocols + # use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses + # protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right + # now. Allowed values: + # - PROTOCOL_ADX + # - PROTOCOL_OPENRTB_2_2 + # - PROTOCOL_OPENRTB_2_3 + # - PROTOCOL_OPENRTB_PROTOBUF + # Corresponds to the JSON property `bidProtocol` + # @return [String] + attr_accessor :bid_protocol + # The maximum queries per second the Ad Exchange will send. # Corresponds to the JSON property `maximumQps` # @return [Fixnum] @@ -118,6 +130,7 @@ module Google # Update properties of this object def update!(**args) + @bid_protocol = args[:bid_protocol] if args.key?(:bid_protocol) @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps) @region = args[:region] if args.key?(:region) @url = args[:url] if args.key?(:url) @@ -1024,6 +1037,54 @@ module Google end end + # + class DealServingMetadata + include Google::Apis::Core::Hashable + + # Tracks which parties (if any) have paused a deal. The deal is considered + # paused if has_buyer_paused || has_seller_paused. + # Corresponds to the JSON property `dealPauseStatus` + # @return [Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus] + attr_accessor :deal_pause_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deal_pause_status = args[:deal_pause_status] if args.key?(:deal_pause_status) + end + end + + # Tracks which parties (if any) have paused a deal. The deal is considered + # paused if has_buyer_paused || has_seller_paused. + class DealServingMetadataDealPauseStatus + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `hasBuyerPaused` + # @return [Boolean] + attr_accessor :has_buyer_paused + alias_method :has_buyer_paused?, :has_buyer_paused + + # + # Corresponds to the JSON property `hasSellerPaused` + # @return [Boolean] + attr_accessor :has_seller_paused + alias_method :has_seller_paused?, :has_seller_paused + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused) + @has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused) + end + end + # class DealTerms include Google::Apis::Core::Hashable @@ -1117,10 +1178,12 @@ module Google class DealTermsNonGuaranteedAuctionTerms include Google::Apis::Core::Hashable - # Id of the corresponding private auction. - # Corresponds to the JSON property `privateAuctionId` - # @return [String] - attr_accessor :private_auction_id + # True if open auction buyers are allowed to compete with invited buyers in this + # private auction (buyer-readonly). + # Corresponds to the JSON property `autoOptimizePrivateAuction` + # @return [Boolean] + attr_accessor :auto_optimize_private_auction + alias_method :auto_optimize_private_auction?, :auto_optimize_private_auction # Reserve price for the specified buyer. # Corresponds to the JSON property `reservePricePerBuyers` @@ -1133,7 +1196,7 @@ module Google # Update properties of this object def update!(**args) - @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id) + @auto_optimize_private_auction = args[:auto_optimize_private_auction] if args.key?(:auto_optimize_private_auction) @reserve_price_per_buyers = args[:reserve_price_per_buyers] if args.key?(:reserve_price_per_buyers) end end @@ -1337,6 +1400,11 @@ module Google # @return [Array] attr_accessor :deals + # The latest revision number after the update has been applied. + # Corresponds to the JSON property `orderRevisionNumber` + # @return [String] + attr_accessor :order_revision_number + def initialize(**args) update!(**args) end @@ -1344,6 +1412,7 @@ module Google # Update properties of this object def update!(**args) @deals = args[:deals] if args.key?(:deals) + @order_revision_number = args[:order_revision_number] if args.key?(:order_revision_number) end end @@ -1423,6 +1492,25 @@ module Google end end + # + class GetPublisherProfilesByAccountIdResponse + include Google::Apis::Core::Hashable + + # Profiles for the requested publisher + # Corresponds to the JSON property `profiles` + # @return [Array] + attr_accessor :profiles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @profiles = args[:profiles] if args.key?(:profiles) + end + end + # A proposal can contain multiple deals. A deal contains the terms and targeting # information that is used for serving. class MarketplaceDeal @@ -1443,11 +1531,22 @@ module Google # @return [String] attr_accessor :creative_pre_approval_policy + # Specifies whether the creative is safeFrame compatible (buyer-readonly) + # Corresponds to the JSON property `creativeSafeFrameCompatibility` + # @return [String] + attr_accessor :creative_safe_frame_compatibility + # A unique deal=id for the deal (readonly). # Corresponds to the JSON property `dealId` # @return [String] attr_accessor :deal_id + # Metadata about the serving status of this deal (readonly, writes via custom + # actions) + # Corresponds to the JSON property `dealServingMetadata` + # @return [Google::Apis::AdexchangebuyerV1_4::DealServingMetadata] + attr_accessor :deal_serving_metadata + # The set of fields around delivery control that are interesting for a buyer to # see but are non-negotiable. These are set by the publisher. This message is # assigned an id of 100 since some day we would want to model this as a protobuf @@ -1506,6 +1605,13 @@ module Google # @return [String] attr_accessor :product_revision_number + # Specifies the creative source for programmatic deals, PUBLISHER means creative + # is provided by seller and ADVERTISR means creative is provided by buyer. ( + # buyer-readonly) + # Corresponds to the JSON property `programmaticCreativeSource` + # @return [String] + attr_accessor :programmatic_creative_source + # # Corresponds to the JSON property `proposalId` # @return [String] @@ -1516,7 +1622,8 @@ module Google # @return [Array] attr_accessor :seller_contacts - # The shared targeting visible to buyers and sellers. (updatable) + # The shared targeting visible to buyers and sellers. Each shared targeting + # entity is AND'd together. (updatable) # Corresponds to the JSON property `sharedTargetings` # @return [Array] attr_accessor :shared_targetings @@ -1545,7 +1652,9 @@ module Google @buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data) @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms) @creative_pre_approval_policy = args[:creative_pre_approval_policy] if args.key?(:creative_pre_approval_policy) + @creative_safe_frame_compatibility = args[:creative_safe_frame_compatibility] if args.key?(:creative_safe_frame_compatibility) @deal_id = args[:deal_id] if args.key?(:deal_id) + @deal_serving_metadata = args[:deal_serving_metadata] if args.key?(:deal_serving_metadata) @delivery_control = args[:delivery_control] if args.key?(:delivery_control) @external_deal_id = args[:external_deal_id] if args.key?(:external_deal_id) @flight_end_time_ms = args[:flight_end_time_ms] if args.key?(:flight_end_time_ms) @@ -1556,6 +1665,7 @@ module Google @name = args[:name] if args.key?(:name) @product_id = args[:product_id] if args.key?(:product_id) @product_revision_number = args[:product_revision_number] if args.key?(:product_revision_number) + @programmatic_creative_source = args[:programmatic_creative_source] if args.key?(:programmatic_creative_source) @proposal_id = args[:proposal_id] if args.key?(:proposal_id) @seller_contacts = args[:seller_contacts] if args.key?(:seller_contacts) @shared_targetings = args[:shared_targetings] if args.key?(:shared_targetings) @@ -2291,6 +2401,14 @@ module Google # @return [Array] attr_accessor :creator_contacts + # The set of fields around delivery control that are interesting for a buyer to + # see but are non-negotiable. These are set by the publisher. This message is + # assigned an id of 100 since some day we would want to model this as a protobuf + # extension. + # Corresponds to the JSON property `deliveryControl` + # @return [Google::Apis::AdexchangebuyerV1_4::DeliveryControl] + attr_accessor :delivery_control + # The proposed end time for the deal (ms since epoch) (buyer-readonly) # Corresponds to the JSON property `flightEndTimeMs` # @return [String] @@ -2332,11 +2450,21 @@ module Google # @return [String] attr_accessor :last_update_time_ms + # Optional legacy offer id if this offer is a preferred deal offer. + # Corresponds to the JSON property `legacyOfferId` + # @return [String] + attr_accessor :legacy_offer_id + # The name for this product as set by the seller. (buyer-readonly) # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # Optional private auction id if this offer is a private auction offer. + # Corresponds to the JSON property `privateAuctionId` + # @return [String] + attr_accessor :private_auction_id + # The unique id for the product (readonly) # Corresponds to the JSON property `productId` # @return [String] @@ -2388,6 +2516,7 @@ module Google def update!(**args) @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms) @creator_contacts = args[:creator_contacts] if args.key?(:creator_contacts) + @delivery_control = args[:delivery_control] if args.key?(:delivery_control) @flight_end_time_ms = args[:flight_end_time_ms] if args.key?(:flight_end_time_ms) @flight_start_time_ms = args[:flight_start_time_ms] if args.key?(:flight_start_time_ms) @has_creator_signed_off = args[:has_creator_signed_off] if args.key?(:has_creator_signed_off) @@ -2395,7 +2524,9 @@ module Google @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms) + @legacy_offer_id = args[:legacy_offer_id] if args.key?(:legacy_offer_id) @name = args[:name] if args.key?(:name) + @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id) @product_id = args[:product_id] if args.key?(:product_id) @revision_number = args[:revision_number] if args.key?(:revision_number) @seller = args[:seller] if args.key?(:seller) @@ -2464,7 +2595,8 @@ module Google attr_accessor :is_renegotiating alias_method :is_renegotiating?, :is_renegotiating - # True, if the buyside inventory setup is complete for this proposal. (readonly) + # True, if the buyside inventory setup is complete for this proposal. (readonly, + # except via OrderSetupCompleted action) # Corresponds to the JSON property `isSetupComplete` # @return [Boolean] attr_accessor :is_setup_complete @@ -2497,11 +2629,21 @@ module Google # @return [String] attr_accessor :name + # Optional negotiation id if this proposal is a preferred deal proposal. + # Corresponds to the JSON property `negotiationId` + # @return [String] + attr_accessor :negotiation_id + # Indicates whether the buyer/seller created the proposal.(readonly) # Corresponds to the JSON property `originatorRole` # @return [String] attr_accessor :originator_role + # Optional private auction id if this proposal is a private auction proposal. + # Corresponds to the JSON property `privateAuctionId` + # @return [String] + attr_accessor :private_auction_id + # The unique id of the proposal. (readonly). # Corresponds to the JSON property `proposalId` # @return [String] @@ -2552,7 +2694,9 @@ module Google @last_updater_or_commentor_role = args[:last_updater_or_commentor_role] if args.key?(:last_updater_or_commentor_role) @last_updater_role = args[:last_updater_role] if args.key?(:last_updater_role) @name = args[:name] if args.key?(:name) + @negotiation_id = args[:negotiation_id] if args.key?(:negotiation_id) @originator_role = args[:originator_role] if args.key?(:originator_role) + @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id) @proposal_id = args[:proposal_id] if args.key?(:proposal_id) @proposal_state = args[:proposal_state] if args.key?(:proposal_state) @revision_number = args[:revision_number] if args.key?(:revision_number) @@ -2562,6 +2706,101 @@ module Google end end + # + class PublisherProfileApiProto + include Google::Apis::Core::Hashable + + # A pitch statement for the buyer + # Corresponds to the JSON property `buyerPitchStatement` + # @return [String] + attr_accessor :buyer_pitch_statement + + # Link to publisher's Google+ page. + # Corresponds to the JSON property `googlePlusLink` + # @return [String] + attr_accessor :google_plus_link + + # True, if this is the parent profile, which represents all domains owned by the + # publisher. + # Corresponds to the JSON property `isParent` + # @return [Boolean] + attr_accessor :is_parent + alias_method :is_parent?, :is_parent + + # Identifies what kind of resource this is. Value: the fixed string " + # adexchangebuyer#publisherProfileApiProto". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The url to the logo for the publisher. + # Corresponds to the JSON property `logoUrl` + # @return [String] + attr_accessor :logo_url + + # The url for additional marketing and sales materials. + # Corresponds to the JSON property `mediaKitLink` + # @return [String] + attr_accessor :media_kit_link + + # + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Publisher provided overview. + # Corresponds to the JSON property `overview` + # @return [String] + attr_accessor :overview + + # Unique id for the publisher profile + # Corresponds to the JSON property `profileId` + # @return [Fixnum] + attr_accessor :profile_id + + # The list of domains represented in this publisher profile. Empty if this is a + # parent profile. + # Corresponds to the JSON property `publisherDomains` + # @return [Array] + attr_accessor :publisher_domains + + # Link to publisher rate card + # Corresponds to the JSON property `rateCardInfoLink` + # @return [String] + attr_accessor :rate_card_info_link + + # Link for a sample content page. + # Corresponds to the JSON property `samplePageLink` + # @return [String] + attr_accessor :sample_page_link + + # Publisher provided key metrics and rankings. + # Corresponds to the JSON property `topHeadlines` + # @return [Array] + attr_accessor :top_headlines + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement) + @google_plus_link = args[:google_plus_link] if args.key?(:google_plus_link) + @is_parent = args[:is_parent] if args.key?(:is_parent) + @kind = args[:kind] if args.key?(:kind) + @logo_url = args[:logo_url] if args.key?(:logo_url) + @media_kit_link = args[:media_kit_link] if args.key?(:media_kit_link) + @name = args[:name] if args.key?(:name) + @overview = args[:overview] if args.key?(:overview) + @profile_id = args[:profile_id] if args.key?(:profile_id) + @publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains) + @rate_card_info_link = args[:rate_card_info_link] if args.key?(:rate_card_info_link) + @sample_page_link = args[:sample_page_link] if args.key?(:sample_page_link) + @top_headlines = args[:top_headlines] if args.key?(:top_headlines) + end + end + # class Seller include Google::Apis::Core::Hashable @@ -2592,12 +2831,13 @@ module Google class SharedTargeting include Google::Apis::Core::Hashable - # The list of values to exclude from targeting. + # The list of values to exclude from targeting. Each value is AND'd together. # Corresponds to the JSON property `exclusions` # @return [Array] attr_accessor :exclusions - # The list of value to include as part of the targeting. + # The list of value to include as part of the targeting. Each value is OR'd + # together. # Corresponds to the JSON property `inclusions` # @return [Array] attr_accessor :inclusions diff --git a/generated/google/apis/adexchangebuyer_v1_4/representations.rb b/generated/google/apis/adexchangebuyer_v1_4/representations.rb index a0106d167..d6af8cdeb 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/representations.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/representations.rb @@ -27,55 +27,83 @@ module Google class BidderLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AccountsList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddOrderDealsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddOrderDealsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddOrderNotesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddOrderNotesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BillingInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BillingInfoList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Budget class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Buyer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContactInformation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateOrdersRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateOrdersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Creative @@ -83,6 +111,8 @@ module Google class Correction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FilteringReasons @@ -90,7 +120,11 @@ module Google class Reason class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class NativeAd @@ -98,15 +132,23 @@ module Google class AppIcon class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Logo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ServingRestriction @@ -114,96 +156,164 @@ module Google class Context class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DisapprovalReason class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CreativesList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DealServingMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DealServingMetadataDealPauseStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DealTerms class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DealTermsGuaranteedFixedPriceTerms class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DealTermsNonGuaranteedAuctionTerms class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DealTermsNonGuaranteedFixedPriceTerms class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteOrderDealsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteOrderDealsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeliveryControl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeliveryControlFrequencyCap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EditAllOrderDealsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EditAllOrderDealsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetOrderDealsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetOrderNotesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetOrdersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetPublisherProfilesByAccountIdResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MarketplaceDeal class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MarketplaceDealParty class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MarketplaceLabel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MarketplaceNote class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PerformanceReport class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PerformanceReportList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PretargetingConfig @@ -211,71 +321,113 @@ module Google class Dimension class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExcludedPlacement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Placement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoPlayerSize class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PretargetingConfigList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Price class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PricePerBuyer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PrivateData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Product class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Proposal class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PublisherProfileApiProto + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Seller class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SharedTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetingValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetingValueCreativeSize class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetingValueDayPartTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetingValueDayPartTargetingDayPart class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetingValueSize class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account @@ -295,6 +447,7 @@ module Google class BidderLocation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :bid_protocol, as: 'bidProtocol' property :maximum_qps, as: 'maximumQps' property :region, as: 'region' property :url, as: 'url' @@ -557,6 +710,22 @@ module Google end end + class DealServingMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deal_pause_status, as: 'dealPauseStatus', class: Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus, decorator: Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus::Representation + + end + end + + class DealServingMetadataDealPauseStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :has_buyer_paused, as: 'hasBuyerPaused' + property :has_seller_paused, as: 'hasSellerPaused' + end + end + class DealTerms # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -587,7 +756,7 @@ module Google class DealTermsNonGuaranteedAuctionTerms # @private class Representation < Google::Apis::Core::JsonRepresentation - property :private_auction_id, as: 'privateAuctionId' + property :auto_optimize_private_auction, as: 'autoOptimizePrivateAuction' collection :reserve_price_per_buyers, as: 'reservePricePerBuyers', class: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer, decorator: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer::Representation end @@ -655,6 +824,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deals, as: 'deals', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal::Representation + property :order_revision_number, as: 'orderRevisionNumber' end end @@ -690,6 +860,14 @@ module Google end end + class GetPublisherProfilesByAccountIdResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :profiles, as: 'profiles', class: Google::Apis::AdexchangebuyerV1_4::PublisherProfileApiProto, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProfileApiProto::Representation + + end + end + class MarketplaceDeal # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -697,7 +875,10 @@ module Google property :creation_time_ms, as: 'creationTimeMs' property :creative_pre_approval_policy, as: 'creativePreApprovalPolicy' + property :creative_safe_frame_compatibility, as: 'creativeSafeFrameCompatibility' property :deal_id, as: 'dealId' + property :deal_serving_metadata, as: 'dealServingMetadata', class: Google::Apis::AdexchangebuyerV1_4::DealServingMetadata, decorator: Google::Apis::AdexchangebuyerV1_4::DealServingMetadata::Representation + property :delivery_control, as: 'deliveryControl', class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl, decorator: Google::Apis::AdexchangebuyerV1_4::DeliveryControl::Representation property :external_deal_id, as: 'externalDealId' @@ -709,6 +890,7 @@ module Google property :name, as: 'name' property :product_id, as: 'productId' property :product_revision_number, as: 'productRevisionNumber' + property :programmatic_creative_source, as: 'programmaticCreativeSource' property :proposal_id, as: 'proposalId' collection :seller_contacts, as: 'sellerContacts', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation @@ -902,6 +1084,8 @@ module Google property :creation_time_ms, as: 'creationTimeMs' collection :creator_contacts, as: 'creatorContacts', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation + property :delivery_control, as: 'deliveryControl', class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl, decorator: Google::Apis::AdexchangebuyerV1_4::DeliveryControl::Representation + property :flight_end_time_ms, as: 'flightEndTimeMs' property :flight_start_time_ms, as: 'flightStartTimeMs' property :has_creator_signed_off, as: 'hasCreatorSignedOff' @@ -910,7 +1094,9 @@ module Google collection :labels, as: 'labels', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel::Representation property :last_update_time_ms, as: 'lastUpdateTimeMs' + property :legacy_offer_id, as: 'legacyOfferId' property :name, as: 'name' + property :private_auction_id, as: 'privateAuctionId' property :product_id, as: 'productId' property :revision_number, as: 'revisionNumber' property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation @@ -947,7 +1133,9 @@ module Google property :last_updater_or_commentor_role, as: 'lastUpdaterOrCommentorRole' property :last_updater_role, as: 'lastUpdaterRole' property :name, as: 'name' + property :negotiation_id, as: 'negotiationId' property :originator_role, as: 'originatorRole' + property :private_auction_id, as: 'privateAuctionId' property :proposal_id, as: 'proposalId' property :proposal_state, as: 'proposalState' property :revision_number, as: 'revisionNumber' @@ -959,6 +1147,25 @@ module Google end end + class PublisherProfileApiProto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :buyer_pitch_statement, as: 'buyerPitchStatement' + property :google_plus_link, as: 'googlePlusLink' + property :is_parent, as: 'isParent' + property :kind, as: 'kind' + property :logo_url, as: 'logoUrl' + property :media_kit_link, as: 'mediaKitLink' + property :name, as: 'name' + property :overview, as: 'overview' + property :profile_id, as: 'profileId' + collection :publisher_domains, as: 'publisherDomains' + property :rate_card_info_link, as: 'rateCardInfoLink' + property :sample_page_link, as: 'samplePageLink' + collection :top_headlines, as: 'topHeadlines' + end + end + class Seller # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/adexchangebuyer_v1_4/service.rb b/generated/google/apis/adexchangebuyer_v1_4/service.rb index bde253ffa..f514b4adb 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/service.rb @@ -1318,6 +1318,39 @@ module Google execute_or_queue_command(command, &block) end + # Update the given proposal to indicate that setup has been completed. + # @param [String] proposal_id + # The proposal id for which the setup is complete + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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 proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'proposals/{proposalId}/setupcomplete', options) + command.params['proposalId'] = proposal_id unless proposal_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Update the given proposal # @param [String] proposal_id # The proposal id to update. @@ -1364,6 +1397,41 @@ module Google command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end + + # Gets the requested publisher profile(s) by publisher accountId. + # @param [Fixnum] account_id + # The accountId of the publisher to get profiles for. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse] + # + # @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_pub_profiles(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'publisher/{accountId}/profiles', options) + command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse::Representation + command.response_class = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/adexchangeseller_v2_0/representations.rb b/generated/google/apis/adexchangeseller_v2_0/representations.rb index d876f8f9d..db151500f 100644 --- a/generated/google/apis/adexchangeseller_v2_0/representations.rb +++ b/generated/google/apis/adexchangeseller_v2_0/representations.rb @@ -24,26 +24,38 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Accounts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClient class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClients class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Alert class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Alerts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannel @@ -51,23 +63,35 @@ module Google class TargetingInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PreferredDeal class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PreferredDeals class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report @@ -75,27 +99,41 @@ module Google class Header class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ReportingMetadataEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedReport class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedReports class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/admin_datatransfer_v1.rb b/generated/google/apis/admin_datatransfer_v1.rb index 1aa1e7ea4..0b1393650 100644 --- a/generated/google/apis/admin_datatransfer_v1.rb +++ b/generated/google/apis/admin_datatransfer_v1.rb @@ -20,12 +20,12 @@ module Google module Apis # Admin Data Transfer API # - # Admin Data Transfer API lets you transfer user data from one user to another. + # Transfers user data from one user to another. # # @see https://developers.google.com/admin-sdk/data-transfer/ module AdminDatatransferV1 VERSION = 'DatatransferV1' - REVISION = '20151124' + REVISION = '20160223' # View and manage data transfers between users in your organization AUTH_ADMIN_DATATRANSFER = 'https://www.googleapis.com/auth/admin.datatransfer' diff --git a/generated/google/apis/admin_datatransfer_v1/representations.rb b/generated/google/apis/admin_datatransfer_v1/representations.rb index 185d30af5..645336714 100644 --- a/generated/google/apis/admin_datatransfer_v1/representations.rb +++ b/generated/google/apis/admin_datatransfer_v1/representations.rb @@ -24,26 +24,38 @@ module Google class Application class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApplicationDataTransfer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApplicationTransferParam class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApplicationsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataTransfer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataTransfersListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Application diff --git a/generated/google/apis/admin_datatransfer_v1/service.rb b/generated/google/apis/admin_datatransfer_v1/service.rb index e4b707b4f..1f9de8493 100644 --- a/generated/google/apis/admin_datatransfer_v1/service.rb +++ b/generated/google/apis/admin_datatransfer_v1/service.rb @@ -22,7 +22,7 @@ module Google module AdminDatatransferV1 # Admin Data Transfer API # - # Admin Data Transfer API lets you transfer user data from one user to another. + # Transfers user data from one user to another. # # @example # require 'google/apis/admin_datatransfer_v1' diff --git a/generated/google/apis/admin_directory_v1/representations.rb b/generated/google/apis/admin_directory_v1/representations.rb index 7c480774c..23ea3182e 100644 --- a/generated/google/apis/admin_directory_v1/representations.rb +++ b/generated/google/apis/admin_directory_v1/representations.rb @@ -24,30 +24,44 @@ module Google class Alias class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Aliases class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Asp class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Asps class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CalendarResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CalendarResources class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChromeOsDevice @@ -55,55 +69,83 @@ module Google class ActiveTimeRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RecentUser class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ChromeOsDevices class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Customer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomerPostalAddress class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DomainAlias class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DomainAliases class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Domains class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Domains2 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Group class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Groups class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Member class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Members class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MobileDevice @@ -111,39 +153,59 @@ module Google class Application class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class MobileDeviceAction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MobileDevices class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Notification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Notifications class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrgUnit class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrgUnits class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Privilege class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Privileges class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Role @@ -151,23 +213,35 @@ module Google class RolePrivilege class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RoleAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RoleAssignments class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Roles class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Schema class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SchemaFieldSpec @@ -175,87 +249,131 @@ module Google class NumericIndexingSpec class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Schemas class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Token class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tokens class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserAbout class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserAddress class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserEmail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserExternalId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserIm class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserMakeAdmin class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserName class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserOrganization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserPhone class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserPhoto class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserRelation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserUndelete class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserWebsite class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Users class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerificationCode class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerificationCodes class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Alias diff --git a/generated/google/apis/admin_reports_v1/representations.rb b/generated/google/apis/admin_reports_v1/representations.rb index 3fe5c5880..7e7affffa 100644 --- a/generated/google/apis/admin_reports_v1/representations.rb +++ b/generated/google/apis/admin_reports_v1/representations.rb @@ -24,6 +24,8 @@ module Google class Activities class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activity @@ -31,6 +33,8 @@ module Google class Actor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Event @@ -38,16 +42,26 @@ module Google class Parameter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Id class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UsageReport @@ -55,11 +69,17 @@ module Google class Entity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Parameter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class UsageReports @@ -70,8 +90,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Activities diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index d57346b41..73ff285b4 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20160209' + REVISION = '20160223' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsense_v1_4/classes.rb b/generated/google/apis/adsense_v1_4/classes.rb index 2976a7e54..6c3f286e7 100644 --- a/generated/google/apis/adsense_v1_4/classes.rb +++ b/generated/google/apis/adsense_v1_4/classes.rb @@ -126,12 +126,6 @@ module Google attr_accessor :arc_opt_in alias_method :arc_opt_in?, :arc_opt_in - # ARC review mode this ad client is in. Empty if the client is not opted in to - # ARC. Possible values: POST_REVIEW, AUTOMATIC_PRE_REVIEW. - # Corresponds to the JSON property `arcReviewMode` - # @return [String] - attr_accessor :arc_review_mode - # Unique identifier of this ad client. # Corresponds to the JSON property `id` # @return [String] @@ -161,7 +155,6 @@ module Google # Update properties of this object def update!(**args) @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in) - @arc_review_mode = args[:arc_review_mode] if args.key?(:arc_review_mode) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @product_code = args[:product_code] if args.key?(:product_code) diff --git a/generated/google/apis/adsense_v1_4/representations.rb b/generated/google/apis/adsense_v1_4/representations.rb index 2cc53c47d..b9f4f8ace 100644 --- a/generated/google/apis/adsense_v1_4/representations.rb +++ b/generated/google/apis/adsense_v1_4/representations.rb @@ -24,22 +24,32 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Accounts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClient class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClients class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdCode class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdStyle @@ -47,11 +57,17 @@ module Google class Colors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Font class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AdUnit @@ -62,20 +78,32 @@ module Google class BackupOption class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FeedAdsSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MobileContentAdsSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AdUnits class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GenerateReportResponse @@ -83,15 +111,23 @@ module Google class Header class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Alert class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Alerts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannel @@ -99,51 +135,77 @@ module Google class TargetingInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Payment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Payments class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportingMetadataEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedAdStyle class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedAdStyles class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedReport class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedReports class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account @@ -175,7 +237,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :arc_opt_in, as: 'arcOptIn' - property :arc_review_mode, as: 'arcReviewMode' property :id, as: 'id' property :kind, as: 'kind' property :product_code, as: 'productCode' diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index d62f4ec00..70d358013 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20160209' + REVISION = '20160223' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/adsensehost_v4_1/representations.rb b/generated/google/apis/adsensehost_v4_1/representations.rb index 226037e0b..a8c494ac7 100644 --- a/generated/google/apis/adsensehost_v4_1/representations.rb +++ b/generated/google/apis/adsensehost_v4_1/representations.rb @@ -24,22 +24,32 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Accounts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClient class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdClients class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdCode class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdStyle @@ -47,11 +57,17 @@ module Google class Colors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Font class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AdUnit @@ -62,28 +78,44 @@ module Google class BackupOption class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class MobileContentAdsSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AdUnits class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AssociationSession class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report @@ -91,15 +123,23 @@ module Google class Header class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlChannels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/analytics_v3.rb b/generated/google/apis/analytics_v3.rb index 39d6e1345..acb3a0c86 100644 --- a/generated/google/apis/analytics_v3.rb +++ b/generated/google/apis/analytics_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/ module AnalyticsV3 VERSION = 'V3' - REVISION = '20151215' + REVISION = '20160223' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analytics_v3/representations.rb b/generated/google/apis/analytics_v3/representations.rb index ed1735800..611ff72dd 100644 --- a/generated/google/apis/analytics_v3/representations.rb +++ b/generated/google/apis/analytics_v3/representations.rb @@ -27,47 +27,71 @@ module Google class ChildLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permissions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AccountRef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountSummaries class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountTicket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Accounts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdWordsAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteUploadDataRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Column class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Columns class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomDataSource @@ -75,15 +99,23 @@ module Google class ChildLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CustomDataSources class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomDimension @@ -91,11 +123,17 @@ module Google class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CustomDimensions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomMetric @@ -103,11 +141,17 @@ module Google class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CustomMetrics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EntityAdWordsLink @@ -115,11 +159,17 @@ module Google class Entity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class EntityAdWordsLinks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EntityUserLink @@ -127,15 +177,23 @@ module Google class Entity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permissions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class EntityUserLinks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Experiment @@ -143,15 +201,23 @@ module Google class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Variation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Experiments class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Filter @@ -159,35 +225,53 @@ module Google class AdvancedDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LowercaseDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchAndReplaceDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UppercaseDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FilterExpression class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FilterRef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Filters class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GaData @@ -195,6 +279,8 @@ module Google class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataTable @@ -202,6 +288,8 @@ module Google class Col class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Row @@ -209,17 +297,29 @@ module Google class C class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ProfileInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Goal @@ -230,11 +330,17 @@ module Google class EventCondition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlDestinationDetails @@ -242,20 +348,32 @@ module Google class Step class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class VisitNumPagesDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VisitTimeOnSiteDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Goals class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class McfData @@ -263,14 +381,20 @@ module Google class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProfileInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Row @@ -278,8 +402,14 @@ module Google class ConversionPathValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Profile @@ -287,35 +417,53 @@ module Google class ChildLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permissions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ProfileFilterLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProfileFilterLinks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProfileRef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProfileSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Profiles class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RealtimeData @@ -323,23 +471,35 @@ module Google class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProfileInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Segment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Segments class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UnsampledReport @@ -347,39 +507,59 @@ module Google class CloudStorageDownloadDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DriveDownloadDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class UnsampledReports class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Upload class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Uploads class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserRef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WebPropertyRef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WebPropertySummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Webproperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Webproperty @@ -387,15 +567,23 @@ module Google class ChildLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permissions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index 4389cd0a6..d757bcfbc 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -2233,11 +2233,11 @@ module Google # Gets a view (profile) to which the user has access. # @param [String] account_id - # Account ID to retrieve the goal for. + # Account ID to retrieve the view (profile) for. # @param [String] web_property_id - # Web property ID to retrieve the goal for. + # Web property ID to retrieve the view (profile) for. # @param [String] profile_id - # View (Profile) ID to retrieve the goal for. + # View (Profile) ID to retrieve the view (profile) for. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 0395189b2..68d9459ee 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20160203' + REVISION = '20160212' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index 529424f27..96524b943 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -24,154 +24,230 @@ module Google class AppRestrictionsSchema class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppRestrictionsSchemaRestriction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppRestrictionsSchemaRestrictionRestrictionValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppVersion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApprovalUrlInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Collection class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCollectionViewersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCollectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Device class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeviceState class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDevicesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Enterprise class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EnterpriseAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListEnterprisesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SendTestPushNotificationResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Entitlement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListEntitlementsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GroupLicense class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListGroupLicenseUsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListGroupLicensesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Install class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListInstallsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedText class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Product class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductPermission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductPermissions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApproveProductRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GenerateProductApprovalUrlResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StoreCluster class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StoreLayout class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StoreLayoutClustersListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StoreLayoutPagesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StorePage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserToken class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppRestrictionsSchema diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index eecb153ac..7330bae80 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -1841,8 +1841,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the set of Android app permissions for this app that have been - # accepted by the enterprise. + # This method has been deprecated. To programmatically approve applications, you + # must use the iframe mechanism via the generateApprovalUrl and approve + # methods of the Products resource. For more information, see the Play EMM API + # usage requirements. + # The updatePermissions method (deprecated) updates the set of Android app + # permissions for this app that have been accepted by the enterprise. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] product_id diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 3becab49d..e79176317 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20160111' + REVISION = '20160221' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 43b15829d..7244510ce 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -24,186 +24,278 @@ module Google class Apk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApkBinary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApkListing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListApkListingsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApksAddExternallyHostedRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApksAddExternallyHostedResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListApksResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppEdit class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Entitlement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListEntitlementsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExpansionFile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadExpansionFilesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExternallyHostedApk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExternallyHostedApkUsesPermission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteAllImagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListImagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadImagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProduct class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProductListing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProductsBatchRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProductsBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProductsBatchResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InAppProductsBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InsertInAppProductsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InsertInAppProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListInAppProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateInAppProductsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateInAppProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Listing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListListingsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MonthDay class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Price class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductPurchase class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Prorate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Season class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubscriptionDeferralInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchase class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeferSubscriptionPurchasesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeferSubscriptionPurchasesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Testers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TokenPagination class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Track class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTracksResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Apk diff --git a/generated/google/apis/appengine_v1beta5.rb b/generated/google/apis/appengine_v1beta5.rb index 17f5d0148..d25d0a7dd 100644 --- a/generated/google/apis/appengine_v1beta5.rb +++ b/generated/google/apis/appengine_v1beta5.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta5 VERSION = 'V1beta5' - REVISION = '20160121' + REVISION = '20160223' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/appengine_v1beta5/classes.rb b/generated/google/apis/appengine_v1beta5/classes.rb index d0ef44743..49b7bb8ca 100644 --- a/generated/google/apis/appengine_v1beta5/classes.rb +++ b/generated/google/apis/appengine_v1beta5/classes.rb @@ -211,7 +211,7 @@ module Google # @return [String] attr_accessor :name - # The relative name/path of the application. Example: "myapp". @OutputOnly + # The relative name/path of the application. Example: "myapp". # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -222,6 +222,13 @@ module Google # @return [Array] attr_accessor :dispatch_rules + # If set, only users from the specified Google Apps authentication domain may + # access the application. If not set, any Google Account may access the + # application. + # Corresponds to the JSON property `authDomain` + # @return [String] + attr_accessor :auth_domain + # The location from which the application will be run. Choices are "us" for # United States and "eu" for European Union. Application instances will run out # of data centers in the chosen location and all of the application's End User @@ -237,6 +244,17 @@ module Google # @return [String] attr_accessor :code_bucket + # Determines the cookie expiration policy for the application. + # Corresponds to the JSON property `defaultCookieExpiration` + # @return [String] + attr_accessor :default_cookie_expiration + + # The hostname used to reach the application, as resolved by App Engine. @ + # OutputOnly + # Corresponds to the JSON property `defaultHostname` + # @return [String] + attr_accessor :default_hostname + # A Google Cloud Storage bucket which can be used by the application to store # content. @OutputOnly # Corresponds to the JSON property `defaultBucket` @@ -252,8 +270,11 @@ module Google @name = args[:name] if args.key?(:name) @id = args[:id] if args.key?(:id) @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules) + @auth_domain = args[:auth_domain] if args.key?(:auth_domain) @location = args[:location] if args.key?(:location) @code_bucket = args[:code_bucket] if args.key?(:code_bucket) + @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration) + @default_hostname = args[:default_hostname] if args.key?(:default_hostname) @default_bucket = args[:default_bucket] if args.key?(:default_bucket) end end diff --git a/generated/google/apis/appengine_v1beta5/representations.rb b/generated/google/apis/appengine_v1beta5/representations.rb index 47d07f4da..7ae2aa3a9 100644 --- a/generated/google/apis/appengine_v1beta5/representations.rb +++ b/generated/google/apis/appengine_v1beta5/representations.rb @@ -24,134 +24,200 @@ module Google class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Status class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Application class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlDispatchRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Version class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutomaticScaling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CpuUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RequestUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BasicScaling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ManualScaling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Network class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Resources class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StaticFilesHandler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ScriptHandler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApiEndpointHandler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ErrorHandler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Library class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApiConfigHandler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Deployment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FileInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContainerInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Service class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TrafficSplit class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListServicesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationMetadataV1Beta5 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -191,8 +257,11 @@ module Google property :id, as: 'id' collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1beta5::UrlDispatchRule, decorator: Google::Apis::AppengineV1beta5::UrlDispatchRule::Representation + property :auth_domain, as: 'authDomain' property :location, as: 'location' property :code_bucket, as: 'codeBucket' + property :default_cookie_expiration, as: 'defaultCookieExpiration' + property :default_hostname, as: 'defaultHostname' property :default_bucket, as: 'defaultBucket' end end diff --git a/generated/google/apis/appengine_v1beta5/service.rb b/generated/google/apis/appengine_v1beta5/service.rb index 5d935f344..ab91ab12f 100644 --- a/generated/google/apis/appengine_v1beta5/service.rb +++ b/generated/google/apis/appengine_v1beta5/service.rb @@ -465,6 +465,49 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Updates an existing version. Note: UNIMPLEMENTED. + # @param [String] apps_id + # Part of `name`. Name of the resource to update. For example: "apps/myapp/ + # services/default/versions/1". + # @param [String] services_id + # Part of `name`. See documentation of `appsId`. + # @param [String] versions_id + # Part of `name`. See documentation of `appsId`. + # @param [Google::Apis::AppengineV1beta5::Version] version_object + # @param [String] mask + # Standard field mask for the set of fields to be updated. + # @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::AppengineV1beta5::Version] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1beta5::Version] + # + # @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 patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options) + command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation + command.request_object = version_object + command.response_representation = Google::Apis::AppengineV1beta5::Version::Representation + command.response_class = Google::Apis::AppengineV1beta5::Version + command.params['appsId'] = apps_id unless apps_id.nil? + command.params['servicesId'] = services_id unless services_id.nil? + command.params['versionsId'] = versions_id unless versions_id.nil? + command.query['mask'] = mask unless mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/appsactivity_v1/representations.rb b/generated/google/apis/appsactivity_v1/representations.rb index da38cfc13..3217a1eac 100644 --- a/generated/google/apis/appsactivity_v1/representations.rb +++ b/generated/google/apis/appsactivity_v1/representations.rb @@ -24,46 +24,68 @@ module Google class Activity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Event class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListActivitiesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Move class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Parent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PermissionChange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Photo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Rename class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Target class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activity diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index 0b93115a8..310460c90 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20160203' + REVISION = '20160222' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/appstate_v1/representations.rb b/generated/google/apis/appstate_v1/representations.rb index 55c4ed599..0d5c172a8 100644 --- a/generated/google/apis/appstate_v1/representations.rb +++ b/generated/google/apis/appstate_v1/representations.rb @@ -24,18 +24,26 @@ module Google class GetResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WriteResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetResponse diff --git a/generated/google/apis/autoscaler_v1beta2/representations.rb b/generated/google/apis/autoscaler_v1beta2/representations.rb index a2ec9233f..72e0d8721 100644 --- a/generated/google/apis/autoscaler_v1beta2/representations.rb +++ b/generated/google/apis/autoscaler_v1beta2/representations.rb @@ -24,30 +24,44 @@ module Google class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAutoscalerResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCpuUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCustomMetricUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyLoadBalancingUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeprecationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -58,7 +72,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -66,12 +84,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Zone @@ -79,11 +105,17 @@ module Google class MaintenanceWindow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ZoneList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Autoscaler diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 464a5f4c3..a0a140370 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20160129' + REVISION = '20160216' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index c63a02cc7..54c9ec820 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1139,6 +1139,17 @@ module Google # @return [Hash] attr_accessor :table_definitions + # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this + # query. The default value is true. If set to false, the query will use BigQuery' + # s updated SQL dialect with improved standards compliance. When using BigQuery' + # s updated SQL, the values of allowLargeResults and flattenResults are ignored. + # Queries with useLegacySql set to false will be run as if allowLargeResults is + # true and flattenResults is false. + # Corresponds to the JSON property `useLegacySql` + # @return [Boolean] + attr_accessor :use_legacy_sql + alias_method :use_legacy_sql?, :use_legacy_sql + # [Optional] Whether to look for the result in the query cache. The query cache # is a best-effort cache that will be flushed whenever tables in the query are # modified. Moreover, the query cache is only available when a query does not @@ -1181,6 +1192,7 @@ module Google @priority = args[:priority] if args.key?(:priority) @query = args[:query] if args.key?(:query) @table_definitions = args[:table_definitions] if args.key?(:table_definitions) + @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache) @user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources) @write_disposition = args[:write_disposition] if args.key?(:write_disposition) @@ -1456,6 +1468,12 @@ module Google # @return [Array] attr_accessor :query_plan + # [Output-only, Experimental] Referenced tables for the job. Queries that + # reference more than 50 tables will not have a complete list. + # Corresponds to the JSON property `referencedTables` + # @return [Array] + attr_accessor :referenced_tables + # [Output-only] Total bytes billed for the job. # Corresponds to the JSON property `totalBytesBilled` # @return [String] @@ -1475,6 +1493,7 @@ module Google @billing_tier = args[:billing_tier] if args.key?(:billing_tier) @cache_hit = args[:cache_hit] if args.key?(:cache_hit) @query_plan = args[:query_plan] if args.key?(:query_plan) + @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) end @@ -1736,6 +1755,17 @@ module Google # @return [Fixnum] attr_accessor :timeout_ms + # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this + # query. The default value is true. If set to false, the query will use BigQuery' + # s updated SQL dialect with improved standards compliance. When using BigQuery' + # s updated SQL, the values of allowLargeResults and flattenResults are ignored. + # Queries with useLegacySql set to false will be run as if allowLargeResults is + # true and flattenResults is false. + # Corresponds to the JSON property `useLegacySql` + # @return [Boolean] + attr_accessor :use_legacy_sql + alias_method :use_legacy_sql?, :use_legacy_sql + # [Optional] Whether to look for the result in the query cache. The query cache # is a best-effort cache that will be flushed whenever tables in the query are # modified. The default value is true. @@ -1757,6 +1787,7 @@ module Google @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls) @query = args[:query] if args.key?(:query) @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms) + @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache) end end diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index cc1ad808b..37c5b14f9 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -24,6 +24,8 @@ module Google class CsvOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Dataset @@ -31,7 +33,11 @@ module Google class Access class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class DatasetList @@ -39,59 +45,89 @@ module Google class Dataset class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class DatasetReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ErrorProto class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExplainQueryStage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExplainQueryStep class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExternalDataConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetQueryResultsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Job class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CancelJobResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobConfigurationExtract class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobConfigurationLoad class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobConfigurationQuery class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobConfigurationTableCopy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobList @@ -99,31 +135,47 @@ module Google class Job class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class JobReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobStatistics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobStatistics2 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobStatistics3 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobStatistics4 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProjectList @@ -131,31 +183,47 @@ module Google class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ProjectReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Streamingbuffer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Table class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableCell class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InsertAllTableDataRequest @@ -163,7 +231,11 @@ module Google class Row class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InsertAllTableDataResponse @@ -171,15 +243,23 @@ module Google class InsertError class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TableDataList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableFieldSchema class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableList @@ -187,27 +267,41 @@ module Google class Table class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TableReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableRow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableSchema class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserDefinedFunctionResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ViewDefinition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CsvOptions @@ -457,6 +551,7 @@ module Google property :query, as: 'query' hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation + property :use_legacy_sql, as: 'useLegacySql' property :use_query_cache, as: 'useQueryCache' collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation @@ -540,6 +635,8 @@ module Google property :cache_hit, as: 'cacheHit' collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation + collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation + property :total_bytes_billed, as: 'totalBytesBilled' property :total_bytes_processed, as: 'totalBytesProcessed' end @@ -615,6 +712,7 @@ module Google property :preserve_nulls, as: 'preserveNulls' property :query, as: 'query' property :timeout_ms, as: 'timeoutMs' + property :use_legacy_sql, as: 'useLegacySql' property :use_query_cache, as: 'useQueryCache' end end diff --git a/generated/google/apis/blogger_v3/representations.rb b/generated/google/apis/blogger_v3/representations.rb index 2073e5e09..df780f2b8 100644 --- a/generated/google/apis/blogger_v3/representations.rb +++ b/generated/google/apis/blogger_v3/representations.rb @@ -27,27 +27,41 @@ module Google class Locale class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Pages class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Posts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class BlogList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BlogPerUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BlogUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment @@ -58,24 +72,38 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Blog class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InReplyTo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Post class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CommentList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Page @@ -86,16 +114,26 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Blog class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PageList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Pageviews @@ -103,7 +141,11 @@ module Google class Count class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Post @@ -114,40 +156,62 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Blog class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Replies class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PostList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PostPerUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PostUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PostUserInfosList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User @@ -155,11 +219,17 @@ module Google class Blogs class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Locale class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Blog diff --git a/generated/google/apis/books_v1/representations.rb b/generated/google/apis/books_v1/representations.rb index 1a36c3e59..a61c5610c 100644 --- a/generated/google/apis/books_v1/representations.rb +++ b/generated/google/apis/books_v1/representations.rb @@ -27,23 +27,35 @@ module Google class ClientVersionRanges class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CurrentVersionRanges class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LayerSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AnnotationData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Annotations class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnnotationsSummary @@ -51,31 +63,47 @@ module Google class Layer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AnnotationsData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnnotatinsRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LoadingResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RateRecommendedVolumeResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Bookshelf class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Bookshelves class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Category @@ -83,11 +111,17 @@ module Google class Item class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ConcurrentAccessRestriction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DictLayerData @@ -95,6 +129,8 @@ module Google class Common class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Dict @@ -102,6 +138,8 @@ module Google class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Word @@ -112,7 +150,11 @@ module Google class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Example @@ -120,7 +162,11 @@ module Google class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Sense @@ -128,6 +174,8 @@ module Google class Conjugation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Definition @@ -138,12 +186,20 @@ module Google class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Synonym @@ -151,15 +207,29 @@ module Google class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Discoveryclusters @@ -170,16 +240,26 @@ module Google class BannerWithContentContainer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class DownloadAccessRestriction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DownloadAccesses class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeoLayerData @@ -187,6 +267,8 @@ module Google class Common class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Geo @@ -194,6 +276,8 @@ module Google class Boundary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Viewport @@ -201,21 +285,35 @@ module Google class Hi class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Lo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class LayerSummaries class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LayerSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metadata @@ -223,11 +321,17 @@ module Google class Item class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Notification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Offers @@ -238,16 +342,26 @@ module Google class Item class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ReadingPosition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RequestAccess class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Review @@ -255,11 +369,17 @@ module Google class Author 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 end + + include Google::Apis::Core::JsonObjectSupport end class Series @@ -267,11 +387,17 @@ module Google class Series class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class SeriesMembership class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserSettings @@ -279,6 +405,8 @@ module Google class NotesExport class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Notification @@ -286,8 +414,14 @@ module Google class MoreFromAuthors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Volume @@ -298,11 +432,17 @@ module Google class Epub class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Pdf class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class LayerInfo @@ -310,11 +450,17 @@ module Google class Layer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RecommendedInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SaleInfo @@ -322,6 +468,8 @@ module Google class ListPrice class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Offer @@ -329,24 +477,38 @@ module Google class ListPrice class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RentalDuration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RetailPrice class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RetailPrice class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class SearchInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserInfo @@ -354,15 +516,23 @@ module Google class Copy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RentalPeriod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserUploadedVolumeInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class VolumeInfo @@ -370,20 +540,32 @@ module Google class Dimensions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImageLinks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IndustryIdentifier class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Volume2 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VolumeAnnotation @@ -391,15 +573,23 @@ module Google class ContentRanges class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Volumeannotations class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Volumes class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Volumeseriesinfo @@ -410,8 +600,14 @@ module Google class Issue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Annotation diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index f49e5280d..4cafa81fe 100644 --- a/generated/google/apis/calendar_v3.rb +++ b/generated/google/apis/calendar_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/calendar/firstapp module CalendarV3 VERSION = 'V3' - REVISION = '20160209' + REVISION = '20160221' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/calendar_v3/representations.rb b/generated/google/apis/calendar_v3/representations.rb index 5aa7beb00..c661e2660 100644 --- a/generated/google/apis/calendar_v3/representations.rb +++ b/generated/google/apis/calendar_v3/representations.rb @@ -24,6 +24,8 @@ module Google class Acl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AclRule @@ -31,15 +33,23 @@ module Google class Scope class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Calendar class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CalendarList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CalendarListEntry @@ -47,27 +57,41 @@ module Google class NotificationSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CalendarNotification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ColorDefinition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Colors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Event @@ -75,79 +99,119 @@ module Google class Creator class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExtendedProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Gadget class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Organizer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Reminders 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 end + + include Google::Apis::Core::JsonObjectSupport end class EventAttachment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventAttendee class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventDateTime class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventReminder class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Events class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBusyCalendar class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBusyGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBusyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBusyRequestItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBusyResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Setting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Settings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimePeriod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Acl diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index fc578adf2..33657d35a 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -24,82 +24,122 @@ module Google class AdministrationRegion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdministrativeBody class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Candidate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Contest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DivisionSearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DivisionSearchResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Election class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ElectionOfficial class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryElectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ElectoralDistrict class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeographicDivision class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Office class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Official class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PollingLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RepresentativeInfoData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RepresentativeInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SimpleAddressType 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 end class VoterInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdministrationRegion diff --git a/generated/google/apis/classroom_v1/representations.rb b/generated/google/apis/classroom_v1/representations.rb index 4d97dcd8c..7cfed967a 100644 --- a/generated/google/apis/classroom_v1/representations.rb +++ b/generated/google/apis/classroom_v1/representations.rb @@ -24,58 +24,86 @@ module Google class Course 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 end class ListCoursesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CourseAlias class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCourseAliasesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Invitation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListInvitationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserProfile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GlobalPermission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Teacher class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTeachersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Student class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListStudentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Course diff --git a/generated/google/apis/cloudbilling_v1/representations.rb b/generated/google/apis/cloudbilling_v1/representations.rb index b9288c1a4..1f37b18a8 100644 --- a/generated/google/apis/cloudbilling_v1/representations.rb +++ b/generated/google/apis/cloudbilling_v1/representations.rb @@ -24,18 +24,26 @@ module Google class BillingAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBillingAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProjectBillingInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProjectBillingInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BillingAccount diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 0c7f7fee0..53e490af0 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20160209' + REVISION = '20160225' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index 2b944e121..2732377f2 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -214,7 +214,7 @@ module Google attr_accessor :metadata # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping above, the + # originally returns it. If you use the default HTTP mapping, the # `name` should have the format of `operations/some/unique/name`. # Corresponds to the JSON property `name` # @return [String] diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index 17f5f0d89..ff0c6e657 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -24,50 +24,74 @@ module Google class Status class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BuildOperationMetadata 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 end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BuiltImage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StorageSource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Results class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Build class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CancelBuildRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BuildStep class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBuildsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Status diff --git a/generated/google/apis/cloudbuild_v1/service.rb b/generated/google/apis/cloudbuild_v1/service.rb index bf52cf5f6..15a5023ae 100644 --- a/generated/google/apis/cloudbuild_v1/service.rb +++ b/generated/google/apis/cloudbuild_v1/service.rb @@ -29,10 +29,10 @@ module Google # require 'google/apis/cloudbuild_v1' # # Cloudbuild = Google::Apis::CloudbuildV1 # Alias the module - # service = Cloudbuild::CloudbuildService.new + # service = Cloudbuild::CloudBuildService.new # # @see https://cloud.google.com/container-builder/docs/ - class CloudbuildService < Google::Apis::Core::BaseService + class CloudBuildService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. diff --git a/generated/google/apis/clouddebugger_v2/representations.rb b/generated/google/apis/clouddebugger_v2/representations.rb index a8dfecd2d..b41e2c81b 100644 --- a/generated/google/apis/clouddebugger_v2/representations.rb +++ b/generated/google/apis/clouddebugger_v2/representations.rb @@ -24,110 +24,164 @@ module Google class RegisterDebuggeeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Debuggee class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StatusMessage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FormatMessage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CloudRepoSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RepoId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProjectRepoId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AliasContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CloudWorkspaceSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CloudWorkspaceId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GerritSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GitSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExtendedSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RegisterDebuggeeResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListActiveBreakpointsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Breakpoint class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StackFrame class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Variable class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateActiveBreakpointRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateActiveBreakpointResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetBreakpointResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetBreakpointResponse 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 end class ListBreakpointsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDebuggeesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RegisterDebuggeeRequest diff --git a/generated/google/apis/cloudlatencytest_v2/representations.rb b/generated/google/apis/cloudlatencytest_v2/representations.rb index 3cbd4c4ce..f6959e150 100644 --- a/generated/google/apis/cloudlatencytest_v2/representations.rb +++ b/generated/google/apis/cloudlatencytest_v2/representations.rb @@ -24,30 +24,44 @@ module Google class AggregatedStats class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregatedStatsReply class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DoubleValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IntValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Stats class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StatsReply class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StringValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregatedStats diff --git a/generated/google/apis/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index fa634c10f..ac5c6bc05 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/monitoring/v2beta2/ module CloudmonitoringV2beta2 VERSION = 'V2beta2' - REVISION = '20160209' + REVISION = '20160221' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudmonitoring_v2beta2/representations.rb b/generated/google/apis/cloudmonitoring_v2beta2/representations.rb index f3227dea2..179924cf7 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2/representations.rb @@ -24,86 +24,128 @@ module Google class DeleteMetricDescriptorResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMetricDescriptorsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMetricDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTimeseriesDescriptorsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTimeseriesDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTimeseriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTimeseriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MetricDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MetricDescriptorLabelDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MetricDescriptorTypeDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Point class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PointDistribution class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PointDistributionBucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PointDistributionOverflowBucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PointDistributionUnderflowBucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Timeseries class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeseriesDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeseriesDescriptorLabel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeseriesPoint class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WriteTimeseriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WriteTimeseriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteMetricDescriptorResponse diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index e03d3887f..bb0a91e2d 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1beta1 VERSION = 'V1beta1' - REVISION = '20160112' + REVISION = '20160224' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index 04a45a9ac..33791e2c4 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -171,6 +171,19 @@ module Google end end + # The request sent to the UndeleteProject method. + class UndeleteProjectRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for `GetIamPolicy` method. class GetIamPolicyRequest include Google::Apis::Core::Hashable @@ -191,7 +204,7 @@ module Google # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ # IAM developer's guide](https://cloud.google.com/iam). class Policy @@ -281,7 +294,7 @@ module Google # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ # IAM developer's guide](https://cloud.google.com/iam). # Corresponds to the JSON property `policy` diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb index 347feef9e..3b1498d44 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb @@ -24,54 +24,86 @@ module Google class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProjectsResponse 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 + end + + class UndeleteProjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Policy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Binding class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOrganizationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Organization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrganizationOwner class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Project @@ -111,6 +143,12 @@ module Google end end + class UndeleteProjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb index 1f8bbe226..dd30bee10 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb @@ -243,6 +243,7 @@ module Google # caller must have modify permissions for this Project. # @param [String] project_id # The project ID (for example, `foo-bar-123`). Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -260,8 +261,10 @@ module Google # @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 undelete_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation + command.request_object = undelete_project_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty command.params['projectId'] = project_id unless project_id.nil? diff --git a/generated/google/apis/cloudtrace_v1/representations.rb b/generated/google/apis/cloudtrace_v1/representations.rb index 79b50102c..fe8db0042 100644 --- a/generated/google/apis/cloudtrace_v1/representations.rb +++ b/generated/google/apis/cloudtrace_v1/representations.rb @@ -24,22 +24,32 @@ module Google class ListTracesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Trace class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TraceSpan class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Traces 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 end class ListTracesResponse diff --git a/generated/google/apis/clouduseraccounts_beta/representations.rb b/generated/google/apis/clouduseraccounts_beta/representations.rb index aeecd9fff..8c6073dd6 100644 --- a/generated/google/apis/clouduseraccounts_beta/representations.rb +++ b/generated/google/apis/clouduseraccounts_beta/representations.rb @@ -24,42 +24,62 @@ module Google class AuthorizedKeysView class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Group class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GroupList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GroupsAddMemberRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GroupsRemoveMemberRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinuxAccountViews class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinuxGetAuthorizedKeysViewResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinuxGetLinuxAccountViewsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinuxGroupView class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinuxUserView class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -70,7 +90,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -78,24 +102,38 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PublicKey class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AuthorizedKeysView diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index d0783d63c..a337649a1 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20160205' + REVISION = '20160212' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index bf7db1564..dadf5ac45 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -6479,6 +6479,512 @@ module Google end end + # Router resource. + class Router + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `bgp` + # @return [Google::Apis::ComputeBeta::RouterBgp] + attr_accessor :bgp + + # + # Corresponds to the JSON property `bgpPeers` + # @return [Array] + attr_accessor :bgp_peers + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # + # Corresponds to the JSON property `interfaces` + # @return [Array] + attr_accessor :interfaces + + # [Output Only] Type of resource. Always compute#router for routers. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the resource. Provided by the client when the resource is created. The + # name must be 1-63 characters long and comply with RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # URI of the network to which this router belongs. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # [Output Only] URI of the region where the router resides. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bgp = args[:bgp] if args.key?(:bgp) + @bgp_peers = args[:bgp_peers] if args.key?(:bgp_peers) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @interfaces = args[:interfaces] if args.key?(:interfaces) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @region = args[:region] if args.key?(:region) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of RoutersScopedList. + class RouterAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of scoped Router lists. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class RouterBgp + include Google::Apis::Core::Hashable + + # Local BGP Autonomous System Number (ASN) Can be a constant public ASN value + # for google, or a customer-specified private ASN. In either case, the value + # will be fixed for this router resource. All VPN tunnels that link to this + # router will have the same local ASN. + # Corresponds to the JSON property `asn` + # @return [Fixnum] + attr_accessor :asn + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @asn = args[:asn] if args.key?(:asn) + end + end + + # BGP information that needs to be configured into the routing stack to + # establish the BGP peering. It must specify peer ASN and either interface name, + # IP, or peer IP. Reference: https://tools.ietf.org/html/rfc4273 + class RouterBgpPeer + include Google::Apis::Core::Hashable + + # The priority of routes advertised to this BGP peer. In the case where there is + # more than one matching route of maximum length, the routes with lowest + # priority value win. + # Corresponds to the JSON property `advertisedRoutePriority` + # @return [Fixnum] + attr_accessor :advertised_route_priority + + # Name of the interface it is associated with. + # Corresponds to the JSON property `interfaceName` + # @return [String] + attr_accessor :interface_name + + # IP address of the interface inside Google cloud. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + # Name of this BGP Peer. The name must be 1-63 characters long and comply with + # RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be + # different for every tunnel. + # Corresponds to the JSON property `peerAsn` + # @return [Fixnum] + attr_accessor :peer_asn + + # IP address of the BGP interface outside Google cloud. + # Corresponds to the JSON property `peerIpAddress` + # @return [String] + attr_accessor :peer_ip_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority) + @interface_name = args[:interface_name] if args.key?(:interface_name) + @ip_address = args[:ip_address] if args.key?(:ip_address) + @name = args[:name] if args.key?(:name) + @peer_asn = args[:peer_asn] if args.key?(:peer_asn) + @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address) + end + end + + # Router interfaces. Each interface requires either one linked resource (e.g. + # linked_vpn_tunnel) or IP address + range (specified in ip_range). + class RouterInterface + include Google::Apis::Core::Hashable + + # IP address and range of the interface. The value should be a CIDR formatted + # string, for example: 169.254.0.1/30. NOTE: Do NOT trucate address, as it + # represents IP address of interface. + # Corresponds to the JSON property `ipRange` + # @return [String] + attr_accessor :ip_range + + # URI of linked VPN tunnel. It must be in the same region as the router. Each + # interface can have at most one linked resource. + # Corresponds to the JSON property `linkedVpnTunnel` + # @return [String] + attr_accessor :linked_vpn_tunnel + + # Name of this interface entry. The name must be 1-63 characters long and comply + # with RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_range = args[:ip_range] if args.key?(:ip_range) + @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel) + @name = args[:name] if args.key?(:name) + end + end + + # Contains a list of Router resources. + class RouterList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of Router resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#router for routers. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class RouterStatus + include Google::Apis::Core::Hashable + + # Best routes for this Router. + # Corresponds to the JSON property `bestRoutes` + # @return [Array] + attr_accessor :best_routes + + # + # Corresponds to the JSON property `bgpPeerStatus` + # @return [Array] + attr_accessor :bgp_peer_status + + # URI of the network to which this router belongs. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @best_routes = args[:best_routes] if args.key?(:best_routes) + @bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status) + @network = args[:network] if args.key?(:network) + end + end + + # + class RouterStatusBgpPeerStatus + include Google::Apis::Core::Hashable + + # Routes that were advertised to the remote BgpPeer + # Corresponds to the JSON property `advertisedRoutes` + # @return [Array] + attr_accessor :advertised_routes + + # IP address of the local BGP interface. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + # URL of the VPN tunnel that this BgpPeer controls. + # Corresponds to the JSON property `linkedVpnTunnel` + # @return [String] + attr_accessor :linked_vpn_tunnel + + # Name of this BgpPeer which is unique within the Router resource. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Number of routes learned from the remote BGP Peer. + # Corresponds to the JSON property `numLearnedRoutes` + # @return [Fixnum] + attr_accessor :num_learned_routes + + # IP address of the remote BGP interface. + # Corresponds to the JSON property `peerIpAddress` + # @return [String] + attr_accessor :peer_ip_address + + # BGP state as specified in RFC-1771. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Status of the BgpPeer: `UP, DOWN` + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Time this session has been up. Format: 1 second < uptime < 1 day = "23:59:59" + # 1 day <= uptime < 1 week = "6d:23h:59m" 1 week <= uptime = "123w:6d:23h" + # Corresponds to the JSON property `uptime` + # @return [String] + attr_accessor :uptime + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes) + @ip_address = args[:ip_address] if args.key?(:ip_address) + @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel) + @name = args[:name] if args.key?(:name) + @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes) + @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address) + @state = args[:state] if args.key?(:state) + @status = args[:status] if args.key?(:status) + @uptime = args[:uptime] if args.key?(:uptime) + end + end + + # + class RouterStatusResponse + include Google::Apis::Core::Hashable + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `result` + # @return [Google::Apis::ComputeBeta::RouterStatus] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @result = args[:result] if args.key?(:result) + end + end + + # + class RoutersScopedList + include Google::Apis::Core::Hashable + + # List of Routers contained in this scope. + # Corresponds to the JSON property `routers` + # @return [Array] + attr_accessor :routers + + # Informational warning which replaces the list of routers when the list is + # empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::RoutersScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @routers = args[:routers] if args.key?(:routers) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of routers when the list is + # empty. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource, and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Sets the scheduling options for an Instance. class Scheduling include Google::Apis::Core::Hashable @@ -8827,6 +9333,11 @@ module Google # @return [String] attr_accessor :region + # URL of Router resource to be used for dynamic routing. + # Corresponds to the JSON property `router` + # @return [String] + attr_accessor :router + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -8870,6 +9381,7 @@ module Google @name = args[:name] if args.key?(:name) @peer_ip = args[:peer_ip] if args.key?(:peer_ip) @region = args[:region] if args.key?(:region) + @router = args[:router] if args.key?(:router) @self_link = args[:self_link] if args.key?(:self_link) @shared_secret = args[:shared_secret] if args.key?(:shared_secret) @shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash) diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index a569e82e8..ce10be2fc 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -24,18 +24,26 @@ module Google class AccessConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Address class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressesScopedList @@ -46,28 +54,44 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AttachedDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AttachedDiskInitializeParams class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalersScopedList @@ -78,72 +102,110 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCpuUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCustomMetricUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyLoadBalancingUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Backend class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendService class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendServiceGroupHealth class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendServiceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomerEncryptionKey class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeprecationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Disk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypesScopedList @@ -154,12 +216,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class DisksResizeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DisksScopedList @@ -170,8 +240,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Firewall @@ -179,23 +255,35 @@ module Google class Allowed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FirewallList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRuleAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRuleList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRulesScopedList @@ -206,36 +294,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class HealthCheckReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HealthStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HostRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpsHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpsHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image @@ -243,67 +351,101 @@ module Google class RawDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ImageList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Instance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManager class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerActionsSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerAutoHealingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersAbandonInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersDeleteInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersListManagedInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersRecreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersScopedList @@ -314,36 +456,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersSetAutoHealingRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersSetInstanceTemplateRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersSetTargetPoolsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsAddInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsListInstances class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsListInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsRemoveInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsScopedList @@ -354,36 +516,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsSetNamedPortsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceTemplate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceTemplateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceWithNamedPorts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstancesScopedList @@ -394,32 +576,50 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstancesSetLabelsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstancesSetMachineTypeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class License class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypesScopedList @@ -430,12 +630,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ManagedInstance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ManagedInstanceLastAttempt @@ -446,8 +654,14 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Metadata @@ -455,23 +669,35 @@ module Google class Item class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class NamedPort class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Network class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkInterface class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -482,7 +708,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -490,16 +720,26 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationsScopedList @@ -510,36 +750,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PathMatcher class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PathRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Quota class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Region class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RegionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceGroupReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Route @@ -550,52 +810,152 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RouteList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Router + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterBgp + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterBgpPeer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterInterface + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterStatusBgpPeerStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RouterStatusResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RoutersScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport end class Scheduling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SerialPortOutput class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Snapshot class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SnapshotList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertificate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertificateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subnetwork class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworkAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworksScopedList @@ -606,44 +966,68 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Tags class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpProxy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxiesSetSslCertificatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstancesScopedList @@ -654,40 +1038,62 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TargetPool class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolInstanceHealth class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddTargetPoolsHealthCheckRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddTargetPoolsInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveTargetPoolsHealthCheckRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveTargetPoolsInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolsScopedList @@ -698,24 +1104,38 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TargetReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGateway class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewayAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewayList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewaysScopedList @@ -726,56 +1146,86 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TestFailure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapTest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapValidationResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ValidateUrlMapsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ValidateUrlMapsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UsageExportLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelsScopedList @@ -786,8 +1236,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Zone @@ -795,11 +1251,17 @@ module Google class MaintenanceWindow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ZoneList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccessConfig @@ -2364,6 +2826,142 @@ module Google end end + class Router + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bgp, as: 'bgp', class: Google::Apis::ComputeBeta::RouterBgp, decorator: Google::Apis::ComputeBeta::RouterBgp::Representation + + collection :bgp_peers, as: 'bgpPeers', class: Google::Apis::ComputeBeta::RouterBgpPeer, decorator: Google::Apis::ComputeBeta::RouterBgpPeer::Representation + + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :id, as: 'id' + collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation + + property :kind, as: 'kind' + property :name, as: 'name' + property :network, as: 'network' + property :region, as: 'region' + property :self_link, as: 'selfLink' + end + end + + class RouterAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeBeta::RoutersScopedList, decorator: Google::Apis::ComputeBeta::RoutersScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RouterBgp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :asn, as: 'asn' + end + end + + class RouterBgpPeer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :advertised_route_priority, as: 'advertisedRoutePriority' + property :interface_name, as: 'interfaceName' + property :ip_address, as: 'ipAddress' + property :name, as: 'name' + property :peer_asn, as: 'peerAsn' + property :peer_ip_address, as: 'peerIpAddress' + end + end + + class RouterInterface + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_range, as: 'ipRange' + property :linked_vpn_tunnel, as: 'linkedVpnTunnel' + property :name, as: 'name' + end + end + + class RouterList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::Router, decorator: Google::Apis::ComputeBeta::Router::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RouterStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :best_routes, as: 'bestRoutes', class: Google::Apis::ComputeBeta::Route, decorator: Google::Apis::ComputeBeta::Route::Representation + + collection :bgp_peer_status, as: 'bgpPeerStatus', class: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus, decorator: Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus::Representation + + property :network, as: 'network' + end + end + + class RouterStatusBgpPeerStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :advertised_routes, as: 'advertisedRoutes', class: Google::Apis::ComputeBeta::Route, decorator: Google::Apis::ComputeBeta::Route::Representation + + property :ip_address, as: 'ipAddress' + property :linked_vpn_tunnel, as: 'linkedVpnTunnel' + property :name, as: 'name' + property :num_learned_routes, as: 'numLearnedRoutes' + property :peer_ip_address, as: 'peerIpAddress' + property :state, as: 'state' + property :status, as: 'status' + property :uptime, as: 'uptime' + end + end + + class RouterStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :result, as: 'result', class: Google::Apis::ComputeBeta::RouterStatus, decorator: Google::Apis::ComputeBeta::RouterStatus::Representation + + end + end + + class RoutersScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :routers, as: 'routers', class: Google::Apis::ComputeBeta::Router, decorator: Google::Apis::ComputeBeta::Router::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::RoutersScopedList::Warning, decorator: Google::Apis::ComputeBeta::RoutersScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::RoutersScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::RoutersScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class Scheduling # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2946,6 +3544,7 @@ module Google property :name, as: 'name' property :peer_ip, as: 'peerIp' property :region, as: 'region' + property :router, as: 'router' property :self_link, as: 'selfLink' property :shared_secret, as: 'sharedSecret' property :shared_secret_hash, as: 'sharedSecretHash' diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 40e0bca0e..29906dff3 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -6852,6 +6852,421 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of Routers. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter expression for filtering listed resources, in the form filter=` + # expression`. Your `expression` must be in the format: field_name + # comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. + # Compute Engine Beta API Only: If you use filtering in the Beta API, you can + # also filter on nested fields. For example, you could filter on instances that + # have set the scheduling.automaticRestart field to true. In particular, use + # filtering on nested fields to take advantage of instance labels to organize + # and filter results based on label values. + # The Beta API also supports filtering on multiple expressions by providing each + # separate expression within parentheses. For example, (scheduling. + # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are + # treated as AND expressions meaning that resources must match all expressions + # to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RouterAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RouterAggregatedList] + # + # @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_aggregated_routers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/routers', options) + command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation + command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified Router resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] router + # Name of the Router resource to delete. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @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_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified Router resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] router + # Name of the Router resource to return. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Router] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Router] + # + # @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 get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options) + command.response_representation = Google::Apis::ComputeBeta::Router::Representation + command.response_class = Google::Apis::ComputeBeta::Router + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves runtime information of the specified Router. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] router + # Name of the Router resource to query. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RouterStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RouterStatusResponse] + # + # @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 get_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options) + command.response_representation = Google::Apis::ComputeBeta::RouterStatusResponse::Representation + command.response_class = Google::Apis::ComputeBeta::RouterStatusResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Router resource in the specified project and region using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [Google::Apis::ComputeBeta::Router] router_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @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_router(project, region, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/routers', options) + command.request_representation = Google::Apis::ComputeBeta::Router::Representation + command.request_object = router_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of Router resources available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] filter + # Sets a filter expression for filtering listed resources, in the form filter=` + # expression`. Your `expression` must be in the format: field_name + # comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. + # Compute Engine Beta API Only: If you use filtering in the Beta API, you can + # also filter on nested fields. For example, you could filter on instances that + # have set the scheduling.automaticRestart field to true. In particular, use + # filtering on nested fields to take advantage of instance labels to organize + # and filter results based on label values. + # The Beta API also supports filtering on multiple expressions by providing each + # separate expression within parentheses. For example, (scheduling. + # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are + # treated as AND expressions meaning that resources must match all expressions + # to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::RouterList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::RouterList] + # + # @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_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/routers', options) + command.response_representation = Google::Apis::ComputeBeta::RouterList::Representation + command.response_class = Google::Apis::ComputeBeta::RouterList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Update the entire content of the Router resource. This method supports patch + # semantics. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] router + # Name of the Router resource to update. + # @param [Google::Apis::ComputeBeta::Router] router_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @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 patch_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options) + command.request_representation = Google::Apis::ComputeBeta::Router::Representation + command.request_object = router_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Update the entire content of the Router resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] router + # Name of the Router resource to update. + # @param [Google::Apis::ComputeBeta::Router] router_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @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_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options) + command.request_representation = Google::Apis::ComputeBeta::Router::Representation + command.request_object = router_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['router'] = router unless router.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified route resource. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index e3bc726fe..1457d599a 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20160205' + REVISION = '20160212' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 5d711040e..c108078e2 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -24,18 +24,26 @@ module Google class AccessConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Address class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddressesScopedList @@ -46,28 +54,44 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AttachedDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AttachedDiskInitializeParams class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalersScopedList @@ -78,72 +102,110 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCpuUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyCustomMetricUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingPolicyLoadBalancingUtilization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Backend class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendService class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendServiceGroupHealth class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackendServiceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeprecationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Disk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MoveDiskRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskTypesScopedList @@ -154,8 +216,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class DisksScopedList @@ -166,8 +234,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Firewall @@ -175,23 +249,35 @@ module Google class Allowed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FirewallList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRuleAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRuleList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ForwardingRulesScopedList @@ -202,36 +288,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class HealthCheckReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HealthStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HostRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpsHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpsHealthCheckList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image @@ -239,63 +345,95 @@ module Google class RawDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ImageList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Instance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManager class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerActionsSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersAbandonInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersDeleteInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersListManagedInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersRecreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersScopedList @@ -306,32 +444,50 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersSetInstanceTemplateRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagersSetTargetPoolsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsAddInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsListInstances class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsListInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsRemoveInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsScopedList @@ -342,40 +498,62 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupsSetNamedPortsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MoveInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceTemplate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceTemplateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceWithNamedPorts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstancesScopedList @@ -386,16 +564,26 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstancesSetMachineTypeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class License class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineType @@ -403,15 +591,23 @@ module Google class ScratchDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypeAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MachineTypesScopedList @@ -422,12 +618,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ManagedInstance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ManagedInstanceLastAttempt @@ -438,8 +642,14 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Metadata @@ -447,23 +657,35 @@ module Google class Item class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class NamedPort class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Network class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkInterface class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -474,7 +696,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -482,16 +708,26 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationsScopedList @@ -502,36 +738,56 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PathMatcher class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PathRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Quota class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Region class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RegionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceGroupReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Route @@ -542,52 +798,80 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RouteList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Scheduling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SerialPortOutput class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Snapshot class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SnapshotList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertificate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertificateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subnetwork class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworkAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworkList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubnetworksScopedList @@ -598,44 +882,68 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Tags class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpProxy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxiesSetSslCertificatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetHttpsProxyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstanceAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstanceList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetInstancesScopedList @@ -646,40 +954,62 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TargetPool class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolInstanceHealth class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddTargetPoolsHealthCheckRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddTargetPoolsInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveTargetPoolsHealthCheckRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveTargetPoolsInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetPoolsScopedList @@ -690,24 +1020,38 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TargetReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGateway class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewayAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewayList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetVpnGatewaysScopedList @@ -718,56 +1062,86 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TestFailure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapTest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlMapValidationResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ValidateUrlMapsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ValidateUrlMapsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UsageExportLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VpnTunnelsScopedList @@ -778,8 +1152,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Zone @@ -787,11 +1167,17 @@ module Google class MaintenanceWindow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ZoneList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccessConfig diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 229a7e251..2fb586cc9 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -24,42 +24,62 @@ module Google class ListClustersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Cluster class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NodeConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MasterAuth class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateClusterRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateClusterRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ClusterUpdate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServerConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListClustersResponse diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index ed5611f81..6ea6204e4 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -24,594 +24,890 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountAdwordsLink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountIdentifier class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShipping class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingCarrierRate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingCondition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingLocationGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingPostalCodeRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingRateTable class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingRateTableCell class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingShippingService class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingShippingServiceCalculationMethod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingShippingServiceCostRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountStatusDataQualityIssue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountStatusExampleItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountTax class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountTaxTaxRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountUser class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountsAuthInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountsBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountsBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountShippingRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountShippingResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountShippingBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountShippingResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountStatusesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountStatusesBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountStatusesBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountTaxRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountTaxBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchAccountTaxResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountTaxBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountTaxResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Datafeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedFetchSchedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedFormat class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedStatusError class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedStatusExample class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchDatafeedsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedsBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchDatafeedsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedsBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDatafeedsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchDatafeedStatusesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedStatusesBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchDatafeedStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatafeedStatusesBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDatafeedStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Errors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Installment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Inventory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchInventoryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InventoryBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchInventoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InventoryBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetInventoryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetInventoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LoyaltyPoints class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Order class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderAddress class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderCancellation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderCustomer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderDeliveryDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItemProduct class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItemProductVariantAttribute class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItemReturnInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItemShippingDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderLineItemShippingDetailsMethod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderPaymentMethod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderPromotion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderPromotionBenefit class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderRefund class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderReturn class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderShipment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderShipmentLineItemShipment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersAcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersAcknowledgeResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersAdvanceTestOrderResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCancelLineItemRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCancelLineItemResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCancelRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCancelResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCreateTestOrderRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCreateTestOrderResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryCancel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryCancelLineItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryRefund class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryReturnLineItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryShipLineItems class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchRequestEntryUpdateShipment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersCustomBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersGetByMerchantOrderIdResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersGetTestOrderTemplateResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersRefundRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersRefundResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersReturnLineItemRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersReturnLineItemResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersShipLineItemsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersShipLineItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersUpdateMerchantOrderIdRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersUpdateMerchantOrderIdResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersUpdateShipmentRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrdersUpdateShipmentResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Price class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Product class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductAspect class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductCustomAttribute class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductCustomGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductDestination class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductShipping class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductShippingDimension class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductShippingWeight class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductStatusDataQualityIssue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductStatusDestinationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductTax class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductUnitPricingBaseMeasure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductUnitPricingMeasure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchProductsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductsBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductsBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchProductStatusesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductStatusesBatchRequestEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchProductStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ProductStatusesBatchResponseEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProductStatusesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestOrder class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestOrderCustomer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestOrderLineItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestOrderLineItemProduct class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestOrderPaymentMethod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Weight class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/coordinate_v1/representations.rb b/generated/google/apis/coordinate_v1/representations.rb index ec93a0cd8..77cbd319f 100644 --- a/generated/google/apis/coordinate_v1/representations.rb +++ b/generated/google/apis/coordinate_v1/representations.rb @@ -24,74 +24,110 @@ module Google class CustomField class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomFieldDef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCustomFieldDefResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EnumItemDef class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Job class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobChange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListJobResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobState class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLocationResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocationRecord class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Schedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Team class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTeamResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TokenPagination class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Worker class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListWorkerResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomField diff --git a/generated/google/apis/customsearch_v1/representations.rb b/generated/google/apis/customsearch_v1/representations.rb index b6951da2b..a3ffbc438 100644 --- a/generated/google/apis/customsearch_v1/representations.rb +++ b/generated/google/apis/customsearch_v1/representations.rb @@ -27,7 +27,11 @@ module Google class Facet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Promotion @@ -35,15 +39,23 @@ module Google class BodyLine class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Result @@ -51,11 +63,17 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Label class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Search @@ -63,15 +81,23 @@ module Google class SearchInformation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Spelling class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Url class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Context diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 39787da04..c11d55355 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20151209' + REVISION = '20160219' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index 1f2dfcd9b..8985c00a7 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -41,6 +41,1409 @@ module Google end end + # Describes the identifying information, config, and status of a cluster of + # Google Compute Engine instances. + class Cluster + include Google::Apis::Core::Hashable + + # [Required] The Google Cloud Platform project ID that the cluster belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # [Required] The cluster name. Cluster names within a project must be unique. + # Names of deleted clusters can be reused. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + # The cluster config. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DataprocV1::ClusterConfig] + attr_accessor :config + + # The status of a cluster and its instances. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::ClusterStatus] + attr_accessor :status + + # [Output-only] The previous cluster status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # [Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc + # generates this value when it creates the cluster. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + @config = args[:config] if args.key?(:config) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + end + end + + # The cluster config. + class ClusterConfig + include Google::Apis::Core::Hashable + + # [Optional] A Google Cloud Storage staging bucket used for sharing generated + # SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc + # will determine an appropriate Cloud Storage location (US, ASIA, or EU) for + # your cluster's staging bucket according to the Google Compute Engine zone + # where your cluster is deployed, and then it will create and manage this + # project-level, per-location bucket for you. + # Corresponds to the JSON property `configBucket` + # @return [String] + attr_accessor :config_bucket + + # Common config settings for resources of Google Compute Engine cluster + # instances, applicable to all instances in the cluster. + # Corresponds to the JSON property `gceClusterConfig` + # @return [Google::Apis::DataprocV1::GceClusterConfig] + attr_accessor :gce_cluster_config + + # The config settings for Google Compute Engine resources in an instance group, + # such as a master or worker group. + # Corresponds to the JSON property `masterConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :master_config + + # The config settings for Google Compute Engine resources in an instance group, + # such as a master or worker group. + # Corresponds to the JSON property `workerConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :worker_config + + # The config settings for Google Compute Engine resources in an instance group, + # such as a master or worker group. + # Corresponds to the JSON property `secondaryWorkerConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :secondary_worker_config + + # Specifies the selection and config of software inside the cluster. + # Corresponds to the JSON property `softwareConfig` + # @return [Google::Apis::DataprocV1::SoftwareConfig] + attr_accessor :software_config + + # [Optional] Commands to execute on each node after config is completed. By + # default, executables are run on master and all worker nodes. You can test a + # node's role metadata to run an executable on a master or worker node, as shown + # below: ROLE=$(/usr/share/google/get_metadata_value attributes/role) if [[ "$` + # ROLE`" == 'Master' ]]; then ... master specific actions ... else ... worker + # specific actions ... fi + # Corresponds to the JSON property `initializationActions` + # @return [Array] + attr_accessor :initialization_actions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_bucket = args[:config_bucket] if args.key?(:config_bucket) + @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) + @master_config = args[:master_config] if args.key?(:master_config) + @worker_config = args[:worker_config] if args.key?(:worker_config) + @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) + @software_config = args[:software_config] if args.key?(:software_config) + @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) + end + end + + # Common config settings for resources of Google Compute Engine cluster + # instances, applicable to all instances in the cluster. + class GceClusterConfig + include Google::Apis::Core::Hashable + + # [Required] The zone where the Google Compute Engine cluster will be located. + # Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[ + # zone]`. + # Corresponds to the JSON property `zoneUri` + # @return [String] + attr_accessor :zone_uri + + # The Google Compute Engine network to be used for machine communications. + # Cannot be specified with subnetwork_uri. If neither network_uri nor + # subnetwork_uri is specified, the "default" network of the project is used, if + # it exists. Cannot be a "Custom Subnet Network" (see https://cloud.google.com/ + # compute/docs/subnetworks for more information). Example: `https://www. + # googleapis.com/compute/v1/projects/[project_id]/regions/global/default`. + # Corresponds to the JSON property `networkUri` + # @return [String] + attr_accessor :network_uri + + # The Google Compute Engine subnetwork to be used for machine communications. + # Cannot be specified with network_uri. Example: `https://www.googleapis.com/ + # compute/v1/projects/[project_id]/regions/us-east1/sub0`. + # Corresponds to the JSON property `subnetworkUri` + # @return [String] + attr_accessor :subnetwork_uri + + # The URIs of service account scopes to be included in Google Compute Engine + # instances. The following base set of scopes is always included: * https://www. + # googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/ + # auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If + # no scopes are specfied, the following defaults are also provided: * https:// + # www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable. + # admin.table * https://www.googleapis.com/auth/bigtable.data * https://www. + # googleapis.com/auth/devstorage.full_control + # Corresponds to the JSON property `serviceAccountScopes` + # @return [Array] + attr_accessor :service_account_scopes + + # The Google Compute Engine tags to add to all instances. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # The Google Compute Engine metadata entries to add to all instances. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zone_uri = args[:zone_uri] if args.key?(:zone_uri) + @network_uri = args[:network_uri] if args.key?(:network_uri) + @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) + @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) + @tags = args[:tags] if args.key?(:tags) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # The config settings for Google Compute Engine resources in an instance group, + # such as a master or worker group. + class InstanceGroupConfig + include Google::Apis::Core::Hashable + + # The number of VM instances in the instance group. For master instance groups, + # must be set to 1. + # Corresponds to the JSON property `numInstances` + # @return [Fixnum] + attr_accessor :num_instances + + # The list of instance names. Cloud Dataproc derives the names from ` + # cluster_name`, `num_instances`, and the instance group if not set by user ( + # recommended practice is to let Cloud Dataproc derive the name). + # Corresponds to the JSON property `instanceNames` + # @return [Array] + attr_accessor :instance_names + + # [Output-only] The Google Compute Engine image resource used for cluster + # instances. Inferred from `SoftwareConfig.image_version`. + # Corresponds to the JSON property `imageUri` + # @return [String] + attr_accessor :image_uri + + # The Google Compute Engine machine type used for cluster instances. Example: ` + # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ + # machineTypes/n1-standard-2`. + # Corresponds to the JSON property `machineTypeUri` + # @return [String] + attr_accessor :machine_type_uri + + # Specifies the config of disk options for a group of VM instances. + # Corresponds to the JSON property `diskConfig` + # @return [Google::Apis::DataprocV1::DiskConfig] + attr_accessor :disk_config + + # Specifies that this instance group contains Preemptible Instances. + # Corresponds to the JSON property `isPreemptible` + # @return [Boolean] + attr_accessor :is_preemptible + alias_method :is_preemptible?, :is_preemptible + + # Specifies the resources used to actively manage an instance group. + # Corresponds to the JSON property `managedGroupConfig` + # @return [Google::Apis::DataprocV1::ManagedGroupConfig] + attr_accessor :managed_group_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_instances = args[:num_instances] if args.key?(:num_instances) + @instance_names = args[:instance_names] if args.key?(:instance_names) + @image_uri = args[:image_uri] if args.key?(:image_uri) + @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) + @disk_config = args[:disk_config] if args.key?(:disk_config) + @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) + @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) + end + end + + # Specifies the config of disk options for a group of VM instances. + class DiskConfig + include Google::Apis::Core::Hashable + + # [Optional] Size in GB of the boot disk (default is 500GB). + # Corresponds to the JSON property `bootDiskSizeGb` + # @return [Fixnum] + attr_accessor :boot_disk_size_gb + + # [Optional] Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are + # not attached, the boot disk is used to store runtime logs and HDFS data. If + # one or more SSDs are attached, this runtime bulk data is spread across them, + # and the boot disk contains only basic config and installed binaries. + # Corresponds to the JSON property `numLocalSsds` + # @return [Fixnum] + attr_accessor :num_local_ssds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) + @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) + end + end + + # Specifies the resources used to actively manage an instance group. + class ManagedGroupConfig + include Google::Apis::Core::Hashable + + # [Output-only] The name of the Instance Template used for the Managed Instance + # Group. + # Corresponds to the JSON property `instanceTemplateName` + # @return [String] + attr_accessor :instance_template_name + + # [Output-only] The name of the Instance Group Manager for this group. + # Corresponds to the JSON property `instanceGroupManagerName` + # @return [String] + attr_accessor :instance_group_manager_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) + @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) + end + end + + # Specifies the selection and config of software inside the cluster. + class SoftwareConfig + include Google::Apis::Core::Hashable + + # [Optional] The version of software inside the cluster. It must match the + # regular expression `[0-9]+\.[0-9]+`. If unspecified, it defaults to the latest + # version (see [Cloud Dataproc Versioning](/dataproc/versioning)). + # Corresponds to the JSON property `imageVersion` + # @return [String] + attr_accessor :image_version + + # [Optional] The properties to set on daemon config files. Property keys are + # specified in `prefix:property` format, such as `core:fs.defaultFS`. The + # following are supported prefixes and their mappings: * core: `core-site.xml` * + # hdfs: `hdfs-site.xml` * mapred: `mapred-site.xml` * yarn: `yarn-site.xml` * + # hive: `hive-site.xml` * pig: `pig.properties` * spark: `spark-defaults.conf` + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_version = args[:image_version] if args.key?(:image_version) + @properties = args[:properties] if args.key?(:properties) + end + end + + # Specifies an executable to run on a fully configured node and a timeout period + # for executable completion. + class NodeInitializationAction + include Google::Apis::Core::Hashable + + # [Required] Google Cloud Storage URI of executable file. + # Corresponds to the JSON property `executableFile` + # @return [String] + attr_accessor :executable_file + + # [Optional] Amount of time executable has to complete. Default is 10 minutes. + # Cluster creation fails with an explanatory error message (the name of the + # executable that caused the error and the exceeded timeout period) if the + # executable is not completed at end of the timeout period. + # Corresponds to the JSON property `executionTimeout` + # @return [String] + attr_accessor :execution_timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @executable_file = args[:executable_file] if args.key?(:executable_file) + @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout) + end + end + + # The status of a cluster and its instances. + class ClusterStatus + include Google::Apis::Core::Hashable + + # The cluster's state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Optional details of cluster's state. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # Time when this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + @detail = args[:detail] if args.key?(:detail) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the `name` should + # have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # If the value is `false`, it means the operation is still in progress. If true, + # the operation is completed, and either `error` or `response` is available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to + # use and understand for most users - Flexible enough to meet unexpected needs # + # Overview The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of google. + # rpc.Code, but it may accept additional error codes if needed. The error + # message should be a developer-facing English message that helps developers * + # understand* and *resolve* the error. If a localized user-facing error message + # is needed, put the localized message in the error details or localize it in + # the client. The optional error details may contain arbitrary information about + # the error. There is a predefined set of error detail types in the package ` + # google.rpc` which can be used for common error conditions. # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. # Other uses The + # error model and the `Status` message can be used in a variety of environments, + # either with or without APIs, to provide a consistent developer experience + # across different environments. Example uses of this error model include: - + # Partial errors. If a service needs to return partial errors to the client, it + # may embed the `Status` in the normal response to indicate the partial errors. - + # Workflow errors. A typical workflow has multiple steps. Each step may have a ` + # Status` message for error reporting purpose. - Batch operations. If a client + # uses batch request and batch response, the `Status` message should be used + # directly inside batch response, one for each error sub-response. - + # Asynchronous operations. If an API call embeds asynchronous operation results + # in its response, the status of those operations should be represented directly + # using the `Status` message. - Logging. If some API errors are stored in logs, + # the message `Status` could be used directly after any stripping needed for + # security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::DataprocV1::Status] + attr_accessor :error + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @response = args[:response] if args.key?(:response) + end + end + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). The error model is designed to be: - Simple to + # use and understand for most users - Flexible enough to meet unexpected needs # + # Overview The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of google. + # rpc.Code, but it may accept additional error codes if needed. The error + # message should be a developer-facing English message that helps developers * + # understand* and *resolve* the error. If a localized user-facing error message + # is needed, put the localized message in the error details or localize it in + # the client. The optional error details may contain arbitrary information about + # the error. There is a predefined set of error detail types in the package ` + # google.rpc` which can be used for common error conditions. # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. # Other uses The + # error model and the `Status` message can be used in a variety of environments, + # either with or without APIs, to provide a consistent developer experience + # across different environments. Example uses of this error model include: - + # Partial errors. If a service needs to return partial errors to the client, it + # may embed the `Status` in the normal response to indicate the partial errors. - + # Workflow errors. A typical workflow has multiple steps. Each step may have a ` + # Status` message for error reporting purpose. - Batch operations. If a client + # uses batch request and batch response, the `Status` message should be used + # directly inside batch response, one for each error sub-response. - + # Asynchronous operations. If an API call embeds asynchronous operation results + # in its response, the status of those operations should be represented directly + # using the `Status` message. - Logging. If some API errors are stored in logs, + # the message `Status` could be used directly after any stripping needed for + # security/privacy reasons. + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # A list of messages that carry the error details. There will be a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + @details = args[:details] if args.key?(:details) + end + end + + # The list of all clusters in a project. + class ListClustersResponse + include Google::Apis::Core::Hashable + + # [Output-only] The clusters in the project. + # Corresponds to the JSON property `clusters` + # @return [Array] + attr_accessor :clusters + + # [Optional] This token is included in the response if there are more results to + # fetch. To fetch additional results, provide this value as the `page_token` in + # a subsequent ListClustersRequest. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @clusters = args[:clusters] if args.key?(:clusters) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A request to collect cluster diagnostic information. + class DiagnoseClusterRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A request to submit a job. + class SubmitJobRequest + include Google::Apis::Core::Hashable + + # A Cloud Dataproc job resource. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataprocV1::Job] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + + # A Cloud Dataproc job resource. + class Job + include Google::Apis::Core::Hashable + + # Encapsulates the full scoping used to reference a job. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::DataprocV1::JobReference] + attr_accessor :reference + + # Cloud Dataproc job config. + # Corresponds to the JSON property `placement` + # @return [Google::Apis::DataprocV1::JobPlacement] + attr_accessor :placement + + # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. + # Corresponds to the JSON property `hadoopJob` + # @return [Google::Apis::DataprocV1::HadoopJob] + attr_accessor :hadoop_job + + # A Cloud Dataproc job for running Spark applications on YARN. + # Corresponds to the JSON property `sparkJob` + # @return [Google::Apis::DataprocV1::SparkJob] + attr_accessor :spark_job + + # A Cloud Dataproc job for running PySpark applications on YARN. + # Corresponds to the JSON property `pysparkJob` + # @return [Google::Apis::DataprocV1::PySparkJob] + attr_accessor :pyspark_job + + # A Cloud Dataproc job for running Hive queries on YARN. + # Corresponds to the JSON property `hiveJob` + # @return [Google::Apis::DataprocV1::HiveJob] + attr_accessor :hive_job + + # A Cloud Dataproc job for running Pig queries on YARN. + # Corresponds to the JSON property `pigJob` + # @return [Google::Apis::DataprocV1::PigJob] + attr_accessor :pig_job + + # A Cloud Dataproc job for running Spark SQL queries. + # Corresponds to the JSON property `sparkSqlJob` + # @return [Google::Apis::DataprocV1::SparkSqlJob] + attr_accessor :spark_sql_job + + # Cloud Dataproc job status. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::JobStatus] + attr_accessor :status + + # [Output-only] The previous job status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # [Output-only] A URI pointing to the location of the stdout of the job's driver + # program. + # Corresponds to the JSON property `driverOutputResourceUri` + # @return [String] + attr_accessor :driver_output_resource_uri + + # [Output-only] If present, the location of miscellaneous control files which + # may be used as part of job setup and handling. If not present, control files + # may be placed in the same location as `driver_output_uri`. + # Corresponds to the JSON property `driverControlFilesUri` + # @return [String] + attr_accessor :driver_control_files_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference = args[:reference] if args.key?(:reference) + @placement = args[:placement] if args.key?(:placement) + @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) + @spark_job = args[:spark_job] if args.key?(:spark_job) + @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) + @hive_job = args[:hive_job] if args.key?(:hive_job) + @pig_job = args[:pig_job] if args.key?(:pig_job) + @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) + @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) + end + end + + # Encapsulates the full scoping used to reference a job. + class JobReference + include Google::Apis::Core::Hashable + + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # [Required] The job ID, which must be unique within the project. The job ID is + # generated by the server upon job submission or provided by the user as a means + # to perform retries without creating duplicate jobs. The ID must contain only + # letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The + # maximum length is 512 characters. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @job_id = args[:job_id] if args.key?(:job_id) + end + end + + # Cloud Dataproc job config. + class JobPlacement + include Google::Apis::Core::Hashable + + # [Required] The name of the cluster where the job will be submitted. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + # [Output-only] A cluster UUID generated by the Cloud Dataproc service when the + # job is submitted. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + end + end + + # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. + class HadoopJob + include Google::Apis::Core::Hashable + + # The HCFS URI of the jar file containing the main class. Examples: 'gs://foo- + # bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test- + # samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop- + # mapreduce-examples.jar' + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + + # The name of the driver's main class. The jar file containing the class must be + # in the default CLASSPATH or specified in `jar_file_uris`. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # [Optional] The arguments to pass to the driver. Do not include arguments, such + # as `-libjars` or `-Dfoo=bar`, that can be set as job properties, since a + # collision may occur that causes an incorrect job submission. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # [Optional] Jar file URIs to add to the CLASSPATHs of the Hadoop driver and + # tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # [Optional] HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to + # the working directory of Hadoop drivers and distributed tasks. Useful for + # naively parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # [Optional] HCFS URIs of archives to be extracted in the working directory of + # Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or . + # zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # [Optional] A mapping of property names to values, used to configure Hadoop. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes + # in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @main_class = args[:main_class] if args.key?(:main_class) + @args = args[:args] if args.key?(:args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @properties = args[:properties] if args.key?(:properties) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + + # The runtime logging config of the job. + class LoggingConfig + include Google::Apis::Core::Hashable + + # The per-package log levels for the driver. This may include "root" package + # name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', ' + # org.apache = DEBUG' + # Corresponds to the JSON property `driverLogLevels` + # @return [Hash] + attr_accessor :driver_log_levels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @driver_log_levels = args[:driver_log_levels] if args.key?(:driver_log_levels) + end + end + + # A Cloud Dataproc job for running Spark applications on YARN. + class SparkJob + include Google::Apis::Core::Hashable + + # The HCFS URI of the jar file that contains the main class. + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + + # The name of the driver's main class. The jar file that contains the class must + # be in the default CLASSPATH or specified in `jar_file_uris`. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # [Optional] The arguments to pass to the driver. Do not include arguments, such + # as `--conf`, that can be set as job properties, since a collision may occur + # that causes an incorrect job submission. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # [Optional] HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver + # and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # [Optional] HCFS URIs of files to be copied to the working directory of Spark + # drivers and distributed tasks. Useful for naively parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # [Optional] HCFS URIs of archives to be extracted in the working directory of + # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . + # zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # [Optional] A mapping of property names to values, used to configure Spark. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf + # and classes in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @main_class = args[:main_class] if args.key?(:main_class) + @args = args[:args] if args.key?(:args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @properties = args[:properties] if args.key?(:properties) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + + # A Cloud Dataproc job for running PySpark applications on YARN. + class PySparkJob + include Google::Apis::Core::Hashable + + # [Required] The HCFS URI of the main Python file to use as the driver. Must be + # a .py file. + # Corresponds to the JSON property `mainPythonFileUri` + # @return [String] + attr_accessor :main_python_file_uri + + # [Optional] The arguments to pass to the driver. Do not include arguments, such + # as `--conf`, that can be set as job properties, since a collision may occur + # that causes an incorrect job submission. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # [Optional] HCFS file URIs of Python files to pass to the PySpark framework. + # Supported file types: .py, .egg, and .zip. + # Corresponds to the JSON property `pythonFileUris` + # @return [Array] + attr_accessor :python_file_uris + + # [Optional] HCFS URIs of jar files to add to the CLASSPATHs of the Python + # driver and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # [Optional] HCFS URIs of files to be copied to the working directory of Python + # drivers and distributed tasks. Useful for naively parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # [Optional] HCFS URIs of archives to be extracted in the working directory of . + # jar, .tar, .tar.gz, .tgz, and .zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # [Optional] A mapping of property names to values, used to configure PySpark. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf + # and classes in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) + @args = args[:args] if args.key?(:args) + @python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @properties = args[:properties] if args.key?(:properties) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + + # A Cloud Dataproc job for running Hive queries on YARN. + class HiveJob + include Google::Apis::Core::Hashable + + # The HCFS URI of the script that contains Hive queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + # [Optional] Whether to continue executing queries if a query fails. The default + # value is `false`. Setting to `true` can be useful when executing independent + # parallel queries. + # Corresponds to the JSON property `continueOnFailure` + # @return [Boolean] + attr_accessor :continue_on_failure + alias_method :continue_on_failure?, :continue_on_failure + + # [Optional] Mapping of query variable names to values (equivalent to the Hive + # command: `SET name="value";`). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # [Optional] A mapping of property names and values, used to configure Hive. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ + # hive/conf/hive-site.xml, and classes in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # [Optional] HCFS URIs of jar files to add to the CLASSPATH of the Hive server + # and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @properties = args[:properties] if args.key?(:properties) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + end + end + + # A list of queries to run on a cluster. + class QueryList + include Google::Apis::Core::Hashable + + # [Required] The queries to execute. You do not need to terminate a query with a + # semicolon. Multiple queries can be specified in one string by separating each + # with a semicolon. Here is an example of an Cloud Dataproc API snippet that + # uses a QueryList to specify a HiveJob: "hiveJob": ` "queryList": ` "queries": [ + # "query1", "query2", "query3;query4", ] ` ` + # Corresponds to the JSON property `queries` + # @return [Array] + attr_accessor :queries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @queries = args[:queries] if args.key?(:queries) + end + end + + # A Cloud Dataproc job for running Pig queries on YARN. + class PigJob + include Google::Apis::Core::Hashable + + # The HCFS URI of the script that contains the Pig queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + # [Optional] Whether to continue executing queries if a query fails. The default + # value is `false`. Setting to `true` can be useful when executing independent + # parallel queries. + # Corresponds to the JSON property `continueOnFailure` + # @return [Boolean] + attr_accessor :continue_on_failure + alias_method :continue_on_failure?, :continue_on_failure + + # [Optional] Mapping of query variable names to values (equivalent to the Pig + # command: `name=[value]`). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # [Optional] A mapping of property names to values, used to configure Pig. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ + # pig/conf/pig.properties, and classes in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # [Optional] HCFS URIs of jar files to add to the CLASSPATH of the Pig Client + # and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @properties = args[:properties] if args.key?(:properties) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + + # A Cloud Dataproc job for running Spark SQL queries. + class SparkSqlJob + include Google::Apis::Core::Hashable + + # The HCFS URI of the script that contains SQL queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + # [Optional] Mapping of query variable names to values (equivalent to the Spark + # SQL command: SET `name="value";`). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # [Optional] A mapping of property names to values, used to configure Spark SQL' + # s SparkConf. Properties that conflict with values set by the Cloud Dataproc + # API may be overwritten. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # [Optional] HCFS URIs of jar files to be added to the Spark CLASSPATH. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @properties = args[:properties] if args.key?(:properties) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + + # Cloud Dataproc job status. + class JobStatus + include Google::Apis::Core::Hashable + + # [Required] A state message specifying the overall job state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # [Optional] Job state details, such as an error description if the state is + # ERROR. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # [Output-only] The time when this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + @details = args[:details] if args.key?(:details) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + end + end + + # A list of jobs in a project. + class ListJobsResponse + include Google::Apis::Core::Hashable + + # [Output-only] Jobs list. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # [Optional] This token is included in the response if there are more results to + # fetch. To fetch additional results, provide this value as the `page_token` in + # a subsequent ListJobsRequest. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jobs = args[:jobs] if args.key?(:jobs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A request to cancel a job. + class CancelJobRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The location of diagnostic output. + class DiagnoseClusterResults + include Google::Apis::Core::Hashable + + # [Output-only] The Google Cloud Storage URI of the diagnostic output. This is a + # plain text file with a summary of collected diagnostics. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # Metadata describing the operation. + class ClusterOperationMetadata + include Google::Apis::Core::Hashable + + # Name of the cluster for the operation. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + # Cluster UUId for the operation. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + # The status of the operation. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::ClusterOperationStatus] + attr_accessor :status + + # [Output-only] The previous operation status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # [Output-only] The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # [Output-only] Short description of operation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @description = args[:description] if args.key?(:description) + end + end + + # The status of the operation. + class ClusterOperationStatus + include Google::Apis::Core::Hashable + + # A message containing the operation state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # A message containing any operation metadata details. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # The time this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @details = args[:details] if args.key?(:details) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + end + end + # The location where output from diagnostic command can be found. class DiagnoseClusterOutputLocation include Google::Apis::Core::Hashable @@ -115,6 +1518,16 @@ module Google # @return [Array] attr_accessor :status_history + # [Output-only] The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # [Output-only] Short description of operation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + def initialize(**args) update!(**args) end @@ -131,6 +1544,8 @@ module Google @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @description = args[:description] if args.key?(:description) end end diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index 1340010ce..63df16fb4 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -24,18 +24,224 @@ module Google class Media class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Cluster + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GceClusterConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstanceGroupConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedGroupConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SoftwareConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeInitializationAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListClustersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiagnoseClusterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmitJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobPlacement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HadoopJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LoggingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SparkJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PySparkJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HiveJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PigJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SparkSqlJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelJobRequest + 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 + end + + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiagnoseClusterResults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterOperationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiagnoseClusterOutputLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Media @@ -45,6 +251,367 @@ module Google end end + class Cluster + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :cluster_name, as: 'clusterName' + property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + + property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation + + property :cluster_uuid, as: 'clusterUuid' + end + end + + class ClusterConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config_bucket, as: 'configBucket' + property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation + + property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation + + property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation + + property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation + + property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation + + collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation + + end + end + + class GceClusterConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zone_uri, as: 'zoneUri' + property :network_uri, as: 'networkUri' + property :subnetwork_uri, as: 'subnetworkUri' + collection :service_account_scopes, as: 'serviceAccountScopes' + collection :tags, as: 'tags' + hash :metadata, as: 'metadata' + end + end + + class InstanceGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_instances, as: 'numInstances' + collection :instance_names, as: 'instanceNames' + property :image_uri, as: 'imageUri' + property :machine_type_uri, as: 'machineTypeUri' + property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation + + property :is_preemptible, as: 'isPreemptible' + property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation + + end + end + + class DiskConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boot_disk_size_gb, as: 'bootDiskSizeGb' + property :num_local_ssds, as: 'numLocalSsds' + end + end + + class ManagedGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_template_name, as: 'instanceTemplateName' + property :instance_group_manager_name, as: 'instanceGroupManagerName' + end + end + + class SoftwareConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_version, as: 'imageVersion' + hash :properties, as: 'properties' + end + end + + class NodeInitializationAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :executable_file, as: 'executableFile' + property :execution_timeout, as: 'executionTimeout' + end + end + + class ClusterStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + property :detail, as: 'detail' + property :state_start_time, as: 'stateStartTime' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + hash :metadata, as: 'metadata' + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation + + hash :response, as: 'response' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :message, as: 'message' + collection :details, as: 'details' + end + end + + class ListClustersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class DiagnoseClusterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SubmitJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation + + end + end + + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation + + property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation + + property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation + + property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation + + property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation + + property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation + + property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation + + property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation + + property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + + property :driver_output_resource_uri, as: 'driverOutputResourceUri' + property :driver_control_files_uri, as: 'driverControlFilesUri' + end + end + + class JobReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :job_id, as: 'jobId' + end + end + + class JobPlacement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + end + end + + class HadoopJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :main_jar_file_uri, as: 'mainJarFileUri' + property :main_class, as: 'mainClass' + collection :args, as: 'args' + collection :jar_file_uris, as: 'jarFileUris' + collection :file_uris, as: 'fileUris' + collection :archive_uris, as: 'archiveUris' + hash :properties, as: 'properties' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + + class LoggingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :driver_log_levels, as: 'driverLogLevels' + end + end + + class SparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :main_jar_file_uri, as: 'mainJarFileUri' + property :main_class, as: 'mainClass' + collection :args, as: 'args' + collection :jar_file_uris, as: 'jarFileUris' + collection :file_uris, as: 'fileUris' + collection :archive_uris, as: 'archiveUris' + hash :properties, as: 'properties' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + + class PySparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :main_python_file_uri, as: 'mainPythonFileUri' + collection :args, as: 'args' + collection :python_file_uris, as: 'pythonFileUris' + collection :jar_file_uris, as: 'jarFileUris' + collection :file_uris, as: 'fileUris' + collection :archive_uris, as: 'archiveUris' + hash :properties, as: 'properties' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + + class HiveJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + property :continue_on_failure, as: 'continueOnFailure' + hash :script_variables, as: 'scriptVariables' + hash :properties, as: 'properties' + collection :jar_file_uris, as: 'jarFileUris' + end + end + + class QueryList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :queries, as: 'queries' + end + end + + class PigJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + property :continue_on_failure, as: 'continueOnFailure' + hash :script_variables, as: 'scriptVariables' + hash :properties, as: 'properties' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + + class SparkSqlJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + hash :script_variables, as: 'scriptVariables' + hash :properties, as: 'properties' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + + class JobStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + property :details, as: 'details' + property :state_start_time, as: 'stateStartTime' + end + end + + class ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class CancelJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class DiagnoseClusterResults + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_uri, as: 'outputUri' + end + end + + class ClusterOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation + + property :operation_type, as: 'operationType' + property :description, as: 'description' + end + end + + class ClusterOperationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + property :inner_state, as: 'innerState' + property :details, as: 'details' + property :state_start_time, as: 'stateStartTime' + end + end + class DiagnoseClusterOutputLocation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -67,6 +634,8 @@ module Google collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation + property :operation_type, as: 'operationType' + property :description, as: 'description' end end diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 8e7ed727b..54000dffb 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -49,8 +49,8 @@ module Google # Method for media upload. Upload is supported on the URI `/upload/v1/media/`+ # name``. # @param [String] resource_name - # Name of the media that is being downloaded. See [][ByteStream.ReadRequest. - # resource_name]. + # Name of the media that is being downloaded. See ByteStream.ReadRequest. + # resource_name. # @param [Google::Apis::DataprocV1::Media] media_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -94,8 +94,8 @@ module Google # Method for media download. Download is supported on the URI `/v1/media/`+name`? # alt=media`. # @param [String] resource_name - # Name of the media that is being downloaded. See [][ByteStream.ReadRequest. - # resource_name]. + # Name of the media that is being downloaded. See ByteStream.ReadRequest. + # resource_name. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -129,6 +129,583 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Creates a cluster in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the cluster + # belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [Google::Apis::DataprocV1::Cluster] cluster_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::DataprocV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Operation] + # + # @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 create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options) + command.request_representation = Google::Apis::DataprocV1::Cluster::Representation + command.request_object = cluster_object + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.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 a cluster in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project the cluster belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # [Required] The cluster name. + # @param [Google::Apis::DataprocV1::Cluster] cluster_object + # @param [String] update_mask + # [Required] Specifies the path, relative to Cluster, of the field to update. + # For example, to change the number of workers in a cluster to 5, the + # update_mask parameter would be specified as config.worker_config.num_instances, + # and the `PATCH` request body would specify the new value, as follows: ` " + # config":` "workerConfig":` "numInstances":"5" ` ` ` Note: Currently, config. + # worker_config.num_instances is the only field that can be updated. + # @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::DataprocV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Operation] + # + # @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 patch_cluster(project_id, region, cluster_name, cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.request_representation = Google::Apis::DataprocV1::Cluster::Representation + command.request_object = cluster_object + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a cluster in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the cluster + # belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # [Required] The cluster name. + # @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::DataprocV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Operation] + # + # @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_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the resource representation for a cluster in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the cluster + # belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # [Required] The cluster name. + # @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::DataprocV1::Cluster] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Cluster] + # + # @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 get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.response_representation = Google::Apis::DataprocV1::Cluster::Representation + command.response_class = Google::Apis::DataprocV1::Cluster + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all regions/`region`/clusters in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the cluster + # belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [Fixnum] page_size + # The standard List page size. + # @param [String] page_token + # The standard List page token. + # @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::DataprocV1::ListClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListClustersResponse] + # + # @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_clusters(project_id, region, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options) + command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListClustersResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets cluster diagnostic information. After the operation completes, the + # Operation.response field contains `DiagnoseClusterOutputLocation`. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the cluster + # belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # [Required] The cluster name. + # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_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::DataprocV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Operation] + # + # @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 diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options) + command.request_representation = Google::Apis::DataprocV1::DiagnoseClusterRequest::Representation + command.request_object = diagnose_cluster_request_object + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Submits a job to a cluster. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_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::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @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 submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options) + command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation + command.request_object = submit_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the resource representation for a job in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # [Required] The job 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 [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @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 get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_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 + + # Lists regions/`region`/jobs in a project. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [Fixnum] page_size + # [Optional] The number of results to return in each response. + # @param [String] page_token + # [Optional] The page token, returned by a previous call, to request the next + # page of results. + # @param [String] cluster_name + # [Optional] If set, the returned jobs list includes only jobs that were + # submitted to the named cluster. + # @param [String] job_state_matcher + # [Optional] Specifies enumerated categories of jobs to list. + # @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::DataprocV1::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListJobsResponse] + # + # @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_jobs(project_id, region, page_size: nil, page_token: nil, cluster_name: nil, job_state_matcher: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) + command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['clusterName'] = cluster_name unless cluster_name.nil? + command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts a job cancellation request. To access the job resource after + # cancellation, call [regions/`region`/jobs.list](/dataproc/reference/rest/v1/ + # projects.regions.jobs/list) or [regions/`region`/jobs.get](/dataproc/reference/ + # rest/v1/projects.regions.jobs/get). + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # [Required] The job ID. + # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_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::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @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 cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options) + command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation + command.request_object = cancel_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_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 + + # Deletes the job from the project. If the job is active, the delete fails, and + # the response returns `FAILED_PRECONDITION`. + # @param [String] project_id + # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # [Required] The job 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 [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @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_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_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 + + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] name + # The name of the operation resource. + # @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::DataprocV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Operation] + # + # @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 get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding below allows API services to override the binding to use different + # resource name schemes, such as `users/*/operations`. + # @param [String] name + # The name of the operation collection. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @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::DataprocV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListOperationsResponse] + # + # @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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # @param [String] name + # The name of the operation resource to be cancelled. + # @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::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @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 cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns `google.rpc.Code. + # UNIMPLEMENTED`. + # @param [String] name + # The name of the operation resource to be deleted. + # @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::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @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_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/datastore_v1beta2/representations.rb b/generated/google/apis/datastore_v1beta2/representations.rb index 3aa8c9aec..9c9270228 100644 --- a/generated/google/apis/datastore_v1beta2/representations.rb +++ b/generated/google/apis/datastore_v1beta2/representations.rb @@ -24,138 +24,206 @@ module Google class AllocateIdsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AllocateIdsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BeginTransactionRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BeginTransactionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommitRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommitResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CompositeFilter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Entity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EntityResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Filter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GqlQuery class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GqlQueryArg class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Key class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class KeyPathElement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class KindExpression class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LookupRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LookupResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Mutation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MutationResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PartitionId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Property class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyExpression class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyFilter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyOrder class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryResultBatch class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReadOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResponseHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RollbackRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RollbackResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RunQueryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RunQueryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Value class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AllocateIdsRequest diff --git a/generated/google/apis/deploymentmanager_v2/representations.rb b/generated/google/apis/deploymentmanager_v2/representations.rb index 72911d584..bf94675d9 100644 --- a/generated/google/apis/deploymentmanager_v2/representations.rb +++ b/generated/google/apis/deploymentmanager_v2/representations.rb @@ -24,46 +24,68 @@ module Google class ConfigFile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Deployment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeploymentLabelEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeploymentUpdate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeploymentUpdateLabelEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeploymentsCancelPreviewRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDeploymentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeploymentsStopRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportFile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Manifest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListManifestsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -74,7 +96,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -82,12 +108,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Resource @@ -98,8 +132,14 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ResourceUpdate @@ -110,7 +150,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -118,24 +162,38 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ListResourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Type class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ConfigFile diff --git a/generated/google/apis/dfareporting_v2_3/representations.rb b/generated/google/apis/dfareporting_v2_3/representations.rb index 314e31ec8..384254c61 100644 --- a/generated/google/apis/dfareporting_v2_3/representations.rb +++ b/generated/google/apis/dfareporting_v2_3/representations.rb @@ -24,318 +24,476 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountActiveAdSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountPermission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountPermissionGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountPermissionGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountUserProfile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountUserProfilesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activities class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Ad class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdSlot class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAdsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Advertiser class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdvertiserGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAdvertiserGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAdvertisersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AudienceSegment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AudienceSegmentGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Browser class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBrowsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Campaign class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CampaignCreativeAssociation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCampaignCreativeAssociationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCampaignsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChangeLog class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListChangeLogsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCitiesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class City class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ClickTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ClickThroughUrl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ClickThroughUrlSuffixProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CompanionClickThroughOverride class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ConnectionType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListConnectionTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListContentCategoriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContentCategory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCountriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Country class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Creative class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeAsset class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeAssetId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeAssetMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeCustomEvent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeField class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeFieldAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeFieldValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCreativeFieldValuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCreativeFieldsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeGroupAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCreativeGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeOptimizationConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeRotation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreativeSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCreativesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CrossDimensionReachReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomRichMediaEvents class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DateRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DayPartTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DefaultClickThroughEventTagProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeliverySchedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DfpSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Dimension class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DimensionFilter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DimensionValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DimensionValueList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DimensionValueRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DirectorySite class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DirectorySiteContact class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DirectorySiteContactAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDirectorySiteContactsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DirectorySiteSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDirectorySitesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventTagOverride class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListEventTagsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class File @@ -343,291 +501,437 @@ module Google class Urls class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FileList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Flight class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightActivitiesGenerateTagResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListFloodlightActivitiesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightActivity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightActivityDynamicTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightActivityGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListFloodlightActivityGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightActivityPublisherDynamicTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListFloodlightConfigurationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FrequencyCap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FsCommand class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeoTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InventoryItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListInventoryItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class KeyValueTargetingExpression class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LandingPage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLandingPagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LastModifiedInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPopulationClause class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPopulationRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPopulationTerm class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTargetingExpression class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LookbackConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metric class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metro class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMetrosResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MobileCarrier class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMobileCarriersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ObjectFilter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OffsetPosition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OmnitureSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperatingSystem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperatingSystemVersion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperatingSystemVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperatingSystemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OptimizationActivity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Order class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderContact class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderDocument class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOrderDocumentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOrdersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PathToConversionReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Placement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacementAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacementGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlacementGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlacementStrategiesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacementStrategy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacementTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeneratePlacementsTagsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlacementsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlatformType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlatformTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PopupWindowProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PostalCode class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPostalCodesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Pricing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PricingSchedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PricingSchedulePricingPeriod class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProjectsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReachReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Recipient class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Region class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListRegionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemarketingList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemarketingListShare class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListRemarketingListsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report @@ -635,14 +939,20 @@ module Google class Criteria class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CrossDimensionReachCriteria class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Delivery class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FloodlightCriteria @@ -650,7 +960,11 @@ module Google class ReportProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PathToConversionCriteria @@ -658,140 +972,212 @@ module Google class ReportProperties class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ReachCriteria class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Schedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportsConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RichMediaExitOverride class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Site class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SiteContact class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SiteSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSitesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Size class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSizesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SortedDimension class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subaccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSubaccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TagData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TagSetting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TagSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetWindow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TargetableRemarketingList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTargetableRemarketingListsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TechnologyTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ThirdPartyAuthenticationToken class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ThirdPartyTrackingUrl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserDefinedVariableConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserProfile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserProfileList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserRole class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserRolePermission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserRolePermissionGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUserRolePermissionGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUserRolePermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUserRolesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/discovery_v1/representations.rb b/generated/google/apis/discovery_v1/representations.rb index ff77f5b2f..e2e3266a4 100644 --- a/generated/google/apis/discovery_v1/representations.rb +++ b/generated/google/apis/discovery_v1/representations.rb @@ -30,8 +30,14 @@ module Google class Icons class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class JsonSchema @@ -39,6 +45,8 @@ module Google class Annotations class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Variant @@ -46,8 +54,14 @@ module Google class Map class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RestDescription @@ -61,13 +75,23 @@ module Google class Scope class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Icons class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RestMethod @@ -81,25 +105,41 @@ module Google class Resumable class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Simple class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Request class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Response class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RestResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DirectoryList diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index 8945fe690..4b621b605 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20151028' + REVISION = '20160209' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index 59480e1bc..19ddf0c09 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -46,8 +46,8 @@ module Google # @return [String] attr_accessor :kind - # The time that this operation was started by the server. This is in RFC3339 - # text format. + # The time that this operation was started by the server (output only). This is + # in RFC3339 text format. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time diff --git a/generated/google/apis/dns_v1/representations.rb b/generated/google/apis/dns_v1/representations.rb index 5d6aaf6c1..ca7cd065b 100644 --- a/generated/google/apis/dns_v1/representations.rb +++ b/generated/google/apis/dns_v1/representations.rb @@ -24,34 +24,50 @@ module Google class Change class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListChangesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ManagedZone class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListManagedZonesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Project class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Quota class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceRecordSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListResourceRecordSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Change diff --git a/generated/google/apis/doubleclickbidmanager_v1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1/representations.rb index c83bd9da6..e5545ddd0 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/representations.rb @@ -24,86 +24,128 @@ module Google class DownloadLineItemsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DownloadLineItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FilterPair class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListQueriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListReportsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Note class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NotifyProposalChangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Parameters class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Query class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuerySchedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportFailure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportKey class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RowStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RunQueryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadLineItemsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadLineItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DownloadLineItemsRequest diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 329b37ce7..b40d6d324 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20160128' + REVISION = '20160217' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/doubleclicksearch_v2/representations.rb b/generated/google/apis/doubleclicksearch_v2/representations.rb index 771252ee4..cdf7a83a2 100644 --- a/generated/google/apis/doubleclicksearch_v2/representations.rb +++ b/generated/google/apis/doubleclicksearch_v2/representations.rb @@ -24,22 +24,32 @@ module Google class Availability class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Conversion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ConversionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomDimension class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomMetric class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report @@ -47,11 +57,17 @@ module Google class File class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ReportApiColumnSpec class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportRequest @@ -59,35 +75,53 @@ module Google class Filter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OrderBy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportScope class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class SavedColumn class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SavedColumnList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateAvailabilityRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateAvailabilityResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Availability diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index 719aa327f..9f2777488 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20160128' + REVISION = '20160222' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index 1804099a7..971e32ac7 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -1212,6 +1212,12 @@ module Google attr_accessor :can_comment alias_method :can_comment?, :can_comment + # Whether the current user has read access to the Revisions resource of the file. + # Corresponds to the JSON property `canReadRevisions` + # @return [Boolean] + attr_accessor :can_read_revisions + alias_method :can_read_revisions?, :can_read_revisions + # Whether the file can be copied by the current user. # Corresponds to the JSON property `copyable` # @return [Boolean] @@ -1532,6 +1538,7 @@ module Google @alternate_link = args[:alternate_link] if args.key?(:alternate_link) @app_data_contents = args[:app_data_contents] if args.key?(:app_data_contents) @can_comment = args[:can_comment] if args.key?(:can_comment) + @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) @copyable = args[:copyable] if args.key?(:copyable) @created_date = args[:created_date] if args.key?(:created_date) @default_open_with_link = args[:default_open_with_link] if args.key?(:default_open_with_link) diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb index 19e830c38..d5fa4f88a 100644 --- a/generated/google/apis/drive_v2/representations.rb +++ b/generated/google/apis/drive_v2/representations.rb @@ -30,28 +30,44 @@ module Google class RoleSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ExportFormat class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Feature class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportFormat class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MaxUploadSize class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuotaBytesByService class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class App @@ -59,31 +75,47 @@ module Google class Icon class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class AppList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Change class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChangeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChildList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChildReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment @@ -91,19 +123,29 @@ module Google class Context class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CommentList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentReply class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentReplyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class File @@ -114,68 +156,104 @@ module Google class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class IndexableText class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Labels class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Thumbnail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoMediaMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FileList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeneratedIds class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParentReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PermissionId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PermissionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Property class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Revision class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RevisionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User @@ -183,7 +261,11 @@ module Google class Picture class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class About @@ -482,6 +564,7 @@ module Google property :alternate_link, as: 'alternateLink' property :app_data_contents, as: 'appDataContents' property :can_comment, as: 'canComment' + property :can_read_revisions, as: 'canReadRevisions' property :copyable, as: 'copyable' property :created_date, as: 'createdDate', type: DateTime diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index a3014acc7..bf7cf784d 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20160128' + REVISION = '20160222' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index 31067ff00..758c19d80 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -782,6 +782,12 @@ module Google attr_accessor :can_edit alias_method :can_edit?, :can_edit + # Whether the current user has read access to the Revisions resource of the file. + # Corresponds to the JSON property `canReadRevisions` + # @return [Boolean] + attr_accessor :can_read_revisions + alias_method :can_read_revisions?, :can_read_revisions + # Whether the user can modify the file's permissions and sharing settings. # Corresponds to the JSON property `canShare` # @return [Boolean] @@ -797,6 +803,7 @@ module Google @can_comment = args[:can_comment] if args.key?(:can_comment) @can_copy = args[:can_copy] if args.key?(:can_copy) @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) @can_share = args[:can_share] if args.key?(:can_share) end end diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb index 587154646..a2d415628 100644 --- a/generated/google/apis/drive_v3/representations.rb +++ b/generated/google/apis/drive_v3/representations.rb @@ -27,19 +27,29 @@ module Google class StorageQuota class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Change class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChangeList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment @@ -47,11 +57,17 @@ module Google class QuotedFileContent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CommentList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class File @@ -59,6 +75,8 @@ module Google class Capabilities class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContentHints @@ -66,7 +84,11 @@ module Google class Thumbnail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ImageMediaMetadata @@ -74,52 +96,80 @@ module Google class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class VideoMediaMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FileList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeneratedIds class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PermissionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Reply class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplyList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Revision class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RevisionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StartPageToken class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class About @@ -305,6 +355,7 @@ module Google property :can_comment, as: 'canComment' property :can_copy, as: 'canCopy' property :can_edit, as: 'canEdit' + property :can_read_revisions, as: 'canReadRevisions' property :can_share, as: 'canShare' end end diff --git a/generated/google/apis/fitness_v1/representations.rb b/generated/google/apis/fitness_v1/representations.rb index fa4b7edb5..aceead70e 100644 --- a/generated/google/apis/fitness_v1/representations.rb +++ b/generated/google/apis/fitness_v1/representations.rb @@ -24,82 +24,122 @@ module Google class AggregateBucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregateBy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregateRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregateResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Application class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BucketByActivity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BucketBySession class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BucketByTime class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataPoint class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataSource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DataTypeField class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Dataset class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Device class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDataSourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSessionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MapValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Session class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Value class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ValueMapValEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AggregateBucket diff --git a/generated/google/apis/fusiontables_v2.rb b/generated/google/apis/fusiontables_v2.rb index 1eb1bfcf2..37094e9ea 100644 --- a/generated/google/apis/fusiontables_v2.rb +++ b/generated/google/apis/fusiontables_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fusiontables module FusiontablesV2 VERSION = 'V2' - REVISION = '20150618' + REVISION = '20160212' # Manage your Fusion Tables AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables' diff --git a/generated/google/apis/fusiontables_v2/representations.rb b/generated/google/apis/fusiontables_v2/representations.rb index fadbe3bee..017387ffd 100644 --- a/generated/google/apis/fusiontables_v2/representations.rb +++ b/generated/google/apis/fusiontables_v2/representations.rb @@ -24,6 +24,8 @@ module Google class Bucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Column @@ -31,47 +33,71 @@ module Google class BaseColumn class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ColumnList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Geometry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Import class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Line class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LineStyle class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Point class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PointStyle class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Polygon class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PolygonStyle class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Sqlresponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StyleFunction @@ -82,40 +108,62 @@ module Google class Color class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class StyleSetting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StyleSettingList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Table class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TableList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Task class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TaskList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Template class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TemplateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Bucket diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index f63982d43..fa3ed0a97 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20160203' + REVISION = '20160222' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_configuration_v1configuration/representations.rb b/generated/google/apis/games_configuration_v1configuration/representations.rb index b32a66bd8..a94d04e81 100644 --- a/generated/google/apis/games_configuration_v1configuration/representations.rb +++ b/generated/google/apis/games_configuration_v1configuration/representations.rb @@ -24,46 +24,68 @@ module Google class AchievementConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementConfigurationDetail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAchievementConfigurationResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesNumberAffixConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesNumberFormatConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImageConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LeaderboardConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LeaderboardConfigurationDetail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLeaderboardConfigurationResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedString class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedStringBundle class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementConfiguration diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 56ef4b4a5..2e7d14fdc 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20160203' + REVISION = '20160222' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_management_v1management/representations.rb b/generated/google/apis/games_management_v1management/representations.rb index 0a9d38337..0f9b6a2e0 100644 --- a/generated/google/apis/games_management_v1management/representations.rb +++ b/generated/google/apis/games_management_v1management/representations.rb @@ -24,38 +24,56 @@ module Google class AchievementResetAllResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementResetMultipleForAllRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementResetResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventsResetMultipleForAllRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesPlayedResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesPlayerExperienceInfoResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesPlayerLevelResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HiddenPlayer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HiddenPlayerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Player @@ -63,23 +81,35 @@ module Google class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PlayerScoreResetAllResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerScoreResetResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuestsResetMultipleForAllRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ScoresResetMultipleForAllRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementResetAllResponse diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index e3f1904a1..5f098617c 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20160203' + REVISION = '20160222' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/games_v1/representations.rb b/generated/google/apis/games_v1/representations.rb index d97a50b70..c5293cd9e 100644 --- a/generated/google/apis/games_v1/representations.rb +++ b/generated/google/apis/games_v1/representations.rb @@ -24,182 +24,272 @@ module Google class AchievementDefinition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAchievementDefinitionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementIncrementResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementRevealResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementSetStepsAtLeastResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementUnlockResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementUpdateMultipleRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementUpdateMultipleResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateAchievementRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateAchievementResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + 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 + + include Google::Apis::Core::JsonObjectSupport end class ApplicationCategory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApplicationVerifyResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Category class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCategoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventBatchRecordFailure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventChild class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventDefinition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListEventDefinitionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventPeriodRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventPeriodUpdate class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventRecordFailure class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventRecordRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateEventRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateEventResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesAchievementIncrement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GamesAchievementSetStepsAtLeast class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImageAsset class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Instance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceAndroidDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceIosDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceWebDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Leaderboard class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LeaderboardEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLeaderboardResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LeaderboardScoreRank class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LeaderboardScores class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MetagameConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + 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 @@ -207,63 +297,95 @@ module Google class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PlayerAchievement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlayerAchievementResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerEvent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlayerEventResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerExperienceInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerLeaderboardScore class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlayerLeaderboardScoreResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerLevel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlayerResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerScore class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlayerScoreResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerScoreResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlayerScoreSubmissionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PushToken class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PushTokenId @@ -271,151 +393,227 @@ module Google class Ios class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Quest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuestContribution class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuestCriterion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListQuestResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QuestMilestone class Representation < Google::Apis::Core::JsonRepresentation; 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 + + include Google::Apis::Core::JsonObjectSupport end class Snapshot class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SnapshotImage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSnapshotResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + 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 Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AchievementDefinition diff --git a/generated/google/apis/gan_v1beta1/representations.rb b/generated/google/apis/gan_v1beta1/representations.rb index e5601ffb7..8d6b3021b 100644 --- a/generated/google/apis/gan_v1beta1/representations.rb +++ b/generated/google/apis/gan_v1beta1/representations.rb @@ -24,10 +24,14 @@ module Google class Advertiser class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Advertisers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CcOffer @@ -35,19 +39,29 @@ module Google class BonusReward class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DefaultFee class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Reward class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CcOffers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Event @@ -55,11 +69,17 @@ module Google class Product class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Events class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Link @@ -67,27 +87,41 @@ module Google class SpecialOffers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Links class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Money class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Publisher class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Publishers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Advertiser diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 218df9511..1c8433bd5 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -28,7 +28,7 @@ module Google # @see module GenomicsV1 VERSION = 'V1' - REVISION = '20160209' + REVISION = '20160219' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index 617883013..73d4b4481 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -129,7 +129,7 @@ module Google # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ # IAM developer's guide](https://cloud.google.com/iam). # Corresponds to the JSON property `policy` @@ -153,7 +153,7 @@ module Google # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ # IAM developer's guide](https://cloud.google.com/iam). class Policy @@ -171,11 +171,6 @@ module Google # @return [Array] attr_accessor :bindings - # - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - # `etag` is used for optimistic concurrency control as a way to help prevent # simultaneous updates of a policy from overwriting each other. It is strongly # suggested that systems make use of the `etag` in the read-modify-write cycle @@ -196,7 +191,6 @@ module Google def update!(**args) @version = args[:version] if args.key?(:version) @bindings = args[:bindings] if args.key?(:bindings) - @rules = args[:rules] if args.key?(:rules) @etag = args[:etag] if args.key?(:etag) end end @@ -238,209 +232,6 @@ module Google end end - # A rule to be applied in a Policy. - class Rule - include Google::Apis::Core::Hashable - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value - # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets. - # *') matches all verbs. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of - # entries. The format for in and not_in entries is the same as for members in a - # Binding (see google/iam/v1/policy.proto). - # Corresponds to the JSON property `notIn` - # @return [Array] - attr_accessor :not_in - - # Additional restrictions that must be met - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries - # that match the LOG action. - # Corresponds to the JSON property `logConfig` - # @return [Array] - attr_accessor :log_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - @in = args[:in] if args.key?(:in) - @not_in = args[:not_in] if args.key?(:not_in) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) - end - end - - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # Trusted attributes supplied by any service that owns resources and uses the - # IAM system for access control. - # Corresponds to the JSON property `sys` - # @return [String] - attr_accessor :sys - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # The object of the condition. Exactly one of these must be set. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @iam = args[:iam] if args.key?(:iam) - @sys = args[:sys] if args.key?(:sys) - @svc = args[:svc] if args.key?(:svc) - @op = args[:op] if args.key?(:op) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - end - end - - # Specifies what kind of log the caller must write Increment a streamz counter - # with the specified metric and field names. Metric names should start with a '/' - # , generally be lowercase-only, and end in "_count". Field names should not - # contain an initial slash. The actual exported metric names will have "/iam/ - # policy" prepended. Field names correspond to IAM request parameters and field - # values are their respective values. At present only "iam_principal", - # corresponding to IAMContext.principal, is supported. Examples: counter ` - # metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter / - # iam/policy/backend_debug_access_count `iam_principal=[value of IAMContext. - # principal]` At this time we do not support: * multiple field names (though - # this may be supported in the future) * decrementing the counter * incrementing - # it by anything other than 1 - class LogConfig - include Google::Apis::Core::Hashable - - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::GenomicsV1::CounterOptions] - attr_accessor :counter - - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::GenomicsV1::DataAccessOptions] - attr_accessor :data_access - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::GenomicsV1::CloudAuditOptions] - attr_accessor :cloud_audit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @counter = args[:counter] if args.key?(:counter) - @data_access = args[:data_access] if args.key?(:data_access) - @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric = args[:metric] if args.key?(:metric) - @field = args[:field] if args.key?(:field) - end - end - - # Write a Data Access (Gin) log - class DataAccessOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # Request message for `GetIamPolicy` method. class GetIamPolicyRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index af3414df9..e7f001100 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -24,266 +24,362 @@ module Google class ListDatasetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Dataset 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 end class UndeleteDatasetRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Policy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Binding class Representation < Google::Apis::Core::JsonRepresentation; end - end - class Rule - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Condition - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class LogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class DataAccessOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class CloudAuditOptions - class Representation < Google::Apis::Core::JsonRepresentation; end + include Google::Apis::Core::JsonObjectSupport end class GetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Status class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportReadGroupSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExportReadGroupSetRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReadGroupSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReadGroupSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReadGroupSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReadGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Experiment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Program class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCoverageBucketsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CoverageBucket class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Range class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReadsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Read class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LinearAlignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Position class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CigarUnit class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamReadsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamReadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReferenceSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReferenceSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReferenceSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReferencesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchReferencesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Reference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBasesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportVariantsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VariantSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReferenceBound class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VariantSetMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExportVariantSetRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchVariantSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchVariantSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchVariantsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchVariantsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Variant class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VariantCall class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchCallSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchCallSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CallSet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamVariantsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamVariantsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportReadGroupSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportVariantsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationEvent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDatasetsResponse @@ -331,8 +427,6 @@ module Google property :version, as: 'version' collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation - collection :rules, as: 'rules', class: Google::Apis::GenomicsV1::Rule, decorator: Google::Apis::GenomicsV1::Rule::Representation - property :etag, :base64 => true, as: 'etag' end end @@ -345,65 +439,6 @@ module Google end end - class Rule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - collection :permissions, as: 'permissions' - property :action, as: 'action' - collection :in, as: 'in' - collection :not_in, as: 'notIn' - collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::Condition, decorator: Google::Apis::GenomicsV1::Condition::Representation - - collection :log_config, as: 'logConfig', class: Google::Apis::GenomicsV1::LogConfig, decorator: Google::Apis::GenomicsV1::LogConfig::Representation - - end - end - - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :iam, as: 'iam' - property :sys, as: 'sys' - property :svc, as: 'svc' - property :op, as: 'op' - property :value, as: 'value' - collection :values, as: 'values' - end - end - - class LogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :counter, as: 'counter', class: Google::Apis::GenomicsV1::CounterOptions, decorator: Google::Apis::GenomicsV1::CounterOptions::Representation - - property :data_access, as: 'dataAccess', class: Google::Apis::GenomicsV1::DataAccessOptions, decorator: Google::Apis::GenomicsV1::DataAccessOptions::Representation - - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::GenomicsV1::CloudAuditOptions, decorator: Google::Apis::GenomicsV1::CloudAuditOptions::Representation - - end - end - - class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric, as: 'metric' - property :field, as: 'field' - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/gmail_v1/representations.rb b/generated/google/apis/gmail_v1/representations.rb index f9d263855..638774f91 100644 --- a/generated/google/apis/gmail_v1/representations.rb +++ b/generated/google/apis/gmail_v1/representations.rb @@ -24,90 +24,134 @@ module Google class Draft class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class History class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HistoryLabelAdded class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HistoryLabelRemoved class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HistoryMessageAdded class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HistoryMessageDeleted class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Label class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDraftsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListHistoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLabelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMessagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListThreadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Message class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MessagePart class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MessagePartBody class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MessagePartHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ModifyMessageRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ModifyThreadRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Profile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Thread class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WatchRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WatchResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Draft diff --git a/generated/google/apis/groupsmigration_v1/representations.rb b/generated/google/apis/groupsmigration_v1/representations.rb index 88bcd1d4e..c05350d6d 100644 --- a/generated/google/apis/groupsmigration_v1/representations.rb +++ b/generated/google/apis/groupsmigration_v1/representations.rb @@ -24,6 +24,8 @@ module Google class Groups class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Groups diff --git a/generated/google/apis/groupssettings_v1/representations.rb b/generated/google/apis/groupssettings_v1/representations.rb index 085f6071a..7d01bcbbd 100644 --- a/generated/google/apis/groupssettings_v1/representations.rb +++ b/generated/google/apis/groupssettings_v1/representations.rb @@ -24,6 +24,8 @@ module Google class Groups class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Groups diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index b279b001f..b9b6828ab 100644 --- a/generated/google/apis/identitytoolkit_v3.rb +++ b/generated/google/apis/identitytoolkit_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/identity-toolkit/v3/ module IdentitytoolkitV3 VERSION = 'V3' - REVISION = '20160204' + REVISION = '20160216' end end end diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index 19f589453..33a0e2d43 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -624,6 +624,61 @@ module Google end end + # Request to signup new user, create anonymous user or anonymous user reauth. + class SignupNewUserRequest + include Google::Apis::Core::Hashable + + # The captcha challenge. + # Corresponds to the JSON property `captchaChallenge` + # @return [String] + attr_accessor :captcha_challenge + + # Response to the captcha. + # Corresponds to the JSON property `captchaResponse` + # @return [String] + attr_accessor :captcha_response + + # The name of the user. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The email of the user. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The GITKit token of the authenticated user. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + # The new password of the user. + # Corresponds to the JSON property `password` + # @return [String] + attr_accessor :password + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) + @captcha_response = args[:captcha_response] if args.key?(:captcha_response) + @display_name = args[:display_name] if args.key?(:display_name) + @email = args[:email] if args.key?(:email) + @id_token = args[:id_token] if args.key?(:id_token) + @instance_id = args[:instance_id] if args.key?(:instance_id) + @password = args[:password] if args.key?(:password) + end + end + # Request to upload user account in batch. class UploadAccountRequest include Google::Apis::Core::Hashable @@ -690,6 +745,11 @@ module Google # @return [String] attr_accessor :delegated_project_number + # The GITKit token of the authenticated user. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + # Instance id token of the app. # Corresponds to the JSON property `instanceId` # @return [String] @@ -729,6 +789,7 @@ module Google # Update properties of this object def update!(**args) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) + @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token) @post_body = args[:post_body] if args.key?(:post_body) @@ -788,6 +849,11 @@ module Google # @return [String] attr_accessor :email + # The GITKit token of the authenticated user. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + # Instance id token of the app. # Corresponds to the JSON property `instanceId` # @return [String] @@ -813,6 +879,7 @@ module Google @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @email = args[:email] if args.key?(:email) + @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @password = args[:password] if args.key?(:password) @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token) @@ -1031,6 +1098,44 @@ module Google end end + # Response of signing up new user, creating anonymous user or anonymous user + # reauth. + class SignupNewUserResponse + include Google::Apis::Core::Hashable + + # The name of the user. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The email of the user. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The Gitkit id token to login the newly sign up user. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + + # The fixed string "identitytoolkit#SignupNewUserResponse". + # 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) + @display_name = args[:display_name] if args.key?(:display_name) + @email = args[:email] if args.key?(:email) + @id_token = args[:id_token] if args.key?(:id_token) + @kind = args[:kind] if args.key?(:kind) + end + end + # Respone of uploading accounts in batch. class UploadAccountResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index 682d3afb6..3166a5332 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -24,90 +24,140 @@ module Google class CreateAuthUriResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteAccountResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DownloadAccountResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetAccountInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetOobConfirmationCodeResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetRecaptchaParamResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateAuthUriRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DownloadAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetAccountInfoRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetProjectConfigResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResetPasswordRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetAccountInfoRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SignOutUserRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SignOutUserResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignupNewUserRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerifyAssertionRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerifyCustomTokenRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerifyPasswordRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IdpConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Relyingparty class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResetPasswordResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetAccountInfoResponse @@ -115,7 +165,17 @@ module Google class ProviderUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignupNewUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UploadAccountResponse @@ -123,7 +183,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class UserInfo @@ -131,19 +195,29 @@ module Google class ProviderUserInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class VerifyAssertionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerifyCustomTokenResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VerifyPasswordResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateAuthUriResponse @@ -304,6 +378,19 @@ module Google end end + class SignupNewUserRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :captcha_challenge, as: 'captchaChallenge' + property :captcha_response, as: 'captchaResponse' + property :display_name, as: 'displayName' + property :email, as: 'email' + property :id_token, as: 'idToken' + property :instance_id, as: 'instanceId' + property :password, as: 'password' + end + end + class UploadAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -322,6 +409,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :delegated_project_number, as: 'delegatedProjectNumber' + property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' property :pending_id_token, as: 'pendingIdToken' property :post_body, as: 'postBody' @@ -346,6 +434,7 @@ module Google property :captcha_response, as: 'captchaResponse' property :delegated_project_number, as: 'delegatedProjectNumber' property :email, as: 'email' + property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' property :password, as: 'password' property :pending_id_token, as: 'pendingIdToken' @@ -407,6 +496,16 @@ module Google end end + class SignupNewUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :email, as: 'email' + property :id_token, as: 'idToken' + property :kind, as: 'kind' + end + end + class UploadAccountResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/identitytoolkit_v3/service.rb b/generated/google/apis/identitytoolkit_v3/service.rb index 67b13c11a..3c63921c2 100644 --- a/generated/google/apis/identitytoolkit_v3/service.rb +++ b/generated/google/apis/identitytoolkit_v3/service.rb @@ -249,7 +249,7 @@ module Google # @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 get_relyingparty_project_config(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_project_config(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'getProjectConfig', options) command.response_representation = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse @@ -428,6 +428,41 @@ module Google execute_or_queue_command(command, &block) end + # Signup new user. + # @param [Google::Apis::IdentitytoolkitV3::SignupNewUserRequest] signup_new_user_request_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IdentitytoolkitV3::SignupNewUserResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IdentitytoolkitV3::SignupNewUserResponse] + # + # @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 signup_new_user(signup_new_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'signupNewUser', options) + command.request_representation = Google::Apis::IdentitytoolkitV3::SignupNewUserRequest::Representation + command.request_object = signup_new_user_request_object + command.response_representation = Google::Apis::IdentitytoolkitV3::SignupNewUserResponse::Representation + command.response_class = Google::Apis::IdentitytoolkitV3::SignupNewUserResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Batch upload existing user accounts. # @param [Google::Apis::IdentitytoolkitV3::UploadAccountRequest] upload_account_request_object # @param [String] fields diff --git a/generated/google/apis/kgsearch_v1/representations.rb b/generated/google/apis/kgsearch_v1/representations.rb index 36a3efe79..79b5a1337 100644 --- a/generated/google/apis/kgsearch_v1/representations.rb +++ b/generated/google/apis/kgsearch_v1/representations.rb @@ -24,6 +24,8 @@ module Google class SearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchResponse diff --git a/generated/google/apis/licensing_v1/representations.rb b/generated/google/apis/licensing_v1/representations.rb index 1fa12fcd7..3c7fb4fcf 100644 --- a/generated/google/apis/licensing_v1/representations.rb +++ b/generated/google/apis/licensing_v1/representations.rb @@ -24,14 +24,20 @@ module Google class LicenseAssignment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LicenseAssignmentInsert class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LicenseAssignmentList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LicenseAssignment diff --git a/generated/google/apis/logging_v2beta1/representations.rb b/generated/google/apis/logging_v2beta1/representations.rb index dce641dcd..e287e52f1 100644 --- a/generated/google/apis/logging_v2beta1/representations.rb +++ b/generated/google/apis/logging_v2beta1/representations.rb @@ -24,82 +24,122 @@ module Google class Empty class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WriteLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MonitoredResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogEntryOperation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WriteLogEntriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLogEntriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListMonitoredResourceDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MonitoredResourceDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LabelDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSinksResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogSink class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLogMetricsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogMetric class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RequestLog class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogLine class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceLocation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceReference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Empty diff --git a/generated/google/apis/manager_v1beta2/representations.rb b/generated/google/apis/manager_v1beta2/representations.rb index c5200cce1..cca0aa949 100644 --- a/generated/google/apis/manager_v1beta2/representations.rb +++ b/generated/google/apis/manager_v1beta2/representations.rb @@ -24,142 +24,212 @@ module Google class AccessConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Action class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AllowedRule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AutoscalingModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeployState class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Deployment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDeploymentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DiskAttachment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EnvVariable class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExistingDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FirewallModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FirewallModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HealthCheckModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HealthCheckModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LbModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LbModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Metadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MetadataItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Module class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkInterface class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NewDisk class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NewDiskInitializeParams class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParamOverride class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaPoolModule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaPoolModuleStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaPoolParams class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaPoolParamsV1Beta1 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Template class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTemplatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccessConfig diff --git a/generated/google/apis/mirror_v1/representations.rb b/generated/google/apis/mirror_v1/representations.rb index 622d75d2e..0f2df8f9e 100644 --- a/generated/google/apis/mirror_v1/representations.rb +++ b/generated/google/apis/mirror_v1/representations.rb @@ -24,82 +24,122 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Attachment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAttachmentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AuthToken class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Command class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Contact class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListContactsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLocationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MenuItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MenuValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Notification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NotificationConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Setting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subscription class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimelineItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTimelineResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserAction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 9fd5f2eef..38e3fa014 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V2 VERSION = 'V2' - REVISION = '20160122' + REVISION = '20160217' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/oauth2_v2/representations.rb b/generated/google/apis/oauth2_v2/representations.rb index 8cd9f682d..f02b18bd9 100644 --- a/generated/google/apis/oauth2_v2/representations.rb +++ b/generated/google/apis/oauth2_v2/representations.rb @@ -27,15 +27,23 @@ module Google class Key class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Tokeninfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Userinfoplus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Jwk diff --git a/generated/google/apis/pagespeedonline_v2/representations.rb b/generated/google/apis/pagespeedonline_v2/representations.rb index 7a8234624..efd245ee3 100644 --- a/generated/google/apis/pagespeedonline_v2/representations.rb +++ b/generated/google/apis/pagespeedonline_v2/representations.rb @@ -30,12 +30,20 @@ module Google class Rect class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SecondaryRect class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image @@ -43,7 +51,11 @@ module Google class PageRect class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Result @@ -60,22 +72,38 @@ module Google class Url class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PageStats class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RuleGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Version class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FormatString diff --git a/generated/google/apis/partners_v2/representations.rb b/generated/google/apis/partners_v2/representations.rb index 4e7454095..dd2c093f2 100644 --- a/generated/google/apis/partners_v2/representations.rb +++ b/generated/google/apis/partners_v2/representations.rb @@ -24,106 +24,158 @@ module Google class LogUserEventRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RequestMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserOverrides class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TrafficSource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EventData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Lead class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Money class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogUserEventResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResponseMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DebugInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogMessageRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogMessageResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUserStatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetCompanyResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Company class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedCompanyInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Location class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LatLng class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PublicProfile class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CertificationStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CertificationExamStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Rank class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCompaniesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateLeadRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RecaptchaChallenge class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateLeadResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogUserEventRequest diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 4f6ad49d2..c19b11a72 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -28,32 +28,32 @@ module Google VERSION = 'V1' REVISION = '20160210' - # View your street addresses - AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read' + # Manage your contacts + AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' + + # View your contacts + AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' # Know your basic profile info and list of people in your circles. AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' - # Manage your contacts - AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' + # View your street addresses + AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read' # View your complete date of birth AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read' - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + # View your email addresses + AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' # View your phone numbers AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read' - # View your email addresses - AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' # View your basic profile info AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' - - # View your contacts - AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' end end end diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index aaf5b4fa6..4aef9ee7f 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -22,31 +22,160 @@ module Google module Apis module PeopleV1 - # A person's birthday. At least one of the `date` and `text` fields are - # specified. The `date` and `text` fields typically represent the same - # date, but are not guaranteed to. - class Birthday + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. Most fields can have multiple + # items. The items in a field have no guaranteed order, but each non-empty field + # is guaranteed to have exactly one field with `metadata.primary` set to true. + class Person include Google::Apis::Core::Hashable - # A free-form string representing the user's birthday. - # Corresponds to the JSON property `text` + # The resource name for the person, assigned by the server. An ASCII string with + # a max length of 27 characters. Always starts with `people/`. + # Corresponds to the JSON property `resourceName` # @return [String] - attr_accessor :text + attr_accessor :resource_name - # Metadata about a field. + # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. + # Used for web cache validation. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Metadata about a person. # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] + # @return [Google::Apis::PeopleV1::PersonMetadata] attr_accessor :metadata - # Represents a whole calendar date, for example a date of birth. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `date` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :date + # The person's locale preferences. + # Corresponds to the JSON property `locales` + # @return [Array] + attr_accessor :locales + + # The person's names. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + # The person's nicknames. + # Corresponds to the JSON property `nicknames` + # @return [Array] + attr_accessor :nicknames + + # The person's cover photos. + # Corresponds to the JSON property `coverPhotos` + # @return [Array] + attr_accessor :cover_photos + + # The person's photos. + # Corresponds to the JSON property `photos` + # @return [Array] + attr_accessor :photos + + # The person's genders. + # Corresponds to the JSON property `genders` + # @return [Array] + attr_accessor :genders + + # The person's age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + # The person's birthdays. + # Corresponds to the JSON property `birthdays` + # @return [Array] + attr_accessor :birthdays + + # The person's events. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # The person's street addresses. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # The person's residences. + # Corresponds to the JSON property `residences` + # @return [Array] + attr_accessor :residences + + # The person's email addresses. + # Corresponds to the JSON property `emailAddresses` + # @return [Array] + attr_accessor :email_addresses + + # The person's phone numbers. + # Corresponds to the JSON property `phoneNumbers` + # @return [Array] + attr_accessor :phone_numbers + + # The person's instant messaging clients. + # Corresponds to the JSON property `imClients` + # @return [Array] + attr_accessor :im_clients + + # The person's taglines. + # Corresponds to the JSON property `taglines` + # @return [Array] + attr_accessor :taglines + + # The person's biographies. + # Corresponds to the JSON property `biographies` + # @return [Array] + attr_accessor :biographies + + # The person's associated URLs. + # Corresponds to the JSON property `urls` + # @return [Array] + attr_accessor :urls + + # The person's past or current organizations. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + # The person's occupations. + # Corresponds to the JSON property `occupations` + # @return [Array] + attr_accessor :occupations + + # The person's interests. + # Corresponds to the JSON property `interests` + # @return [Array] + attr_accessor :interests + + # The person's skills. + # Corresponds to the JSON property `skills` + # @return [Array] + attr_accessor :skills + + # The person's bragging rights. + # Corresponds to the JSON property `braggingRights` + # @return [Array] + attr_accessor :bragging_rights + + # The person's relations. + # Corresponds to the JSON property `relations` + # @return [Array] + attr_accessor :relations + + # The kind of relationship the person is looking for. + # Corresponds to the JSON property `relationshipInterests` + # @return [Array] + attr_accessor :relationship_interests + + # The person's relationship statuses. + # Corresponds to the JSON property `relationshipStatuses` + # @return [Array] + attr_accessor :relationship_statuses + + # The person's group memberships. + # Corresponds to the JSON property `memberships` + # @return [Array] + attr_accessor :memberships def initialize(**args) update!(**args) @@ -54,32 +183,68 @@ module Google # Update properties of this object def update!(**args) - @text = args[:text] if args.key?(:text) + @resource_name = args[:resource_name] if args.key?(:resource_name) + @etag = args[:etag] if args.key?(:etag) @metadata = args[:metadata] if args.key?(:metadata) - @date = args[:date] if args.key?(:date) + @locales = args[:locales] if args.key?(:locales) + @names = args[:names] if args.key?(:names) + @nicknames = args[:nicknames] if args.key?(:nicknames) + @cover_photos = args[:cover_photos] if args.key?(:cover_photos) + @photos = args[:photos] if args.key?(:photos) + @genders = args[:genders] if args.key?(:genders) + @age_range = args[:age_range] if args.key?(:age_range) + @birthdays = args[:birthdays] if args.key?(:birthdays) + @events = args[:events] if args.key?(:events) + @addresses = args[:addresses] if args.key?(:addresses) + @residences = args[:residences] if args.key?(:residences) + @email_addresses = args[:email_addresses] if args.key?(:email_addresses) + @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) + @im_clients = args[:im_clients] if args.key?(:im_clients) + @taglines = args[:taglines] if args.key?(:taglines) + @biographies = args[:biographies] if args.key?(:biographies) + @urls = args[:urls] if args.key?(:urls) + @organizations = args[:organizations] if args.key?(:organizations) + @occupations = args[:occupations] if args.key?(:occupations) + @interests = args[:interests] if args.key?(:interests) + @skills = args[:skills] if args.key?(:skills) + @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) + @relations = args[:relations] if args.key?(:relations) + @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) + @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) + @memberships = args[:memberships] if args.key?(:memberships) end end - # A person's past or current residence. - class Residence + # Metadata about a person. + class PersonMetadata include Google::Apis::Core::Hashable - # The address of the residence. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value + # The sources of data for the person. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata + # Any former resource names this person has had. Populated only for [` + # connections.list`](/people/api/rest/v1/people.connections/list) requests that + # include a sync token. The resource name may change when adding or removing + # fields that link a contact and profile such as a verified email, verified + # phone number, or profile URL. + # Corresponds to the JSON property `previousResourceNames` + # @return [Array] + attr_accessor :previous_resource_names - # True if the residence is the person's current residence; - # false if the residence is a past residence. - # Corresponds to the JSON property `current` + # True if the person resource has been deleted. Populated only for [`connections. + # list`](/people/api/rest/v1/people.connections/list) requests that include a + # sync token. + # Corresponds to the JSON property `deleted` # @return [Boolean] - attr_accessor :current - alias_method :current?, :current + attr_accessor :deleted + alias_method :deleted?, :deleted + + # The type of the person object. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type def initialize(**args) update!(**args) @@ -87,206 +252,10 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - @current = args[:current] if args.key?(:current) - end - end - - # The kind of relationship the person is looking for. - class RelationshipInterest - include Google::Apis::Core::Hashable - - # The kind of relationship the person is looking for. The value can be custom - # or predefined. Possible values include, but are not limited to, the - # following values: - # * `friend` - # * `date` - # * `relationship` - # * `networking` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The value of the relationship interest translated and formatted in the - # viewer's account locale or the locale specified in the Accept-Language - # HTTP header. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - end - end - - # A brief one-line description of the person. - class Tagline - include Google::Apis::Core::Hashable - - # The tagline. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # An event related to the person. - class Event - include Google::Apis::Core::Hashable - - # The read-only type of the event translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the event. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `anniversary` - # * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Represents a whole calendar date, for example a date of birth. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `date` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @date = args[:date] if args.key?(:date) - end - end - - # A skill that the person has. - class Skill - include Google::Apis::Core::Hashable - - # The skill; for example, `underwater basket weaving`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's nickname. - class Nickname - include Google::Apis::Core::Hashable - - # The nickname. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the nickname. - # 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) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - end - end - - # A person's membership in a group. - class Membership - include Google::Apis::Core::Hashable - - # A Google contact group membership. - # Corresponds to the JSON property `contactGroupMembership` - # @return [Google::Apis::PeopleV1::ContactGroupMembership] - attr_accessor :contact_group_membership - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # A Google Apps Domain membership. - # Corresponds to the JSON property `domainMembership` - # @return [Google::Apis::PeopleV1::DomainMembership] - attr_accessor :domain_membership - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) - @metadata = args[:metadata] if args.key?(:metadata) - @domain_membership = args[:domain_membership] if args.key?(:domain_membership) + @sources = args[:sources] if args.key?(:sources) + @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) + @deleted = args[:deleted] if args.key?(:deleted) + @object_type = args[:object_type] if args.key?(:object_type) end end @@ -315,26 +284,261 @@ module Google end end - # A person's gender. - class Gender + # A person's locale preference. + class Locale include Google::Apis::Core::Hashable - # The gender for the person. The gender can be custom or predefined. - # Possible values include, but are not limited to, the - # following: - # * `male` - # * `female` - # * `other` - # * `unknown` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata + # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) language tag + # representing the locale. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # Metadata about a field. + class FieldMetadata + include Google::Apis::Core::Hashable + + # True if the field is the primary field; false if the field is a secondary + # field. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + # True if the field is verified; false if the field is unverified. A verified + # field is typically a name, email address, phone number, or website that has + # been confirmed to be owned by the person. + # Corresponds to the JSON property `verified` + # @return [Boolean] + attr_accessor :verified + alias_method :verified?, :verified + + # The source of a field. + # Corresponds to the JSON property `source` + # @return [Google::Apis::PeopleV1::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary = args[:primary] if args.key?(:primary) + @verified = args[:verified] if args.key?(:verified) + @source = args[:source] if args.key?(:source) + end + end + + # A person's name. If the name is a mononym, the family name is empty. + class Name + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The display name formatted according to the locale specified by the viewer's + # account or the Accept-Language HTTP header. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The family name. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # The given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # The middle name(s). + # Corresponds to the JSON property `middleName` + # @return [String] + attr_accessor :middle_name + + # The honorific prefixes, such as `Mrs.` or `Dr.` + # Corresponds to the JSON property `honorificPrefix` + # @return [String] + attr_accessor :honorific_prefix + + # The honorific suffixes, such as `Jr.` + # Corresponds to the JSON property `honorificSuffix` + # @return [String] + attr_accessor :honorific_suffix + + # The family name spelled as it sounds. + # Corresponds to the JSON property `phoneticFamilyName` + # @return [String] + attr_accessor :phonetic_family_name + + # The given name spelled as it sounds. + # Corresponds to the JSON property `phoneticGivenName` + # @return [String] + attr_accessor :phonetic_given_name + + # The middle name(s) spelled as they sound. + # Corresponds to the JSON property `phoneticMiddleName` + # @return [String] + attr_accessor :phonetic_middle_name + + # The honorific prefixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificPrefix` + # @return [String] + attr_accessor :phonetic_honorific_prefix + + # The honorific suffixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificSuffix` + # @return [String] + attr_accessor :phonetic_honorific_suffix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @display_name = args[:display_name] if args.key?(:display_name) + @family_name = args[:family_name] if args.key?(:family_name) + @given_name = args[:given_name] if args.key?(:given_name) + @middle_name = args[:middle_name] if args.key?(:middle_name) + @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) + @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) + @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) + @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) + @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) + @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) + end + end + + # A person's nickname. + class Nickname + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The nickname. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The type of the nickname. + # 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) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @type = args[:type] if args.key?(:type) + end + end + + # A person's cover photo. A large image shown on the person's profile page that + # represents who they are or what they care about. + class CoverPhoto + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The URL of the cover photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # True if the cover photo is the default cover photo; false if the cover photo + # is a user-provided cover photo. + # Corresponds to the JSON property `default` + # @return [Boolean] + attr_accessor :default + alias_method :default?, :default + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @url = args[:url] if args.key?(:url) + @default = args[:default] if args.key?(:default) + end + end + + # A person's photo. A picture shown next to the person's name to help others + # recognize the person. + class Photo + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The URL of the photo. + # 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) + @metadata = args[:metadata] if args.key?(:metadata) + @url = args[:url] if args.key?(:url) + end + end + + # A person's gender. + class Gender + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The gender for the person. The gender can be custom or predefined. Possible + # values include, but are not limited to, the following: * `male` * `female` * ` + # other` * `unknown` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + # The read-only value of the gender translated and formatted in the viewer's # account locale or the `Accept-Language` HTTP header locale. # Corresponds to the JSON property `formattedValue` @@ -347,71 +551,128 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) end end - # Metadata about a field. - class FieldMetadata + # A person's birthday. At least one of the `date` and `text` fields are + # specified. The `date` and `text` fields typically represent the same date, but + # are not guaranteed to. + class Birthday include Google::Apis::Core::Hashable - # True if the field is verified; false if the field is unverified. A - # verified field is typically a name, email address, phone number, or - # website that has been confirmed to be owned by the person. - # Corresponds to the JSON property `verified` - # @return [Boolean] - attr_accessor :verified - alias_method :verified?, :verified - - # The source of a field. - # Corresponds to the JSON property `source` - # @return [Google::Apis::PeopleV1::Source] - attr_accessor :source - - # True if the field is the primary field; false if the field is a secondary - # field. - # Corresponds to the JSON property `primary` - # @return [Boolean] - attr_accessor :primary - alias_method :primary?, :primary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @verified = args[:verified] if args.key?(:verified) - @source = args[:source] if args.key?(:source) - @primary = args[:primary] if args.key?(:primary) - end - end - - # A person's locale preference. - class Locale - include Google::Apis::Core::Hashable - - # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) - # language tag representing the locale. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + # A free-form string representing the user's birthday. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @metadata = args[:metadata] if args.key?(:metadata) + @date = args[:date] if args.key?(:date) + @text = args[:text] if args.key?(:text) + end + end + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + class Date + include Google::Apis::Core::Hashable + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if + # specifying a year/month where the day is not significant. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @year = args[:year] if args.key?(:year) + @month = args[:month] if args.key?(:month) + @day = args[:day] if args.key?(:day) + end + end + + # An event related to the person. + class Event + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + # The type of the event. The type can be custom or predefined. Possible values + # include, but are not limited to, the following: * `anniversary` * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only type of the event translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @date = args[:date] if args.key?(:date) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) end end @@ -420,54 +681,29 @@ module Google class Address include Google::Apis::Core::Hashable - # The postal code of the address. - # Corresponds to the JSON property `postalCode` - # @return [String] - attr_accessor :postal_code + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata - # The city of the address. - # Corresponds to the JSON property `city` - # @return [String] - attr_accessor :city - - # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country - # code of the address. - # Corresponds to the JSON property `countryCode` - # @return [String] - attr_accessor :country_code - - # The read-only value of the address formatted in the viewer's account - # locale or the `Accept-Language` HTTP header locale. + # The read-only value of the address formatted in the viewer's account locale or + # the `Accept-Language` HTTP header locale. # Corresponds to the JSON property `formattedValue` # @return [String] attr_accessor :formatted_value + # The type of the address. The type can be custom or predefined. Possible values + # include, but are not limited to, the following: * `home` * `work` * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + # The read-only type of the address translated and formatted in the viewer's # account locale or the `Accept-Language` HTTP header locale. # Corresponds to the JSON property `formattedType` # @return [String] attr_accessor :formatted_type - # The extended address of the address; for example, the apartment number. - # Corresponds to the JSON property `extendedAddress` - # @return [String] - attr_accessor :extended_address - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The region of the address; for example, the state or province. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # The country of the address. - # Corresponds to the JSON property `country` - # @return [String] - attr_accessor :country - # The P.O. box of the address. # Corresponds to the JSON property `poBox` # @return [String] @@ -478,14 +714,36 @@ module Google # @return [String] attr_accessor :street_address - # The type of the address. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `other` - # Corresponds to the JSON property `type` + # The extended address of the address; for example, the apartment number. + # Corresponds to the JSON property `extendedAddress` # @return [String] - attr_accessor :type + attr_accessor :extended_address + + # The city of the address. + # Corresponds to the JSON property `city` + # @return [String] + attr_accessor :city + + # The region of the address; for example, the state or province. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The postal code of the address. + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # The country of the address. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country + # code of the address. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code def initialize(**args) update!(**args) @@ -493,42 +751,356 @@ module Google # Update properties of this object def update!(**args) - @postal_code = args[:postal_code] if args.key?(:postal_code) - @city = args[:city] if args.key?(:city) - @country_code = args[:country_code] if args.key?(:country_code) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @extended_address = args[:extended_address] if args.key?(:extended_address) @metadata = args[:metadata] if args.key?(:metadata) - @region = args[:region] if args.key?(:region) - @country = args[:country] if args.key?(:country) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @po_box = args[:po_box] if args.key?(:po_box) @street_address = args[:street_address] if args.key?(:street_address) - @type = args[:type] if args.key?(:type) + @extended_address = args[:extended_address] if args.key?(:extended_address) + @city = args[:city] if args.key?(:city) + @region = args[:region] if args.key?(:region) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @country = args[:country] if args.key?(:country) + @country_code = args[:country_code] if args.key?(:country_code) end end - # A person's past or current organization. Overlapping date ranges are - # permitted. + # A person's past or current residence. + class Residence + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The address of the residence. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # True if the residence is the person's current residence; false if the + # residence is a past residence. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @current = args[:current] if args.key?(:current) + end + end + + # A person's email address. + class EmailAddress + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The email address. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The type of the email address. The type can be custom or predefined. Possible + # values include, but are not limited to, the following: * `home` * `work` * ` + # other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only type of the email address translated and formatted in the viewer' + # s account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's phone number. + class PhoneNumber + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The phone number. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ + # ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number. + # Corresponds to the JSON property `canonicalForm` + # @return [String] + attr_accessor :canonical_form + + # The type of the phone number. The type can be custom or predefined. Possible + # values include, but are not limited to, the following: * `home` * `work` * ` + # mobile` * `homeFax` * `workFax` * `otherFax` * `pager` * `workMobile` * ` + # workPager` * `main` * `googleVoice` * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only type of the phone number translated and formatted in the viewer' + # s account locale or the the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @canonical_form = args[:canonical_form] if args.key?(:canonical_form) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's instant messaging client. + class ImClient + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The user name used in the IM client. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + # The type of the IM client. The type can be custom or predefined. Possible + # values include, but are not limited to, the following: * `home` * `work` * ` + # other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only type of the IM client translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The protocol of the IM client. The protocol can be custom or predefined. + # Possible values include, but are not limited to, the following: * `aim` * `msn` + # * `yahoo` * `skype` * `qq` * `googleTalk` * `icq` * `jabber` * `netMeeting` + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The read-only protocol of the IM client formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedProtocol` + # @return [String] + attr_accessor :formatted_protocol + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @username = args[:username] if args.key?(:username) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @protocol = args[:protocol] if args.key?(:protocol) + @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) + end + end + + # A brief one-line description of the person. + class Tagline + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The tagline. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's short biography. + class Biography + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The short biography. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's associated URLs. + class Url + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The URL. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The type of the URL. The type can be custom or predefined. Possible values + # include, but are not limited to, the following: * `home` * `work` * `blog` * ` + # profile` * `homePage` * `ftp` * `reservations` * `appInstallPage`: website for + # a Google+ application. * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only type of the URL translated and formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's past or current organization. Overlapping date ranges are permitted. class Organization include Google::Apis::Core::Hashable - # The location of the organization office the person works at. - # Corresponds to the JSON property `location` + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the organization. The type can be custom or predefined. Possible + # values include, but are not limited to, the following: * `work` * `school` + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :location + attr_accessor :type + + # The read-only type of the organization translated and formatted in the viewer' + # s account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :start_date + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :end_date + + # True if the organization is the person's current organization; false if the + # organization is a past organization. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + # The name of the organization. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The phonetic name of the organization. + # Corresponds to the JSON property `phoneticName` + # @return [String] + attr_accessor :phonetic_name + + # The person's department at the organization. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department # The person's job title at the organization. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title - # The read-only type of the organization translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - # The person's job description at the organization. # Corresponds to the JSON property `jobDescription` # @return [String] @@ -545,60 +1117,10 @@ module Google # @return [String] attr_accessor :domain - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # Represents a whole calendar date, for example a date of birth. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `endDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :end_date - - # True if the organization is the person's current organization; - # false if the organization is a past organization. - # Corresponds to the JSON property `current` - # @return [Boolean] - attr_accessor :current - alias_method :current?, :current - - # The name of the organization. - # Corresponds to the JSON property `name` + # The location of the organization office the person works at. + # Corresponds to the JSON property `location` # @return [String] - attr_accessor :name - - # The phonetic name of the organization. - # Corresponds to the JSON property `phoneticName` - # @return [String] - attr_accessor :phonetic_name - - # Represents a whole calendar date, for example a date of birth. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `startDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :start_date - - # The person's department at the organization. - # Corresponds to the JSON property `department` - # @return [String] - attr_accessor :department - - # The type of the organization. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `work` - # * `school` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + attr_accessor :location def initialize(**args) update!(**args) @@ -606,49 +1128,183 @@ module Google # Update properties of this object def update!(**args) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @job_description = args[:job_description] if args.key?(:job_description) - @symbol = args[:symbol] if args.key?(:symbol) - @domain = args[:domain] if args.key?(:domain) @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @start_date = args[:start_date] if args.key?(:start_date) @end_date = args[:end_date] if args.key?(:end_date) @current = args[:current] if args.key?(:current) @name = args[:name] if args.key?(:name) @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) - @start_date = args[:start_date] if args.key?(:start_date) @department = args[:department] if args.key?(:department) - @type = args[:type] if args.key?(:type) + @title = args[:title] if args.key?(:title) + @job_description = args[:job_description] if args.key?(:job_description) + @symbol = args[:symbol] if args.key?(:symbol) + @domain = args[:domain] if args.key?(:domain) + @location = args[:location] if args.key?(:location) end end - # A person's relationship status. - class RelationshipStatus + # A person's occupation. + class Occupation include Google::Apis::Core::Hashable - # The relationship status. The value can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `single` - # * `inARelationship` - # * `engaged` - # * `married` - # * `itsComplicated` - # * `openRelationship` - # * `widowed` - # * `inDomesticPartnership` - # * `inCivilUnion` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata - # The read-only value of the relationship status translated and formatted in - # the viewer's account locale or the `Accept-Language` HTTP header locale. + # The occupation; for example, `carpenter`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # One of the person's interests. + class Interest + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The interest; for example, `stargazing`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A skill that the person has. + class Skill + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The skill; for example, `underwater basket weaving`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's bragging rights. + class BraggingRights + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The bragging rights; for example, `climbed mount everest`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's relation to another person. + class Relation + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The name of the other person this relation refers to. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # The person's relation to the other person. The type can be custom or + # predefined. Possible values include, but are not limited to, the following + # values: * `spouse` * `child` * `mother` * `father` * `parent` * `brother` * ` + # sister` * `friend` * `relative` * `domesticPartner` * `manager` * `assistant` * + # `referredBy` * `partner` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The type of the relation translated and formatted in the viewer's account + # locale or the locale specified in the Accept-Language HTTP header. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @person = args[:person] if args.key?(:person) + @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # The kind of relationship the person is looking for. + class RelationshipInterest + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The kind of relationship the person is looking for. The value can be custom or + # predefined. Possible values include, but are not limited to, the following + # values: * `friend` * `date` * `relationship` * `networking` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The value of the relationship interest translated and formatted in the viewer' + # s account locale or the locale specified in the Accept-Language HTTP header. # Corresponds to the JSON property `formattedValue` # @return [String] attr_accessor :formatted_value @@ -659,22 +1315,86 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) end end + # A person's relationship status. + class RelationshipStatus + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The relationship status. The value can be custom or predefined. Possible + # values include, but are not limited to, the following: * `single` * ` + # inARelationship` * `engaged` * `married` * `itsComplicated` * ` + # openRelationship` * `widowed` * `inDomesticPartnership` * `inCivilUnion` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only value of the relationship status translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + end + end + + # A person's membership in a group. + class Membership + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # A Google contact group membership. + # Corresponds to the JSON property `contactGroupMembership` + # @return [Google::Apis::PeopleV1::ContactGroupMembership] + attr_accessor :contact_group_membership + + # A Google Apps Domain membership. + # Corresponds to the JSON property `domainMembership` + # @return [Google::Apis::PeopleV1::DomainMembership] + attr_accessor :domain_membership + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) + @domain_membership = args[:domain_membership] if args.key?(:domain_membership) + end + end + # A Google contact group membership. class ContactGroupMembership include Google::Apis::Core::Hashable - # The contact group ID for the contact group membership. The contact group - # ID can be custom or predefined. Possible values include, but are not - # limited to, the following: - # * `myContacts` - # * `starred` - # * A numerical ID for user-created groups. + # The contact group ID for the contact group membership. The contact group ID + # can be custom or predefined. Possible values include, but are not limited to, + # the following: * `myContacts` * `starred` * A numerical ID for user-created + # groups. # Corresponds to the JSON property `contactGroupId` # @return [String] attr_accessor :contact_group_id @@ -689,722 +1409,6 @@ module Google end end - # A person's instant messaging client. - class ImClient - include Google::Apis::Core::Hashable - - # The protocol of the IM client. The protocol can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `aim` - # * `msn` - # * `yahoo` - # * `skype` - # * `qq` - # * `googleTalk` - # * `icq` - # * `jabber` - # * `netMeeting` - # Corresponds to the JSON property `protocol` - # @return [String] - attr_accessor :protocol - - # The read-only type of the IM client translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The user name used in the IM client. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - # The read-only protocol of the IM client formatted in the viewer's account - # locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedProtocol` - # @return [String] - attr_accessor :formatted_protocol - - # The type of the IM client. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `other` - # 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) - @protocol = args[:protocol] if args.key?(:protocol) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @username = args[:username] if args.key?(:username) - @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) - @type = args[:type] if args.key?(:type) - end - end - - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. Fields other than IDs, - # metadata, and group memberships are user-edited. - # Most fields can have multiple items. The items in a field have no guaranteed - # order, but each non-empty field is guaranteed to have exactly one field with - # `metadata.primary` set to true. - class Person - include Google::Apis::Core::Hashable - - # The person's associated URLs. - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # The person's birthdays. - # Corresponds to the JSON property `birthdays` - # @return [Array] - attr_accessor :birthdays - - # The person's relations. - # Corresponds to the JSON property `relations` - # @return [Array] - attr_accessor :relations - - # The person's nicknames. - # Corresponds to the JSON property `nicknames` - # @return [Array] - attr_accessor :nicknames - - # The person's biographies. - # Corresponds to the JSON property `biographies` - # @return [Array] - attr_accessor :biographies - - # The person's instant messaging clients. - # Corresponds to the JSON property `imClients` - # @return [Array] - attr_accessor :im_clients - - # The person's bragging rights. - # Corresponds to the JSON property `braggingRights` - # @return [Array] - attr_accessor :bragging_rights - - # The person's locale preferences. - # Corresponds to the JSON property `locales` - # @return [Array] - attr_accessor :locales - - # The person's relationship statuses. - # Corresponds to the JSON property `relationshipStatuses` - # @return [Array] - attr_accessor :relationship_statuses - - # The person's age range. - # Corresponds to the JSON property `ageRange` - # @return [String] - attr_accessor :age_range - - # The person's events. - # Corresponds to the JSON property `events` - # @return [Array] - attr_accessor :events - - # The person's interests. - # Corresponds to the JSON property `interests` - # @return [Array] - attr_accessor :interests - - # The kind of relationship the person is looking for. - # Corresponds to the JSON property `relationshipInterests` - # @return [Array] - attr_accessor :relationship_interests - - # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the - # resource. Used for web cache validation. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The person's past or current organizations. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # The resource name for the person, assigned by the server. An ASCII string - # with a max length of 27 characters. Always starts with `people/`. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - # The person's group memberships. - # Corresponds to the JSON property `memberships` - # @return [Array] - attr_accessor :memberships - - # Metadata about a person. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::PersonMetadata] - attr_accessor :metadata - - # The person's occupations. - # Corresponds to the JSON property `occupations` - # @return [Array] - attr_accessor :occupations - - # The person's names. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - # The person's email addresses. - # Corresponds to the JSON property `emailAddresses` - # @return [Array] - attr_accessor :email_addresses - - # The person's residences. - # Corresponds to the JSON property `residences` - # @return [Array] - attr_accessor :residences - - # The person's skills. - # Corresponds to the JSON property `skills` - # @return [Array] - attr_accessor :skills - - # The person's cover photos. - # Corresponds to the JSON property `coverPhotos` - # @return [Array] - attr_accessor :cover_photos - - # The person's taglines. - # Corresponds to the JSON property `taglines` - # @return [Array] - attr_accessor :taglines - - # The person's phone numbers. - # Corresponds to the JSON property `phoneNumbers` - # @return [Array] - attr_accessor :phone_numbers - - # The person's street addresses. - # Corresponds to the JSON property `addresses` - # @return [Array] - attr_accessor :addresses - - # The person's photos. - # Corresponds to the JSON property `photos` - # @return [Array] - attr_accessor :photos - - # The person's genders. - # Corresponds to the JSON property `genders` - # @return [Array] - attr_accessor :genders - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @urls = args[:urls] if args.key?(:urls) - @birthdays = args[:birthdays] if args.key?(:birthdays) - @relations = args[:relations] if args.key?(:relations) - @nicknames = args[:nicknames] if args.key?(:nicknames) - @biographies = args[:biographies] if args.key?(:biographies) - @im_clients = args[:im_clients] if args.key?(:im_clients) - @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) - @locales = args[:locales] if args.key?(:locales) - @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) - @age_range = args[:age_range] if args.key?(:age_range) - @events = args[:events] if args.key?(:events) - @interests = args[:interests] if args.key?(:interests) - @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) - @etag = args[:etag] if args.key?(:etag) - @organizations = args[:organizations] if args.key?(:organizations) - @resource_name = args[:resource_name] if args.key?(:resource_name) - @memberships = args[:memberships] if args.key?(:memberships) - @metadata = args[:metadata] if args.key?(:metadata) - @occupations = args[:occupations] if args.key?(:occupations) - @names = args[:names] if args.key?(:names) - @email_addresses = args[:email_addresses] if args.key?(:email_addresses) - @residences = args[:residences] if args.key?(:residences) - @skills = args[:skills] if args.key?(:skills) - @cover_photos = args[:cover_photos] if args.key?(:cover_photos) - @taglines = args[:taglines] if args.key?(:taglines) - @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) - @addresses = args[:addresses] if args.key?(:addresses) - @photos = args[:photos] if args.key?(:photos) - @genders = args[:genders] if args.key?(:genders) - end - end - - # - class GetPeopleResponse - include Google::Apis::Core::Hashable - - # The response for each requested resource name. - # Corresponds to the JSON property `responses` - # @return [Array] - attr_accessor :responses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @responses = args[:responses] if args.key?(:responses) - end - end - - # Metadata about a person. - class PersonMetadata - include Google::Apis::Core::Hashable - - # The type of the person object. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - # Any former resource names this person has had. Populated only for - # [`connections.list`](/people/api/rest/v1/people.connections/list) requests - # that include a sync token. - # The resource name may change when adding or removing fields that link a - # contact and profile such as a verified email, verified phone number, or - # profile URL. - # Corresponds to the JSON property `previousResourceNames` - # @return [Array] - attr_accessor :previous_resource_names - - # The sources of data for the person. - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources - - # True if the person resource has been deleted. Populated only for - # [`connections.list`](/people/api/rest/v1/people.connections/list) requests - # that include a sync token. - # Corresponds to the JSON property `deleted` - # @return [Boolean] - attr_accessor :deleted - alias_method :deleted?, :deleted - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_type = args[:object_type] if args.key?(:object_type) - @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) - @sources = args[:sources] if args.key?(:sources) - @deleted = args[:deleted] if args.key?(:deleted) - end - end - - # The response for a single person - class PersonResponse - include Google::Apis::Core::Hashable - - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. Fields other than IDs, - # metadata, and group memberships are user-edited. - # Most fields can have multiple items. The items in a field have no guaranteed - # order, but each non-empty field is guaranteed to have exactly one field with - # `metadata.primary` set to true. - # Corresponds to the JSON property `person` - # @return [Google::Apis::PeopleV1::Person] - attr_accessor :person - - # The original requested resource name. May be different than the resource - # name on the returned person. - # The resource name can change when adding or removing fields that link a - # contact and profile such as a verified email, verified phone number, or a - # profile URL. - # Corresponds to the JSON property `requestedResourceName` - # @return [String] - attr_accessor :requested_resource_name - - # [HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). - # Corresponds to the JSON property `httpStatusCode` - # @return [Fixnum] - attr_accessor :http_status_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @person = args[:person] if args.key?(:person) - @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) - @http_status_code = args[:http_status_code] if args.key?(:http_status_code) - end - end - - # A person's short biography. - class Biography - include Google::Apis::Core::Hashable - - # The short biography. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's photo. A picture shown next to the person's name to help others - # recognize the person. - class Photo - include Google::Apis::Core::Hashable - - # The URL of the photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's occupation. - class Occupation - include Google::Apis::Core::Hashable - - # The occupation; for example, `carpenter`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's cover photo. A large image shown on the person's profile page - # that represents who they are or what they care about. - class CoverPhoto - include Google::Apis::Core::Hashable - - # True if the cover photo is the default cover photo; - # false if the cover photo is a user-provided cover photo. - # Corresponds to the JSON property `default` - # @return [Boolean] - attr_accessor :default - alias_method :default?, :default - - # The URL of the cover photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default = args[:default] if args.key?(:default) - @url = args[:url] if args.key?(:url) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's associated URLs. - class Url - include Google::Apis::Core::Hashable - - # The URL. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only type of the URL translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the URL. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `blog` - # * `profile` - # * `homePage` - # * `ftp` - # * `reservations` - # * `appInstallPage`: website for a Google+ application. - # * `other` - # 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) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - end - end - - # A person's bragging rights. - class BraggingRights - include Google::Apis::Core::Hashable - - # The bragging rights; for example, `climbed mount everest`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # - class ListConnectionsResponse - include Google::Apis::Core::Hashable - - # The token that can be used to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The token that can be used to retrieve changes since the last request. - # Corresponds to the JSON property `nextSyncToken` - # @return [String] - attr_accessor :next_sync_token - - # The list of people that the requestor is connected to. - # Corresponds to the JSON property `connections` - # @return [Array] - attr_accessor :connections - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) - @connections = args[:connections] if args.key?(:connections) - end - end - - # A person's email address. - class EmailAddress - include Google::Apis::Core::Hashable - - # The email address. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only type of the email address translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the email address. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `other` - # 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) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - end - end - - # A person's phone number. - class PhoneNumber - include Google::Apis::Core::Hashable - - # The phone number. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only type of the phone number translated and formatted in the - # viewer's account locale or the the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the phone number. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `mobile` - # * `homeFax` - # * `workFax` - # * `otherFax` - # * `pager` - # * `workMobile` - # * `workPager` - # * `main` - # * `googleVoice` - # * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ - # ibr/004/itu-t.E.164.1.2008.pdf) - # form of the phone number. - # Corresponds to the JSON property `canonicalForm` - # @return [String] - attr_accessor :canonical_form - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @canonical_form = args[:canonical_form] if args.key?(:canonical_form) - end - end - - # Represents a whole calendar date, for example a date of birth. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - class Date - include Google::Apis::Core::Hashable - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 - # if specifying a year/month where the day is not significant. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without - # a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @month = args[:month] if args.key?(:month) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - end - end - # A Google Apps Domain membership. class DomainMembership include Google::Apis::Core::Hashable @@ -1425,19 +1429,14 @@ module Google end end - # One of the person's interests. - class Interest + # + class GetPeopleResponse include Google::Apis::Core::Hashable - # The interest; for example, `stargazing`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata + # The response for each requested resource name. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses def initialize(**args) update!(**args) @@ -1445,51 +1444,35 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) + @responses = args[:responses] if args.key?(:responses) end end - # A person's relation to another person. - class Relation + # The response for a single person + class PersonResponse include Google::Apis::Core::Hashable - # The type of the relation translated and formatted in the viewer's account - # locale or the locale specified in the Accept-Language HTTP header. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type + # [HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). + # Corresponds to the JSON property `httpStatusCode` + # @return [Fixnum] + attr_accessor :http_status_code - # The name of the other person this relation refers to. + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. Most fields can have multiple + # items. The items in a field have no guaranteed order, but each non-empty field + # is guaranteed to have exactly one field with `metadata.primary` set to true. # Corresponds to the JSON property `person` - # @return [String] + # @return [Google::Apis::PeopleV1::Person] attr_accessor :person - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The person's relation to the other person. The type can be custom or - # predefined. - # Possible values include, but are not limited to, the following values: - # * `spouse` - # * `child` - # * `mother` - # * `father` - # * `parent` - # * `brother` - # * `sister` - # * `friend` - # * `relative` - # * `domesticPartner` - # * `manager` - # * `assistant` - # * `referredBy` - # * `partner` - # Corresponds to the JSON property `type` + # The original requested resource name. May be different than the resource name + # on the returned person. The resource name can change when adding or removing + # fields that link a contact and profile such as a verified email, verified + # phone number, or a profile URL. + # Corresponds to the JSON property `requestedResourceName` # @return [String] - attr_accessor :type + attr_accessor :requested_resource_name def initialize(**args) update!(**args) @@ -1497,77 +1480,30 @@ module Google # Update properties of this object def update!(**args) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @http_status_code = args[:http_status_code] if args.key?(:http_status_code) @person = args[:person] if args.key?(:person) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) + @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) end end - # A person's name. If the name is a mononym, the family name is empty. - class Name + # + class ListConnectionsResponse include Google::Apis::Core::Hashable - # The family name spelled as it sounds. - # Corresponds to the JSON property `phoneticFamilyName` - # @return [String] - attr_accessor :phonetic_family_name + # The list of people that the requestor is connected to. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections - # The given name. - # Corresponds to the JSON property `givenName` + # The token that can be used to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :given_name + attr_accessor :next_page_token - # The middle name(s) spelled as they sound. - # Corresponds to the JSON property `phoneticMiddleName` + # The token that can be used to retrieve changes since the last request. + # Corresponds to the JSON property `nextSyncToken` # @return [String] - attr_accessor :phonetic_middle_name - - # The middle name(s). - # Corresponds to the JSON property `middleName` - # @return [String] - attr_accessor :middle_name - - # The given name spelled as it sounds. - # Corresponds to the JSON property `phoneticGivenName` - # @return [String] - attr_accessor :phonetic_given_name - - # The honorific prefixes, such as `Mrs.` or `Dr.` - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific prefixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificPrefix` - # @return [String] - attr_accessor :phonetic_honorific_prefix - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The honorific suffixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificSuffix` - # @return [String] - attr_accessor :phonetic_honorific_suffix - - # The family name. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The display name formatted according to the locale specified by the - # viewer's account or the Accept-Language HTTP header. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The honorific suffixes, such as `Jr.` - # Corresponds to the JSON property `honorificSuffix` - # @return [String] - attr_accessor :honorific_suffix + attr_accessor :next_sync_token def initialize(**args) update!(**args) @@ -1575,18 +1511,9 @@ module Google # Update properties of this object def update!(**args) - @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) - @given_name = args[:given_name] if args.key?(:given_name) - @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) - @middle_name = args[:middle_name] if args.key?(:middle_name) - @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) - @metadata = args[:metadata] if args.key?(:metadata) - @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) - @family_name = args[:family_name] if args.key?(:family_name) - @display_name = args[:display_name] if args.key?(:display_name) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + @connections = args[:connections] if args.key?(:connections) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) end end end diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb index 6ca478ed9..7bd61f145 100644 --- a/generated/google/apis/people_v1/representations.rb +++ b/generated/google/apis/people_v1/representations.rb @@ -22,226 +22,285 @@ module Google module Apis module PeopleV1 - class Birthday - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Residence - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class RelationshipInterest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Tagline - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Event - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Skill - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Nickname - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Membership - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Source - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Gender - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class FieldMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Locale - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Address - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Organization - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class RelationshipStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ContactGroupMembership - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ImClient - class Representation < Google::Apis::Core::JsonRepresentation; end - end - class Person class Representation < Google::Apis::Core::JsonRepresentation; end - end - class GetPeopleResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + include Google::Apis::Core::JsonObjectSupport end class PersonMetadata class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class PersonResponse + class Source class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class Biography + class Locale class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class Photo + class FieldMetadata class Representation < Google::Apis::Core::JsonRepresentation; end - end - class Occupation - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class CoverPhoto - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Url - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BraggingRights - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListConnectionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class EmailAddress - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PhoneNumber - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class DomainMembership - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Interest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Relation - class Representation < Google::Apis::Core::JsonRepresentation; end + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end - end - class Birthday - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - end - end - - class Residence - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :current, as: 'current' - end - end - - class RelationshipInterest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :formatted_value, as: 'formattedValue' - end - end - - class Tagline - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class Event - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - end - end - - class Skill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Nickname - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :type, as: 'type' - end + include Google::Apis::Core::JsonObjectSupport + end + + class CoverPhoto + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Photo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Gender + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Birthday + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Event + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Address + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Residence + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmailAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PhoneNumber + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImClient + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Tagline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Biography + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Url + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Organization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Occupation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Interest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Skill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BraggingRights + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Relation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelationshipInterest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelationshipStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Membership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContactGroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DomainMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetPeopleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PersonResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListConnectionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Person # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation + property :resource_name, as: 'resourceName' + property :etag, as: 'etag' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation - property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation + collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation + collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation + + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + + collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation + + collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation + + property :age_range, as: 'ageRange' + collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation + + collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + + collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation + + collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation + + collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation + + collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + + collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation + + collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation + + collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation + + collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation + + collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation + + collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation + + collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation + + collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation + + collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation + + collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation + + collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation + + collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation + + collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation + + end + end + + class PersonMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + collection :previous_resource_names, as: 'previousResourceNames' + property :deleted, as: 'deleted' + property :object_type, as: 'objectType' end end @@ -253,87 +312,311 @@ module Google end end - class Gender + class Locale # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :formatted_value, as: 'formattedValue' + property :value, as: 'value' end end class FieldMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary' property :verified, as: 'verified' property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation - property :primary, as: 'primary' end end - class Locale + class Name # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :display_name, as: 'displayName' + property :family_name, as: 'familyName' + property :given_name, as: 'givenName' + property :middle_name, as: 'middleName' + property :honorific_prefix, as: 'honorificPrefix' + property :honorific_suffix, as: 'honorificSuffix' + property :phonetic_family_name, as: 'phoneticFamilyName' + property :phonetic_given_name, as: 'phoneticGivenName' + property :phonetic_middle_name, as: 'phoneticMiddleName' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' + end + end + + class Nickname + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :type, as: 'type' + end + end + + class CoverPhoto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :url, as: 'url' + property :default, as: 'default' + end + end + + class Photo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :url, as: 'url' + end + end + + class Gender + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :formatted_value, as: 'formattedValue' + end + end + + class Birthday + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :text, as: 'text' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :year, as: 'year' + property :month, as: 'month' + property :day, as: 'day' + end + end + + class Event + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :type, as: 'type' + property :formatted_type, as: 'formattedType' end end class Address # @private class Representation < Google::Apis::Core::JsonRepresentation - property :postal_code, as: 'postalCode' - property :city, as: 'city' - property :country_code, as: 'countryCode' - property :formatted_value, as: 'formattedValue' - property :formatted_type, as: 'formattedType' - property :extended_address, as: 'extendedAddress' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :region, as: 'region' - property :country, as: 'country' + property :formatted_value, as: 'formattedValue' + property :type, as: 'type' + property :formatted_type, as: 'formattedType' property :po_box, as: 'poBox' property :street_address, as: 'streetAddress' + property :extended_address, as: 'extendedAddress' + property :city, as: 'city' + property :region, as: 'region' + property :postal_code, as: 'postalCode' + property :country, as: 'country' + property :country_code, as: 'countryCode' + end + end + + class Residence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :current, as: 'current' + end + end + + class EmailAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' property :type, as: 'type' + property :formatted_type, as: 'formattedType' + end + end + + class PhoneNumber + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :canonical_form, as: 'canonicalForm' + property :type, as: 'type' + property :formatted_type, as: 'formattedType' + end + end + + class ImClient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :username, as: 'username' + property :type, as: 'type' + property :formatted_type, as: 'formattedType' + property :protocol, as: 'protocol' + property :formatted_protocol, as: 'formattedProtocol' + end + end + + class Tagline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Biography + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Url + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :type, as: 'type' + property :formatted_type, as: 'formattedType' end end class Organization # @private class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :title, as: 'title' - property :formatted_type, as: 'formattedType' - property :job_description, as: 'jobDescription' - property :symbol, as: 'symbol' - property :domain, as: 'domain' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :type, as: 'type' + property :formatted_type, as: 'formattedType' + property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation property :current, as: 'current' property :name, as: 'name' property :phonetic_name, as: 'phoneticName' - property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - property :department, as: 'department' + property :title, as: 'title' + property :job_description, as: 'jobDescription' + property :symbol, as: 'symbol' + property :domain, as: 'domain' + property :location, as: 'location' + end + end + + class Occupation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Interest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Skill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class BraggingRights + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Relation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :person, as: 'person' property :type, as: 'type' + property :formatted_type, as: 'formattedType' + end + end + + class RelationshipInterest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + property :formatted_value, as: 'formattedValue' end end class RelationshipStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :value, as: 'value' property :formatted_value, as: 'formattedValue' end end + class Membership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation + + property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation + + end + end + class ContactGroupMembership # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -341,77 +624,10 @@ module Google end end - class ImClient + class DomainMembership # @private class Representation < Google::Apis::Core::JsonRepresentation - property :protocol, as: 'protocol' - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :username, as: 'username' - property :formatted_protocol, as: 'formattedProtocol' - property :type, as: 'type' - end - end - - class Person - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation - - collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation - - collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation - - collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation - - collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation - - collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation - - collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation - - collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation - - collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation - - property :age_range, as: 'ageRange' - collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation - - collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation - - collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation - - property :etag, as: 'etag' - collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation - - property :resource_name, as: 'resourceName' - collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation - - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation - - collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation - - collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation - - collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation - - collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation - - collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation - - collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation - - collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation - - collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation - - collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation - - collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation - - collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation - + property :in_viewer_domain, as: 'inViewerDomain' end end @@ -423,169 +639,23 @@ module Google end end - class PersonMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_type, as: 'objectType' - collection :previous_resource_names, as: 'previousResourceNames' - collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation - - property :deleted, as: 'deleted' - end - end - class PersonResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :http_status_code, as: 'httpStatusCode' property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation property :requested_resource_name, as: 'requestedResourceName' - property :http_status_code, as: 'httpStatusCode' - end - end - - class Biography - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class Photo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class Occupation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class CoverPhoto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default, as: 'default' - property :url, as: 'url' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class Url - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - end - end - - class BraggingRights - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - end end class ListConnectionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :next_sync_token, as: 'nextSyncToken' collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - end - end - - class EmailAddress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - end - end - - class PhoneNumber - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :canonical_form, as: 'canonicalForm' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :month, as: 'month' - property :day, as: 'day' - property :year, as: 'year' - end - end - - class DomainMembership - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :in_viewer_domain, as: 'inViewerDomain' - end - end - - class Interest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class Relation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_type, as: 'formattedType' - property :person, as: 'person' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :phonetic_family_name, as: 'phoneticFamilyName' - property :given_name, as: 'givenName' - property :phonetic_middle_name, as: 'phoneticMiddleName' - property :middle_name, as: 'middleName' - property :phonetic_given_name, as: 'phoneticGivenName' - property :honorific_prefix, as: 'honorificPrefix' - property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' - property :family_name, as: 'familyName' - property :display_name, as: 'displayName' - property :honorific_suffix, as: 'honorificSuffix' + property :next_page_token, as: 'nextPageToken' + property :next_sync_token, as: 'nextSyncToken' end end end diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 7fe4386fa..7d1de99a8 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -47,65 +47,23 @@ module Google super('https://people.googleapis.com/', '') end - # Provides information about a list of specific people by specifying a list - # of requested resource names. Use `people/me` to indicate the authenticated - # user. - # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting - # this field will include all fields. - # Each path should start with `person.`: for example, `person.names` or - # `person.photos`. - # @param [Array, String] resource_names - # The resource name, such as one returned by - # [`people.connections.list`](/people/api/rest/v1/people.connections/list), - # of one of the people to provide information about. You can include this - # parameter up to 50 times in one request. - # @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 [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PeopleV1::GetPeopleResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::GetPeopleResponse] - # - # @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 get_people(request_mask_include_field: nil, resource_names: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/people:batchGet', options) - command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation - command.response_class = Google::Apis::PeopleV1::GetPeopleResponse - command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Provides information about a person resource for a resource name. Use - # `people/me` to indicate the authenticated user. + # Provides information about a person resource for a resource name. Use `people/ + # me` to indicate the authenticated user. # @param [String] resource_name - # The resource name of the person to provide information about. - # - To get information about the authenticated user, specify `people/me`. - # - To get information about any user, specify the resource name that - # identifies the user, such as the resource names returned by - # [`people.connections.list`](/people/api/rest/v1/people.connections/list). + # The resource name of the person to provide information about. - To get + # information about the authenticated user, specify `people/me`. - To get + # information about any user, specify the resource name that identifies the user, + # such as the resource names returned by [`people.connections.list`](/people/ + # api/rest/v1/people.connections/list). # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting - # this field will include all fields. - # Each path should start with `person.`: for example, `person.names` or - # `person.photos`. + # Comma-separated list of fields to be included in the response. Omitting this + # field will include all fields. Each path should start with `person.`: for + # example, `person.names` or `person.photos`. + # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -118,42 +76,80 @@ module Google # @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 get_person(resource_name, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_person(resource_name, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resourceName}', options) command.response_representation = Google::Apis::PeopleV1::Person::Representation command.response_class = Google::Apis::PeopleV1::Person command.params['resourceName'] = resource_name unless resource_name.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Provides a list of the authenticated user's contacts merged with any - # linked profiles. - # @param [String] resource_name - # The resource name to return connections for. Only `people/me` is valid. - # @param [String] sort_order - # The order in which the connections should be sorted. Defaults to - # `LAST_MODIFIED_ASCENDING`. - # @param [String] sync_token - # A sync token, returned by a previous call to `people.connections.list`. - # Only resources changed since the sync token was created are returned. - # @param [Fixnum] page_size - # The number of connections to include in the response. Valid values are - # between 1 and 500, inclusive. Defaults to 100. + # Provides information about a list of specific people by specifying a list of + # requested resource names. Use `people/me` to indicate the authenticated user. + # @param [Array, String] resource_names + # The resource name, such as one returned by [`people.connections.list`](/people/ + # api/rest/v1/people.connections/list), of one of the people to provide + # information about. You can include this parameter up to 50 times in one + # request. # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting - # this field will include all fields. - # Each path should start with `person.`: for example, `person.names` or - # `person.photos`. - # @param [String] page_token - # The token of the page to be returned. + # Comma-separated list of fields to be included in the response. Omitting this + # field will include all fields. Each path should start with `person.`: for + # example, `person.names` or `person.photos`. + # @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::PeopleV1::GetPeopleResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::GetPeopleResponse] + # + # @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 get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/people:batchGet', options) + command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation + command.response_class = Google::Apis::PeopleV1::GetPeopleResponse + command.query['resourceNames'] = resource_names unless resource_names.nil? + command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Provides a list of the authenticated user's contacts merged with any linked + # profiles. + # @param [String] resource_name + # The resource name to return connections for. Only `people/me` is valid. + # @param [String] page_token + # The token of the page to be returned. + # @param [Fixnum] page_size + # The number of connections to include in the response. Valid values are between + # 1 and 500, inclusive. Defaults to 100. + # @param [String] sort_order + # The order in which the connections should be sorted. Defaults to ` + # LAST_MODIFIED_ASCENDING`. + # @param [String] sync_token + # A sync token, returned by a previous call to `people.connections.list`. Only + # resources changed since the sync token was created are returned. + # @param [String] request_mask_include_field + # Comma-separated list of fields to be included in the response. Omitting this + # field will include all fields. Each path should start with `person.`: for + # example, `person.names` or `person.photos`. # @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 # @@ -166,18 +162,18 @@ module Google # @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_person_connections(resource_name, sort_order: nil, sync_token: nil, page_size: nil, request_mask_include_field: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_person_connections(resource_name, page_token: nil, page_size: nil, sort_order: nil, sync_token: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resourceName}/connections', options) command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['sortOrder'] = sort_order unless sort_order.nil? command.query['syncToken'] = sync_token unless sync_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index d38434239..dcdfe5f5b 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/domains/ module PlusDomainsV1 VERSION = 'V1' - REVISION = '20160208' + REVISION = '20160223' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' diff --git a/generated/google/apis/plus_domains_v1/representations.rb b/generated/google/apis/plus_domains_v1/representations.rb index 6bbc3bcf3..2759eb3e5 100644 --- a/generated/google/apis/plus_domains_v1/representations.rb +++ b/generated/google/apis/plus_domains_v1/representations.rb @@ -24,6 +24,8 @@ module Google class Acl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activity @@ -37,20 +39,32 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Object @@ -64,16 +78,26 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Attachment @@ -81,18 +105,26 @@ module Google class Embed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FullImage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PreviewThumbnail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Thumbnail @@ -100,42 +132,68 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Plusoners class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Replies class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Resharers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StatusForViewer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Provider class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ActivityFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Audience class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AudiencesFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Circle @@ -143,11 +201,17 @@ module Google class People class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CircleFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment @@ -161,33 +225,53 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InReplyTo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Object class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Plusoners class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CommentFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Media @@ -198,16 +282,26 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Exif class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PeopleFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Person @@ -218,36 +312,56 @@ module Google class CoverInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CoverPhoto class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Email class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Organization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacesLived class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Url class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Place @@ -255,19 +369,29 @@ module Google class Address class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Position class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PlusDomainsAclentryResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Videostream class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Acl diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index 37b193264..9d1dbfcb0 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20160208' + REVISION = '20160223' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/plus_v1/representations.rb b/generated/google/apis/plus_v1/representations.rb index 5493aebae..7b4241672 100644 --- a/generated/google/apis/plus_v1/representations.rb +++ b/generated/google/apis/plus_v1/representations.rb @@ -24,6 +24,8 @@ module Google class Acl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activity @@ -37,20 +39,32 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Object @@ -64,16 +78,26 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Attachment @@ -81,14 +105,20 @@ module Google class Embed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FullImage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Thumbnail @@ -96,30 +126,50 @@ module Google class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Plusoners class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Replies class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Resharers class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Provider class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ActivityFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment @@ -133,37 +183,59 @@ module Google class YoutubeActorInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Verification class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InReplyTo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Object class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Plusoners class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CommentFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PeopleFeed class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Person @@ -171,6 +243,8 @@ module Google class AgeRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Cover @@ -178,36 +252,56 @@ module Google class CoverInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CoverPhoto class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Email class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Name class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Organization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlacesLived class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Url class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Place @@ -215,15 +309,23 @@ module Google class Address class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Position class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class PlusAclentryResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Acl diff --git a/generated/google/apis/prediction_v1_6/classes.rb b/generated/google/apis/prediction_v1_6/classes.rb index 75562d5df..bba35e95a 100644 --- a/generated/google/apis/prediction_v1_6/classes.rb +++ b/generated/google/apis/prediction_v1_6/classes.rb @@ -674,7 +674,7 @@ module Google # The estimated regression value (Regression models only). # Corresponds to the JSON property `outputValue` - # @return [String] + # @return [Float] attr_accessor :output_value # A URL to re-request this resource. diff --git a/generated/google/apis/prediction_v1_6/representations.rb b/generated/google/apis/prediction_v1_6/representations.rb index b1c40f3c9..a5c6e318e 100644 --- a/generated/google/apis/prediction_v1_6/representations.rb +++ b/generated/google/apis/prediction_v1_6/representations.rb @@ -36,16 +36,26 @@ module Google class Value class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Numeric class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Text class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OutputFeature @@ -53,17 +63,29 @@ module Google class Numeric class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Text class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ModelDescription class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Input @@ -71,7 +93,11 @@ module Google class Input class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Insert @@ -79,7 +105,11 @@ module Google class TrainingInstance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Insert2 @@ -87,11 +117,17 @@ module Google class ModelInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class List class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Output @@ -99,11 +135,17 @@ module Google class OutputMulti class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Update class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Analyze diff --git a/generated/google/apis/proximitybeacon_v1beta1/representations.rb b/generated/google/apis/proximitybeacon_v1beta1/representations.rb index ec0347a89..0354d4faf 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/representations.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/representations.rb @@ -24,78 +24,116 @@ module Google class Beacon class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdvertisedId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LatLng class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IndoorLevel 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 end class ListBeaconsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BeaconAttachment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBeaconAttachmentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteAttachmentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListNamespacesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Namespace class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDiagnosticsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Diagnostics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Date class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetInfoForObservedBeaconsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Observation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetInfoForObservedBeaconsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BeaconInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AttachmentInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Beacon diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index 1a88b279c..384755cbb 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -24,86 +24,128 @@ module Google class SetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Policy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Binding class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestIamPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Topic class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PublishRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Message class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PublishResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTopicsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTopicSubscriptionsResponse 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 end class Subscription class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PushConfig class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ModifyAckDeadlineRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PullRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PullResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReceivedMessage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ModifyPushConfigRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetIamPolicyRequest diff --git a/generated/google/apis/qpx_express_v1/representations.rb b/generated/google/apis/qpx_express_v1/representations.rb index 811c73e89..544faf245 100644 --- a/generated/google/apis/qpx_express_v1/representations.rb +++ b/generated/google/apis/qpx_express_v1/representations.rb @@ -24,98 +24,146 @@ module Google class AircraftData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AirportData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BagDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CarrierData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CityData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Data class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FareInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FlightInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FreeBaggageAllowance class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LegInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PassengerCounts class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PricingInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SegmentInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SegmentPricing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SliceInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SliceInput class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TaxData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TaxInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeOfDayRange class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TripOption class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TripOptionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TripOptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchTripsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchTripsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AircraftData diff --git a/generated/google/apis/replicapool_v1beta2/representations.rb b/generated/google/apis/replicapool_v1beta2/representations.rb index 1c304cb60..1279d323f 100644 --- a/generated/google/apis/replicapool_v1beta2/representations.rb +++ b/generated/google/apis/replicapool_v1beta2/representations.rb @@ -24,30 +24,44 @@ module Google class InstanceGroupManager class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AbandonInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RecreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetInstanceTemplateRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetTargetPoolsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -58,7 +72,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -66,16 +84,26 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaPoolAutoHealingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupManager diff --git a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb b/generated/google/apis/replicapoolupdater_v1beta1/representations.rb index d6adb2a43..3ba1a7a0d 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/representations.rb @@ -30,12 +30,20 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class InstanceUpdateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -46,7 +54,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -54,12 +66,20 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RollingUpdate @@ -70,16 +90,26 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Policy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class RollingUpdateList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceUpdate diff --git a/generated/google/apis/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index cd914ce60..fc3767bb4 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20160202' + REVISION = '20160218' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/reseller_v1/classes.rb b/generated/google/apis/reseller_v1/classes.rb index 5abd336fa..fcf14ba93 100644 --- a/generated/google/apis/reseller_v1/classes.rb +++ b/generated/google/apis/reseller_v1/classes.rb @@ -276,6 +276,11 @@ module Google # @return [String] attr_accessor :creation_time + # Primary domain name of the customer + # Corresponds to the JSON property `customerDomain` + # @return [String] + attr_accessor :customer_domain + # The id of the customer to whom the subscription belongs. # Corresponds to the JSON property `customerId` # @return [String] @@ -360,6 +365,7 @@ module Google def update!(**args) @billing_method = args[:billing_method] if args.key?(:billing_method) @creation_time = args[:creation_time] if args.key?(:creation_time) + @customer_domain = args[:customer_domain] if args.key?(:customer_domain) @customer_id = args[:customer_id] if args.key?(:customer_id) @kind = args[:kind] if args.key?(:kind) @plan = args[:plan] if args.key?(:plan) diff --git a/generated/google/apis/reseller_v1/representations.rb b/generated/google/apis/reseller_v1/representations.rb index c93d62527..575e083e8 100644 --- a/generated/google/apis/reseller_v1/representations.rb +++ b/generated/google/apis/reseller_v1/representations.rb @@ -24,22 +24,32 @@ module Google class Address class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChangePlanRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Customer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RenewalSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Seats class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subscription @@ -50,20 +60,32 @@ module Google class CommitmentInterval class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TransferInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TrialSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Subscriptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Address @@ -131,6 +153,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :billing_method, as: 'billingMethod' property :creation_time, as: 'creationTime' + property :customer_domain, as: 'customerDomain' property :customer_id, as: 'customerId' property :kind, as: 'kind' property :plan, as: 'plan', class: Google::Apis::ResellerV1::Subscription::Plan, decorator: Google::Apis::ResellerV1::Subscription::Plan::Representation diff --git a/generated/google/apis/resourceviews_v1beta2/representations.rb b/generated/google/apis/resourceviews_v1beta2/representations.rb index a87b9613c..1e77f52a6 100644 --- a/generated/google/apis/resourceviews_v1beta2/representations.rb +++ b/generated/google/apis/resourceviews_v1beta2/representations.rb @@ -24,10 +24,14 @@ module Google class Label class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListResourceResponseItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation @@ -38,7 +42,11 @@ module Google class Error class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Warning @@ -46,44 +54,68 @@ module Google class Datum class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class OperationList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceView class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServiceEndpoint class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AddResourcesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetServiceResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ZoneViewsList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListResourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveResourcesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetServiceRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Label diff --git a/generated/google/apis/script_v1/representations.rb b/generated/google/apis/script_v1/representations.rb index 72245729f..1a46aa6dc 100644 --- a/generated/google/apis/script_v1/representations.rb +++ b/generated/google/apis/script_v1/representations.rb @@ -24,26 +24,38 @@ module Google class ExecutionRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Status class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExecutionError class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ScriptStackTraceElement class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExecutionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExecutionRequest diff --git a/generated/google/apis/site_verification_v1/representations.rb b/generated/google/apis/site_verification_v1/representations.rb index 3498132f0..7deeb4a38 100644 --- a/generated/google/apis/site_verification_v1/representations.rb +++ b/generated/google/apis/site_verification_v1/representations.rb @@ -27,15 +27,23 @@ module Google class Site class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class GetWebResourceTokenResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListWebResourceResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SiteVerificationWebResourceResource @@ -43,7 +51,11 @@ module Google class Site class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class GetWebResourceTokenRequest diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index c96836438..880971351 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/sql/docs/reference/latest module SqladminV1beta4 VERSION = 'V1beta4' - REVISION = '20151201' + REVISION = '20160222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb index 16506ec57..82292d3a3 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -370,13 +370,24 @@ module Google class DatabaseInstance include Google::Apis::Core::Hashable - # The current disk usage of the instance in bytes. + # FIRST_GEN: Basic Cloud SQL instance that runs in a Google-managed container. + # SECOND_GEN: A newer Cloud SQL backend that runs in a Compute Engine VM. + # EXTERNAL: A MySQL server that is not managed by Google. + # Corresponds to the JSON property `backendType` + # @return [String] + attr_accessor :backend_type + + # The current disk usage of the instance in bytes. This property has been + # deprecated. Users should use the "cloudsql.googleapis.com/database/disk/ + # bytes_used" metric in Cloud Monitoring API instead. Please see https://groups. + # google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ for + # details. # Corresponds to the JSON property `currentDiskSize` # @return [String] attr_accessor :current_disk_size # The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults - # to MYSQL_5_5. The databaseVersion can not be changed after instance creation. + # to MYSQL_5_6. The databaseVersion can not be changed after instance creation. # Corresponds to the JSON property `databaseVersion` # @return [String] attr_accessor :database_version @@ -386,8 +397,8 @@ module Google # @return [String] attr_accessor :etag - # The name and status of the failover replica. Only applies to Second Generation - # instances. + # The name and status of the failover replica. This property is applicable only + # to Second Generation instances. # Corresponds to the JSON property `failoverReplica` # @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica] attr_accessor :failover_replica @@ -405,7 +416,8 @@ module Google # @return [Array] attr_accessor :ip_addresses - # The IPv6 address assigned to the instance. + # The IPv6 address assigned to the instance. This property is applicable only to + # First Generation instances. # Corresponds to the JSON property `ipv6Address` # @return [String] attr_accessor :ipv6_address @@ -441,8 +453,10 @@ module Google # @return [String] attr_accessor :project - # The geographical region. Can be us-central, asia-east1 or europe-west1. - # Defaults to us-central. The region can not be changed after instance creation. + # The geographical region. Can be us-central (FIRST_GEN instances only), us- + # central1 (SECOND_GEN instances only), asia-east1 or europe-west1. Defaults to + # us-central or us-central1 depending on the instance type (First Generation or + # Second Generation). The region can not be changed after instance creation. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -467,7 +481,8 @@ module Google # @return [Google::Apis::SqladminV1beta4::SslCert] attr_accessor :server_ca_cert - # The service account email address assigned to the instance. + # The service account email address assigned to the instance. This property is + # applicable only to Second Generation instances. # Corresponds to the JSON property `serviceAccountEmailAddress` # @return [String] attr_accessor :service_account_email_address @@ -490,12 +505,18 @@ module Google # @return [String] attr_accessor :state + # If the instance state is SUSPENDED, the reason for the suspension. + # Corresponds to the JSON property `suspensionReason` + # @return [Array] + attr_accessor :suspension_reason + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @backend_type = args[:backend_type] if args.key?(:backend_type) @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size) @database_version = args[:database_version] if args.key?(:database_version) @etag = args[:etag] if args.key?(:etag) @@ -517,20 +538,23 @@ module Google @service_account_email_address = args[:service_account_email_address] if args.key?(:service_account_email_address) @settings = args[:settings] if args.key?(:settings) @state = args[:state] if args.key?(:state) + @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) end - # The name and status of the failover replica. Only applies to Second Generation - # instances. + # The name and status of the failover replica. This property is applicable only + # to Second Generation instances. class FailoverReplica include Google::Apis::Core::Hashable - # + # The availability status of the failover replica. A false status indicates that + # the failover replica is out of sync. The master can only failover to the + # falover replica when the status is true. # Corresponds to the JSON property `available` # @return [Boolean] attr_accessor :available alias_method :available?, :available - # + # The name of the failover replica. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1521,12 +1545,14 @@ module Google # This can be one of the following. # ALWAYS: The instance should always be active. # NEVER: The instance should never be activated. - # ON_DEMAND: The instance is activated upon receiving requests. + # ON_DEMAND: The instance is activated upon receiving requests; only applicable + # to First Generation instances. # Corresponds to the JSON property `activationPolicy` # @return [String] attr_accessor :activation_policy - # The App Engine app IDs that can access this instance. + # The App Engine app IDs that can access this instance. This property is only + # applicable to First Generation instances. # Corresponds to the JSON property `authorizedGaeApplications` # @return [Array] attr_accessor :authorized_gae_applications @@ -1537,20 +1563,22 @@ module Google attr_accessor :backup_configuration # Configuration specific to read replica instances. Indicates whether database - # flags for crash-safe replication are enabled. + # flags for crash-safe replication are enabled. This property is only applicable + # to First Generation instances. # Corresponds to the JSON property `crashSafeReplicationEnabled` # @return [Boolean] attr_accessor :crash_safe_replication_enabled alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled - # The size of data disk, in GB. Only supported for 2nd Generation instances. The - # data disk size minimum is 10GB. + # The size of data disk, in GB. The data disk size minimum is 10GB. This + # property is only applicable to Second Generation instances. # Corresponds to the JSON property `dataDiskSizeGb` # @return [String] attr_accessor :data_disk_size_gb - # The type of data disk. Only supported for 2nd Generation instances. The - # default type is SSD. + # The type of data disk. Only supported for Second Generation instances. The + # default type is PD_SSD. This property is only applicable to Second Generation + # instances. # Corresponds to the JSON property `dataDiskType` # @return [String] attr_accessor :data_disk_type @@ -1593,12 +1621,13 @@ module Google attr_accessor :maintenance_window # The pricing plan for this instance. This can be either PER_USE or PACKAGE. + # Only PER_USE is supported for Second Generation instances. # Corresponds to the JSON property `pricingPlan` # @return [String] attr_accessor :pricing_plan # The type of replication this instance uses. This can be either ASYNCHRONOUS or - # SYNCHRONOUS. + # SYNCHRONOUS. This property is only applicable to First Generation instances. # Corresponds to the JSON property `replicationType` # @return [String] attr_accessor :replication_type @@ -1914,7 +1943,7 @@ module Google # The host name from which the user can connect. For insert operations, host # defaults to an empty string. For update operations, host is specified as part - # of the request URL. The host name is not mutable with this API. + # of the request URL. The host name cannot be updated after insertion. # Corresponds to the JSON property `host` # @return [String] attr_accessor :host diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 479e2719e..27157fd17 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -24,34 +24,50 @@ module Google class AclEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackupConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BackupRun class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBackupRunsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BinLogCoordinates class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CloneContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Database class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatabaseFlags class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DatabaseInstance @@ -59,11 +75,17 @@ module Google class FailoverReplica class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ListDatabasesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExportContext @@ -71,23 +93,35 @@ module Google class CsvExportOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SqlExportOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class FailoverContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Flag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListFlagsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportContext @@ -95,123 +129,185 @@ module Google class CsvImportOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class CloneInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExportInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstancesFailoverRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImportInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RestoreInstancesBackupRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IpConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IpMapping class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocationPreference class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MaintenanceWindow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MySqlReplicaConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OnPremisesConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationError class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OperationErrors class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReplicaConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RestoreBackupContext class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Settings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCert class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertDetail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SslCertsCreateEphemeralRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InsertSslCertsRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InsertSslCertsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSslCertsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tier class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTiersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AclEntry @@ -310,6 +406,7 @@ module Google class DatabaseInstance # @private class Representation < Google::Apis::Core::JsonRepresentation + property :backend_type, as: 'backendType' property :current_disk_size, as: 'currentDiskSize' property :database_version, as: 'databaseVersion' property :etag, as: 'etag' @@ -337,6 +434,7 @@ module Google property :settings, as: 'settings', class: Google::Apis::SqladminV1beta4::Settings, decorator: Google::Apis::SqladminV1beta4::Settings::Representation property :state, as: 'state' + collection :suspension_reason, as: 'suspensionReason' end class FailoverReplica diff --git a/generated/google/apis/sqladmin_v1beta4/service.rb b/generated/google/apis/sqladmin_v1beta4/service.rb index 62390213c..f8c25b3ac 100644 --- a/generated/google/apis/sqladmin_v1beta4/service.rb +++ b/generated/google/apis/sqladmin_v1beta4/service.rb @@ -181,8 +181,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a resource containing information about a database inside a Cloud SQL - # instance. + # Deletes a database from a Cloud SQL instance. # @param [String] project # Project ID of the project that contains the instance. # @param [String] instance @@ -467,7 +466,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a Cloud SQL instance as a clone of the source instance. + # Creates a Cloud SQL instance as a clone of the source instance. The API is not + # ready for Second Generation instances yet. # @param [String] project # Project ID of the source as well as the clone Cloud SQL instance. # @param [String] instance diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index ef9c175d4..3e714d325 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20160127' + REVISION = '20160210' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storage_v1/representations.rb b/generated/google/apis/storage_v1/representations.rb index beab1a773..fb1be0951 100644 --- a/generated/google/apis/storage_v1/representations.rb +++ b/generated/google/apis/storage_v1/representations.rb @@ -27,6 +27,8 @@ module Google class CorsConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Lifecycle @@ -37,29 +39,47 @@ module Google class Action class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Condition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Logging class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Owner class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Versioning class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Website class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class BucketAccessControl @@ -67,19 +87,29 @@ module Google class ProjectTeam class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class BucketAccessControls class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Buckets class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ComposeRequest @@ -90,8 +120,14 @@ module Google class ObjectPreconditions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Object @@ -99,11 +135,17 @@ module Google class CustomerEncryption class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Owner class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ObjectAccessControl @@ -111,19 +153,29 @@ module Google class ProjectTeam class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ObjectAccessControls class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Objects class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RewriteResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Bucket diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index 4eddc3500..2731a97d8 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -24,98 +24,146 @@ module Google class GoogleServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TransferJob class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TransferSpec class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GcsData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AwsS3Data class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AwsAccessKey class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class HttpData class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ObjectConditions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TransferOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Schedule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Date class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeOfDay class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UpdateTransferJobRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTransferJobsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PauseTransferOperationRequest 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 end class ResumeTransferOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Status class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TransferOperation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TransferCounters class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ErrorSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ErrorLogEntry class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GoogleServiceAccount diff --git a/generated/google/apis/tagmanager_v1.rb b/generated/google/apis/tagmanager_v1.rb index f85d9e0a6..f61fead17 100644 --- a/generated/google/apis/tagmanager_v1.rb +++ b/generated/google/apis/tagmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/tag-manager/api/v1/ module TagmanagerV1 VERSION = 'V1' - REVISION = '20151112' + REVISION = '20160209' # Delete your Google Tag Manager containers AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers' diff --git a/generated/google/apis/tagmanager_v1/classes.rb b/generated/google/apis/tagmanager_v1/classes.rb index 45108819e..5ae540f45 100644 --- a/generated/google/apis/tagmanager_v1/classes.rb +++ b/generated/google/apis/tagmanager_v1/classes.rb @@ -457,6 +457,97 @@ module Google end end + # Represents a Google Tag Manager Environment. Note that a user can create, + # delete and update environments of type USER, but can only update the + # enable_debug and url fields of environments of other types. + class Environment + include Google::Apis::Core::Hashable + + # GTM Account ID. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The environment authorization code. + # Corresponds to the JSON property `authorizationCode` + # @return [String] + attr_accessor :authorization_code + + # The last update time-stamp for the authorization code. + # Corresponds to the JSON property `authorizationTimestampMs` + # @return [String] + attr_accessor :authorization_timestamp_ms + + # GTM Container ID. + # Corresponds to the JSON property `containerId` + # @return [String] + attr_accessor :container_id + + # + # Corresponds to the JSON property `containerVersionId` + # @return [String] + attr_accessor :container_version_id + + # The environment description. Can be set or changed only on USER type + # environments. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Whether or not to enable debug by default on for the environment. + # Corresponds to the JSON property `enableDebug` + # @return [Boolean] + attr_accessor :enable_debug + alias_method :enable_debug?, :enable_debug + + # GTM Environment ID uniquely identifies the GTM Environment. + # Corresponds to the JSON property `environmentId` + # @return [String] + attr_accessor :environment_id + + # The fingerprint of the GTM environment as computed at storage time. This value + # is recomputed whenever the environment is modified. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # The environment display name. Can be set or changed only on USER type + # environments. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The type of this environment. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Default preview page url for the environment. + # 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) + @account_id = args[:account_id] if args.key?(:account_id) + @authorization_code = args[:authorization_code] if args.key?(:authorization_code) + @authorization_timestamp_ms = args[:authorization_timestamp_ms] if args.key?(:authorization_timestamp_ms) + @container_id = args[:container_id] if args.key?(:container_id) + @container_version_id = args[:container_version_id] if args.key?(:container_version_id) + @description = args[:description] if args.key?(:description) + @enable_debug = args[:enable_debug] if args.key?(:enable_debug) + @environment_id = args[:environment_id] if args.key?(:environment_id) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + @url = args[:url] if args.key?(:url) + end + end + # Represents a Google Tag Manager Folder. class Folder include Google::Apis::Core::Hashable @@ -614,6 +705,25 @@ module Google end end + # List Environments Response. + class ListEnvironmentsResponse + include Google::Apis::Core::Hashable + + # All Environments of a GTM Container. + # Corresponds to the JSON property `environments` + # @return [Array] + attr_accessor :environments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environments = args[:environments] if args.key?(:environments) + end + end + # List Folders Response. class ListFoldersResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/tagmanager_v1/representations.rb b/generated/google/apis/tagmanager_v1/representations.rb index 1723ba612..654f689a1 100644 --- a/generated/google/apis/tagmanager_v1/representations.rb +++ b/generated/google/apis/tagmanager_v1/representations.rb @@ -24,118 +24,188 @@ module Google class Account class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccountAccess class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Condition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Container class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContainerAccess class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContainerVersion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContainerVersionHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateContainerVersionRequestVersionOptions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateContainerVersionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Environment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Folder class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FolderEntities class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountUsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListContainerVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListContainersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListEnvironmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListFoldersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTagsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTriggersResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListVariablesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Macro class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Parameter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PublishContainerVersionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Rule class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetupTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TeardownTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Trigger class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserAccess class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Variable class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account @@ -250,6 +320,24 @@ module Google end end + class Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :authorization_code, as: 'authorizationCode' + property :authorization_timestamp_ms, as: 'authorizationTimestampMs' + property :container_id, as: 'containerId' + property :container_version_id, as: 'containerVersionId' + property :description, as: 'description' + property :enable_debug, as: 'enableDebug' + property :environment_id, as: 'environmentId' + property :fingerprint, as: 'fingerprint' + property :name, as: 'name' + property :type, as: 'type' + property :url, as: 'url' + end + end + class Folder # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -307,6 +395,14 @@ module Google end end + class ListEnvironmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :environments, as: 'environments', class: Google::Apis::TagmanagerV1::Environment, decorator: Google::Apis::TagmanagerV1::Environment::Representation + + end + end + class ListFoldersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/tagmanager_v1/service.rb b/generated/google/apis/tagmanager_v1/service.rb index 618491f85..f16f04e6f 100644 --- a/generated/google/apis/tagmanager_v1/service.rb +++ b/generated/google/apis/tagmanager_v1/service.rb @@ -353,6 +353,261 @@ module Google execute_or_queue_command(command, &block) end + # Creates a GTM Environment. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [Google::Apis::TagmanagerV1::Environment] environment_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::Environment] + # + # @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 create_account_container_environment(account_id, container_id, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/environments', options) + command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.request_object = environment_object + command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.response_class = Google::Apis::TagmanagerV1::Environment + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a GTM Environment. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [String] environment_id + # The GTM Environment 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @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_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options) + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.params['environmentId'] = environment_id unless environment_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a GTM Environment. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [String] environment_id + # The GTM Environment 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::Environment] + # + # @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 get_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options) + command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.response_class = Google::Apis::TagmanagerV1::Environment + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.params['environmentId'] = environment_id unless environment_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists all GTM Environments of a GTM Container. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::ListEnvironmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::ListEnvironmentsResponse] + # + # @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_account_container_environments(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/environments', options) + command.response_representation = Google::Apis::TagmanagerV1::ListEnvironmentsResponse::Representation + command.response_class = Google::Apis::TagmanagerV1::ListEnvironmentsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a GTM Environment. This method supports patch semantics. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [String] environment_id + # The GTM Environment ID. + # @param [Google::Apis::TagmanagerV1::Environment] environment_object + # @param [String] fingerprint + # When provided, this fingerprint must match the fingerprint of the environment + # in storage. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::Environment] + # + # @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 patch_account_container_environment(account_id, container_id, environment_id, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options) + command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.request_object = environment_object + command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.response_class = Google::Apis::TagmanagerV1::Environment + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.params['environmentId'] = environment_id unless environment_id.nil? + command.query['fingerprint'] = fingerprint unless fingerprint.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a GTM Environment. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [String] environment_id + # The GTM Environment ID. + # @param [Google::Apis::TagmanagerV1::Environment] environment_object + # @param [String] fingerprint + # When provided, this fingerprint must match the fingerprint of the environment + # in storage. + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::Environment] + # + # @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_account_container_environment(account_id, container_id, environment_id, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options) + command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.request_object = environment_object + command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.response_class = Google::Apis::TagmanagerV1::Environment + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.params['environmentId'] = environment_id unless environment_id.nil? + command.query['fingerprint'] = fingerprint unless fingerprint.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a GTM Folder. # @param [String] account_id # The GTM Account ID. @@ -608,6 +863,7 @@ module Google # The GTM Container ID. # @param [String] folder_id # The GTM Folder ID. + # @param [Google::Apis::TagmanagerV1::Folder] folder_object # @param [Array, String] tag_id # The tags to be moved to the folder. # @param [Array, String] trigger_id @@ -635,8 +891,10 @@ module Google # @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_account_container_move_folder(account_id, container_id, folder_id, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_account_container_move_folder(account_id, container_id, folder_id, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', options) + command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation + command.request_object = folder_object command.params['accountId'] = account_id unless account_id.nil? command.params['containerId'] = container_id unless container_id.nil? command.params['folderId'] = folder_id unless folder_id.nil? @@ -649,6 +907,50 @@ module Google execute_or_queue_command(command, &block) end + # Re-generates the authorization code for a GTM Environment. + # @param [String] account_id + # The GTM Account ID. + # @param [String] container_id + # The GTM Container ID. + # @param [String] environment_id + # The GTM Environment ID. + # @param [Google::Apis::TagmanagerV1::Environment] environment_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TagmanagerV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TagmanagerV1::Environment] + # + # @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_account_container_reauthorize_environment(account_id, container_id, environment_id, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}', options) + command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.request_object = environment_object + command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation + command.response_class = Google::Apis::TagmanagerV1::Environment + command.params['accountId'] = account_id unless account_id.nil? + command.params['containerId'] = container_id unless container_id.nil? + command.params['environmentId'] = environment_id unless environment_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a GTM Tag. # @param [String] account_id # The GTM Account ID. diff --git a/generated/google/apis/taskqueue_v1beta2/representations.rb b/generated/google/apis/taskqueue_v1beta2/representations.rb index 96ad753a5..8369df749 100644 --- a/generated/google/apis/taskqueue_v1beta2/representations.rb +++ b/generated/google/apis/taskqueue_v1beta2/representations.rb @@ -24,6 +24,8 @@ module Google class Task class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TaskQueue @@ -31,19 +33,29 @@ module Google class Acl class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Stats class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class Tasks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tasks2 class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Task diff --git a/generated/google/apis/tasks_v1/representations.rb b/generated/google/apis/tasks_v1/representations.rb index 4496ef20c..955e9bcee 100644 --- a/generated/google/apis/tasks_v1/representations.rb +++ b/generated/google/apis/tasks_v1/representations.rb @@ -27,19 +27,29 @@ module Google class Link class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class TaskList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TaskLists class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Tasks class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Task diff --git a/generated/google/apis/translate_v2.rb b/generated/google/apis/translate_v2.rb index 8b4bb5ea5..3b80d8477 100644 --- a/generated/google/apis/translate_v2.rb +++ b/generated/google/apis/translate_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/translate/v2/using_rest module TranslateV2 VERSION = 'V2' - REVISION = '20141123' + REVISION = '20160217' end end end diff --git a/generated/google/apis/translate_v2/representations.rb b/generated/google/apis/translate_v2/representations.rb index 855e03eb5..b9b9f403f 100644 --- a/generated/google/apis/translate_v2/representations.rb +++ b/generated/google/apis/translate_v2/representations.rb @@ -24,26 +24,38 @@ module Google class ListDetectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DetectionsResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLanguagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LanguagesResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListTranslationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TranslationsResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListDetectionsResponse diff --git a/generated/google/apis/urlshortener_v1/representations.rb b/generated/google/apis/urlshortener_v1/representations.rb index 921be5244..9caa8b2ef 100644 --- a/generated/google/apis/urlshortener_v1/representations.rb +++ b/generated/google/apis/urlshortener_v1/representations.rb @@ -24,22 +24,32 @@ module Google class AnalyticsSnapshot class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnalyticsSummary class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StringCount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Url class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlHistory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnalyticsSnapshot diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb new file mode 100644 index 000000000..e32ff7bb2 --- /dev/null +++ b/generated/google/apis/vision_v1.rb @@ -0,0 +1,37 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/vision_v1/service.rb' +require 'google/apis/vision_v1/classes.rb' +require 'google/apis/vision_v1/representations.rb' + +module Google + module Apis + # Cloud Vision API + # + # The Google Cloud Vision API allows developers to easily integrate Google + # vision features, including image labeling, face, logo, and landmark detection, + # optical character recognition (OCR), and detection of explicit content, into + # applications. + # + # @see https://cloud.google.com/vision/ + module VisionV1 + VERSION = 'V1' + REVISION = '20160223' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb new file mode 100644 index 000000000..e680f09dc --- /dev/null +++ b/generated/google/apis/vision_v1/classes.rb @@ -0,0 +1,1259 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module VisionV1 + + # External image source (i.e. Google Cloud Storage image location). + class ImageSource + include Google::Apis::Core::Hashable + + # Google Cloud Storage image URI. It must be in the following form: + # "gs://bucket_name/object_name". For more + # details, please see: https://cloud.google.com/storage/docs/reference-uris. + # NOTE: Cloud Storage object versioning is not supported! + # Corresponds to the JSON property `gcsImageUri` + # @return [String] + attr_accessor :gcs_image_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri) + end + end + + # Request for performing Vision tasks over a user-provided image, with + # user-requested features. + class AnnotateImageRequest + include Google::Apis::Core::Hashable + + # Client image to perform Vision tasks over. + # Corresponds to the JSON property `image` + # @return [Google::Apis::VisionV1::Image] + attr_accessor :image + + # Image context. + # Corresponds to the JSON property `imageContext` + # @return [Google::Apis::VisionV1::ImageContext] + attr_accessor :image_context + + # Requested features. + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image = args[:image] if args.key?(:image) + @image_context = args[:image_context] if args.key?(:image_context) + @features = args[:features] if args.key?(:features) + end + end + + # Response to an image annotation request. + class AnnotateImageResponse + include Google::Apis::Core::Hashable + + # If present, label detection completed successfully. + # Corresponds to the JSON property `labelAnnotations` + # @return [Array] + attr_accessor :label_annotations + + # If present, landmark detection completed successfully. + # Corresponds to the JSON property `landmarkAnnotations` + # @return [Array] + attr_accessor :landmark_annotations + + # Set of features pertaining to the image, computed by various computer vision + # methods over safe-search verticals (for example, adult, spoof, medical, + # violence). + # Corresponds to the JSON property `safeSearchAnnotation` + # @return [Google::Apis::VisionV1::SafeSearchAnnotation] + attr_accessor :safe_search_annotation + + # Stores image properties (e.g. dominant colors). + # Corresponds to the JSON property `imagePropertiesAnnotation` + # @return [Google::Apis::VisionV1::ImageProperties] + attr_accessor :image_properties_annotation + + # If present, text (OCR) detection completed successfully. + # Corresponds to the JSON property `textAnnotations` + # @return [Array] + attr_accessor :text_annotations + + # If present, logo detection completed successfully. + # Corresponds to the JSON property `logoAnnotations` + # @return [Array] + attr_accessor :logo_annotations + + # If present, face detection completed successfully. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` which can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting purpose. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::VisionV1::Status] + attr_accessor :error + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @label_annotations = args[:label_annotations] if args.key?(:label_annotations) + @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations) + @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation) + @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation) + @text_annotations = args[:text_annotations] if args.key?(:text_annotations) + @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) + @error = args[:error] if args.key?(:error) + end + end + + # Rectangle determined by min and max LatLng pairs. + class LatLongRect + include Google::Apis::Core::Hashable + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the + # WGS84 + # standard. Values must be within normalized ranges. + # Example of normalization code in Python: + # def NormalizeLongitude(longitude): + # """Wraps decimal degrees longitude to [-180.0, 180.0].""" + # q, r = divmod(longitude, 360.0) + # if r > 180.0 or (r == 180.0 and q <= -1.0): + # return r - 360.0 + # return r + # def NormalizeLatLng(latitude, longitude): + # """Wraps decimal degrees latitude and longitude to + # [-180.0, 180.0] and [-90.0, 90.0], respectively.""" + # r = latitude % 360.0 + # if r <= 90.0: + # return r, NormalizeLongitude(longitude) + # elif r >= 270.0: + # return r - 360, NormalizeLongitude(longitude) + # else: + # return 180 - r, NormalizeLongitude(longitude + 180.0) + # assert 180.0 == NormalizeLongitude(180.0) + # assert -180.0 == NormalizeLongitude(-180.0) + # assert -179.0 == NormalizeLongitude(181.0) + # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) + # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) + # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) + # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) + # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) + # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) + # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) + # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) + # Corresponds to the JSON property `maxLatLng` + # @return [Google::Apis::VisionV1::LatLng] + attr_accessor :max_lat_lng + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the + # WGS84 + # standard. Values must be within normalized ranges. + # Example of normalization code in Python: + # def NormalizeLongitude(longitude): + # """Wraps decimal degrees longitude to [-180.0, 180.0].""" + # q, r = divmod(longitude, 360.0) + # if r > 180.0 or (r == 180.0 and q <= -1.0): + # return r - 360.0 + # return r + # def NormalizeLatLng(latitude, longitude): + # """Wraps decimal degrees latitude and longitude to + # [-180.0, 180.0] and [-90.0, 90.0], respectively.""" + # r = latitude % 360.0 + # if r <= 90.0: + # return r, NormalizeLongitude(longitude) + # elif r >= 270.0: + # return r - 360, NormalizeLongitude(longitude) + # else: + # return 180 - r, NormalizeLongitude(longitude + 180.0) + # assert 180.0 == NormalizeLongitude(180.0) + # assert -180.0 == NormalizeLongitude(-180.0) + # assert -179.0 == NormalizeLongitude(181.0) + # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) + # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) + # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) + # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) + # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) + # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) + # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) + # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) + # Corresponds to the JSON property `minLatLng` + # @return [Google::Apis::VisionV1::LatLng] + attr_accessor :min_lat_lng + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_lat_lng = args[:max_lat_lng] if args.key?(:max_lat_lng) + @min_lat_lng = args[:min_lat_lng] if args.key?(:min_lat_lng) + end + end + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` which can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting purpose. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # A face annotation contains the results of face detection. + class FaceAnnotation + include Google::Apis::Core::Hashable + + # Pitch angle. Indicates the upwards/downwards angle that the face is + # pointing + # relative to the image's horizontal plane. Range [-180,180]. + # Corresponds to the JSON property `tiltAngle` + # @return [Float] + attr_accessor :tilt_angle + + # Under-exposed likelihood. + # Corresponds to the JSON property `underExposedLikelihood` + # @return [String] + attr_accessor :under_exposed_likelihood + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `fdBoundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :fd_bounding_poly + + # Face landmarking confidence. Range [0, 1]. + # Corresponds to the JSON property `landmarkingConfidence` + # @return [Float] + attr_accessor :landmarking_confidence + + # Joy likelihood. + # Corresponds to the JSON property `joyLikelihood` + # @return [String] + attr_accessor :joy_likelihood + + # Detection confidence. Range [0, 1]. + # Corresponds to the JSON property `detectionConfidence` + # @return [Float] + attr_accessor :detection_confidence + + # Surprise likelihood. + # Corresponds to the JSON property `surpriseLikelihood` + # @return [String] + attr_accessor :surprise_likelihood + + # Anger likelihood. + # Corresponds to the JSON property `angerLikelihood` + # @return [String] + attr_accessor :anger_likelihood + + # Headwear likelihood. + # Corresponds to the JSON property `headwearLikelihood` + # @return [String] + attr_accessor :headwear_likelihood + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # Yaw angle. Indicates the leftward/rightward angle that the face is + # pointing, relative to the vertical plane perpendicular to the image. Range + # [-180,180]. + # Corresponds to the JSON property `panAngle` + # @return [Float] + attr_accessor :pan_angle + + # Detected face landmarks. + # Corresponds to the JSON property `landmarks` + # @return [Array] + attr_accessor :landmarks + + # Blurred likelihood. + # Corresponds to the JSON property `blurredLikelihood` + # @return [String] + attr_accessor :blurred_likelihood + + # Roll angle. Indicates the amount of clockwise/anti-clockwise rotation of + # the + # face relative to the image vertical, about the axis perpendicular to the + # face. Range [-180,180]. + # Corresponds to the JSON property `rollAngle` + # @return [Float] + attr_accessor :roll_angle + + # Sorrow likelihood. + # Corresponds to the JSON property `sorrowLikelihood` + # @return [String] + attr_accessor :sorrow_likelihood + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle) + @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood) + @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly) + @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) + @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood) + @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence) + @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) + @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood) + @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @pan_angle = args[:pan_angle] if args.key?(:pan_angle) + @landmarks = args[:landmarks] if args.key?(:landmarks) + @blurred_likelihood = args[:blurred_likelihood] if args.key?(:blurred_likelihood) + @roll_angle = args[:roll_angle] if args.key?(:roll_angle) + @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood) + end + end + + # A vertex represents a 2D point in the image. + # NOTE: the vertex coordinates are in the same scale as the original image. + class Vertex + include Google::Apis::Core::Hashable + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Fixnum] + attr_accessor :y + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Fixnum] + attr_accessor :x + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @y = args[:y] if args.key?(:y) + @x = args[:x] if args.key?(:x) + end + end + + # Color information consists of RGB channels, score and fraction of + # image the color occupies in the image. + class ColorInfo + include Google::Apis::Core::Hashable + + # Stores the fraction of pixels the color occupies in the image. + # Value in range [0, 1]. + # Corresponds to the JSON property `pixelFraction` + # @return [Float] + attr_accessor :pixel_fraction + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `color` + # @return [Google::Apis::VisionV1::Color] + attr_accessor :color + + # Image-specific score for this color. Value in range [0, 1]. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction) + @color = args[:color] if args.key?(:color) + @score = args[:score] if args.key?(:score) + end + end + + # A bounding polygon for the detected image annotation. + class BoundingPoly + include Google::Apis::Core::Hashable + + # The bounding polygon vertices. + # Corresponds to the JSON property `vertices` + # @return [Array] + attr_accessor :vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vertices = args[:vertices] if args.key?(:vertices) + end + end + + # A face-specific landmark (for example, a face feature). + # Landmark positions may fall outside the bounds of the image + # when the face is near one or more edges of the image. + # Therefore it is NOT guaranteed that 0 <= x < width or 0 <= y < height. + class Landmark + include Google::Apis::Core::Hashable + + # A 3D position in the image, used primarily for Face detection landmarks. + # A valid Position must have both x and y coordinates. + # The position coordinates are in the same scale as the original image. + # Corresponds to the JSON property `position` + # @return [Google::Apis::VisionV1::Position] + attr_accessor :position + + # Face landmark type. + # 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) + @position = args[:position] if args.key?(:position) + @type = args[:type] if args.key?(:type) + end + end + + # Image context. + class ImageContext + include Google::Apis::Core::Hashable + + # List of languages to use for TEXT_DETECTION. In most cases, an empty value + # will yield the best results as it will allow text detection to + # automatically detect the text language. For languages based on the latin + # alphabet a hint is not needed. In rare cases, when the language of + # the text in the image is known in advance, setting this hint will help get + # better results (although it will hurt a great deal if the hint is wrong). + # Text detection will return an error if one or more of the languages + # specified here are not supported. The exact list of supported languages are + # specified here: + # https://cloud.google.com/translate/v2/using_rest#language-params + # Corresponds to the JSON property `languageHints` + # @return [Array] + attr_accessor :language_hints + + # Rectangle determined by min and max LatLng pairs. + # Corresponds to the JSON property `latLongRect` + # @return [Google::Apis::VisionV1::LatLongRect] + attr_accessor :lat_long_rect + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_hints = args[:language_hints] if args.key?(:language_hints) + @lat_long_rect = args[:lat_long_rect] if args.key?(:lat_long_rect) + end + end + + # Multiple image annotation requests are batched into a single service call. + class BatchAnnotateImagesRequest + include Google::Apis::Core::Hashable + + # Individual image annotation requests for this batch. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + end + end + + # Set of detected entity features. + class EntityAnnotation + include Google::Apis::Core::Hashable + + # Knowledge Graph entity ID. Maps to a freebase entity ID. + # (for example, "Google" maps to: mid /m/045c7b). + # Corresponds to the JSON property `mid` + # @return [String] + attr_accessor :mid + + # Entity textual description, expressed in its locale language. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The relevancy of the ICA (Image Content Annotation) label to the + # image. For example, the relevancy of 'tower' to an image containing + # 'Eiffel Tower' is likely higher than an image containing a distant towering + # building, though the confidence that there is a tower may be the same. + # Range [0, 1]. + # Corresponds to the JSON property `topicality` + # @return [Float] + attr_accessor :topicality + + # The language code for the locale in which the entity textual + # description (next field) is expressed. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # Some entities can have additional optional Property fields. + # For example a different kind of score or string that qualifies the entity. + # Corresponds to the JSON property `properties` + # @return [Array] + attr_accessor :properties + + # Overall score of the result. Range [0, 1]. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # The location information for the recognized entity. Multiple + # LocationInfo elements can be present since one location may + # indicate the location of the scene in the query image, and another the + # location of the place where the query image was taken. Location information + # is usually present for landmarks. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The accuracy of the entity recognition in an image. + # For example, for an image containing 'Eiffel Tower,' this field represents + # the confidence that there is a tower in the query image. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mid = args[:mid] if args.key?(:mid) + @description = args[:description] if args.key?(:description) + @topicality = args[:topicality] if args.key?(:topicality) + @locale = args[:locale] if args.key?(:locale) + @properties = args[:properties] if args.key?(:properties) + @score = args[:score] if args.key?(:score) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @locations = args[:locations] if args.key?(:locations) + @confidence = args[:confidence] if args.key?(:confidence) + end + end + + # Arbitrary name/value pair. + class Property + include Google::Apis::Core::Hashable + + # Value of the property. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Name of the property. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + class Color + include Google::Apis::Core::Hashable + + # The amount of green in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The amount of blue in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + # The amount of red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + # The fraction of this color that should be applied to the pixel. That is, + # the final pixel color is defined by the equation: + # pixel color = alpha * (this color) + (1.0 - alpha) * (background color) + # This means that a value of 1.0 corresponds to a solid color, whereas + # a value of 0.0 corresponds to a completely transparent color. This + # uses a wrapper message rather than a simple float scalar so that it is + # possible to distinguish between a default value and the value being unset. + # If omitted, this color object is to be rendered as a solid color + # (as if the alpha value had been explicitly given with a value of 1.0). + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @green = args[:green] if args.key?(:green) + @blue = args[:blue] if args.key?(:blue) + @red = args[:red] if args.key?(:red) + @alpha = args[:alpha] if args.key?(:alpha) + end + end + + # Detected entity location information. + class LocationInfo + include Google::Apis::Core::Hashable + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the + # WGS84 + # standard. Values must be within normalized ranges. + # Example of normalization code in Python: + # def NormalizeLongitude(longitude): + # """Wraps decimal degrees longitude to [-180.0, 180.0].""" + # q, r = divmod(longitude, 360.0) + # if r > 180.0 or (r == 180.0 and q <= -1.0): + # return r - 360.0 + # return r + # def NormalizeLatLng(latitude, longitude): + # """Wraps decimal degrees latitude and longitude to + # [-180.0, 180.0] and [-90.0, 90.0], respectively.""" + # r = latitude % 360.0 + # if r <= 90.0: + # return r, NormalizeLongitude(longitude) + # elif r >= 270.0: + # return r - 360, NormalizeLongitude(longitude) + # else: + # return 180 - r, NormalizeLongitude(longitude + 180.0) + # assert 180.0 == NormalizeLongitude(180.0) + # assert -180.0 == NormalizeLongitude(-180.0) + # assert -179.0 == NormalizeLongitude(181.0) + # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) + # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) + # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) + # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) + # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) + # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) + # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) + # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::VisionV1::LatLng] + attr_accessor :lat_lng + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + end + end + + # Set of features pertaining to the image, computed by various computer vision + # methods over safe-search verticals (for example, adult, spoof, medical, + # violence). + class SafeSearchAnnotation + include Google::Apis::Core::Hashable + + # Likelihood this is a medical image. + # Corresponds to the JSON property `medical` + # @return [String] + attr_accessor :medical + + # Violence likelihood. + # Corresponds to the JSON property `violence` + # @return [String] + attr_accessor :violence + + # Spoof likelihood. The likelihood that an obvious modification + # was made to the image's canonical version to make it appear + # funny or offensive. + # Corresponds to the JSON property `spoof` + # @return [String] + attr_accessor :spoof + + # Represents the adult contents likelihood for the image. + # Corresponds to the JSON property `adult` + # @return [String] + attr_accessor :adult + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @medical = args[:medical] if args.key?(:medical) + @violence = args[:violence] if args.key?(:violence) + @spoof = args[:spoof] if args.key?(:spoof) + @adult = args[:adult] if args.key?(:adult) + end + end + + # Client image to perform Vision tasks over. + class Image + include Google::Apis::Core::Hashable + + # External image source (i.e. Google Cloud Storage image location). + # Corresponds to the JSON property `source` + # @return [Google::Apis::VisionV1::ImageSource] + attr_accessor :source + + # Image content, represented as a stream of bytes. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + @content = args[:content] if args.key?(:content) + end + end + + # Set of dominant colors and their corresponding scores. + class DominantColorsAnnotation + include Google::Apis::Core::Hashable + + # RGB color values, with their score and pixel fraction. + # Corresponds to the JSON property `colors` + # @return [Array] + attr_accessor :colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @colors = args[:colors] if args.key?(:colors) + end + end + + # The Feature indicates what type of image detection task to perform. + # Users describe the type of Vision tasks to perform over images by + # using Features. Features encode the Vision vertical to operate on + # and the number of top-scoring results to return. + class Feature + include Google::Apis::Core::Hashable + + # Maximum number of results of this type. + # Corresponds to the JSON property `maxResults` + # @return [Fixnum] + attr_accessor :max_results + + # The feature type. + # 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) + @max_results = args[:max_results] if args.key?(:max_results) + @type = args[:type] if args.key?(:type) + end + end + + # Response to a batch image annotation request. + class BatchAnnotateImagesResponse + include Google::Apis::Core::Hashable + + # Individual responses to image annotation requests within the batch. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @responses = args[:responses] if args.key?(:responses) + end + end + + # Stores image properties (e.g. dominant colors). + class ImageProperties + include Google::Apis::Core::Hashable + + # Set of dominant colors and their corresponding scores. + # Corresponds to the JSON property `dominantColors` + # @return [Google::Apis::VisionV1::DominantColorsAnnotation] + attr_accessor :dominant_colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors) + end + end + + # A 3D position in the image, used primarily for Face detection landmarks. + # A valid Position must have both x and y coordinates. + # The position coordinates are in the same scale as the original image. + class Position + include Google::Apis::Core::Hashable + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Float] + attr_accessor :y + + # Z coordinate (or depth). + # Corresponds to the JSON property `z` + # @return [Float] + attr_accessor :z + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Float] + attr_accessor :x + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @y = args[:y] if args.key?(:y) + @z = args[:z] if args.key?(:z) + @x = args[:x] if args.key?(:x) + end + end + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the + # WGS84 + # standard. Values must be within normalized ranges. + # Example of normalization code in Python: + # def NormalizeLongitude(longitude): + # """Wraps decimal degrees longitude to [-180.0, 180.0].""" + # q, r = divmod(longitude, 360.0) + # if r > 180.0 or (r == 180.0 and q <= -1.0): + # return r - 360.0 + # return r + # def NormalizeLatLng(latitude, longitude): + # """Wraps decimal degrees latitude and longitude to + # [-180.0, 180.0] and [-90.0, 90.0], respectively.""" + # r = latitude % 360.0 + # if r <= 90.0: + # return r, NormalizeLongitude(longitude) + # elif r >= 270.0: + # return r - 360, NormalizeLongitude(longitude) + # else: + # return 180 - r, NormalizeLongitude(longitude + 180.0) + # assert 180.0 == NormalizeLongitude(180.0) + # assert -180.0 == NormalizeLongitude(-180.0) + # assert -179.0 == NormalizeLongitude(181.0) + # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) + # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) + # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) + # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) + # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) + # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) + # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) + # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) + class LatLng + include Google::Apis::Core::Hashable + + # The longitude in degrees. It must be in the range [-180.0, +180.0]. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @longitude = args[:longitude] if args.key?(:longitude) + @latitude = args[:latitude] if args.key?(:latitude) + end + end + end + end +end diff --git a/generated/google/apis/vision_v1/representations.rb b/generated/google/apis/vision_v1/representations.rb new file mode 100644 index 000000000..5a763bfc8 --- /dev/null +++ b/generated/google/apis/vision_v1/representations.rb @@ -0,0 +1,418 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module VisionV1 + + class ImageSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotateImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotateImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatLongRect + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Vertex + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BoundingPoly + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Landmark + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchAnnotateImagesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EntityAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Property + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SafeSearchAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DominantColorsAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Feature + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchAnnotateImagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Position + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_image_uri, as: 'gcsImageUri' + end + end + + class AnnotateImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation + + property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation + + collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation + + end + end + + class AnnotateImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation + + property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation + + collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation + + property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation + + end + end + + class LatLongRect + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + + property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tilt_angle, as: 'tiltAngle' + property :under_exposed_likelihood, as: 'underExposedLikelihood' + property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :landmarking_confidence, as: 'landmarkingConfidence' + property :joy_likelihood, as: 'joyLikelihood' + property :detection_confidence, as: 'detectionConfidence' + property :surprise_likelihood, as: 'surpriseLikelihood' + property :anger_likelihood, as: 'angerLikelihood' + property :headwear_likelihood, as: 'headwearLikelihood' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :pan_angle, as: 'panAngle' + collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation + + property :blurred_likelihood, as: 'blurredLikelihood' + property :roll_angle, as: 'rollAngle' + property :sorrow_likelihood, as: 'sorrowLikelihood' + end + end + + class Vertex + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :y, as: 'y' + property :x, as: 'x' + end + end + + class ColorInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pixel_fraction, as: 'pixelFraction' + property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation + + property :score, as: 'score' + end + end + + class BoundingPoly + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation + + end + end + + class Landmark + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation + + property :type, as: 'type' + end + end + + class ImageContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :language_hints, as: 'languageHints' + property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation + + end + end + + class BatchAnnotateImagesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation + + end + end + + class EntityAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mid, as: 'mid' + property :description, as: 'description' + property :topicality, as: 'topicality' + property :locale, as: 'locale' + collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation + + property :score, as: 'score' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation + + property :confidence, as: 'confidence' + end + end + + class Property + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :name, as: 'name' + end + end + + class Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :green, as: 'green' + property :blue, as: 'blue' + property :red, as: 'red' + property :alpha, as: 'alpha' + end + end + + class LocationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + + end + end + + class SafeSearchAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :medical, as: 'medical' + property :violence, as: 'violence' + property :spoof, as: 'spoof' + property :adult, as: 'adult' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation + + property :content, :base64 => true, as: 'content' + end + end + + class DominantColorsAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation + + end + end + + class Feature + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_results, as: 'maxResults' + property :type, as: 'type' + end + end + + class BatchAnnotateImagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation + + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation + + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :y, as: 'y' + property :z, as: 'z' + property :x, as: 'x' + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :longitude, as: 'longitude' + property :latitude, as: 'latitude' + end + end + end + end +end diff --git a/generated/google/apis/vision_v1/service.rb b/generated/google/apis/vision_v1/service.rb new file mode 100644 index 000000000..ada5e794a --- /dev/null +++ b/generated/google/apis/vision_v1/service.rb @@ -0,0 +1,91 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module VisionV1 + # Cloud Vision API + # + # The Google Cloud Vision API allows developers to easily integrate Google + # vision features, including image labeling, face, logo, and landmark detection, + # optical character recognition (OCR), and detection of explicit content, into + # applications. + # + # @example + # require 'google/apis/vision_v1' + # + # Vision = Google::Apis::VisionV1 # Alias the module + # service = Vision::VisionService.new + # + # @see https://cloud.google.com/vision/ + class VisionService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://vision.googleapis.com/', '') + end + + # Run image detection and annotation for a batch of images. + # @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::VisionV1::BatchAnnotateImagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VisionV1::BatchAnnotateImagesResponse] + # + # @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 annotate_image(batch_annotate_images_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/images:annotate', options) + command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation + command.request_object = batch_annotate_images_request_object + command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation + command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/webmasters_v3/representations.rb b/generated/google/apis/webmasters_v3/representations.rb index b47a5b01f..d09439684 100644 --- a/generated/google/apis/webmasters_v3/representations.rb +++ b/generated/google/apis/webmasters_v3/representations.rb @@ -24,66 +24,98 @@ module Google class ApiDataRow class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApiDimensionFilter class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApiDimensionFilterGroup class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchAnalyticsQueryRequest class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchAnalyticsQueryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSitemapsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSitesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlCrawlErrorCount class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlCrawlErrorCountsPerType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class QueryUrlCrawlErrorsCountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlCrawlErrorsSample class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListUrlCrawlErrorsSamplesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UrlSampleDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WmxSite class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WmxSitemap class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WmxSitemapContent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApiDataRow diff --git a/generated/google/apis/youtube_analytics_v1/representations.rb b/generated/google/apis/youtube_analytics_v1/representations.rb index f51a8fe66..c69fc9cb2 100644 --- a/generated/google/apis/youtube_analytics_v1/representations.rb +++ b/generated/google/apis/youtube_analytics_v1/representations.rb @@ -27,23 +27,35 @@ module Google class Output class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TimeSpan class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class BatchReportDefinition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchReportDefinitionList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BatchReportList class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Group @@ -51,11 +63,17 @@ module Google class ContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Snippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class GroupItem @@ -63,15 +81,23 @@ module Google class Resource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ListGroupItemResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResultTable @@ -79,7 +105,11 @@ module Google class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class BatchReport diff --git a/generated/google/apis/youtube_v3/representations.rb b/generated/google/apis/youtube_v3/representations.rb index 951e97edb..566a84b11 100644 --- a/generated/google/apis/youtube_v3/representations.rb +++ b/generated/google/apis/youtube_v3/representations.rb @@ -24,98 +24,146 @@ module Google class AccessPolicy class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Activity class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsBulletin class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsChannelItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsComment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsFavorite class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsLike class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsPlaylistItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsPromotedItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsRecommendation class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsSocial class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsSubscription class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivityContentDetailsUpload class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListActivitiesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ActivitySnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Caption class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCaptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CaptionSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CdnSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Channel class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelAuditDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelBannerResource class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelBrandingSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelContentDetails @@ -123,567 +171,851 @@ module Google class RelatedPlaylists class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end + + include Google::Apis::Core::JsonObjectSupport end class ChannelContentOwnerDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelConversionPing class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelConversionPings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListChannelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelLocalization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelProfileDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSection class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSectionContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListChannelSectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSectionLocalization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSectionSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSectionTargeting class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelStatistics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ChannelTopicDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Comment class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCommentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentThread class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListCommentThreadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentThreadReplies class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CommentThreadSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ContentRating class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FanFundingEvent class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FanFundingEventListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class FanFundingEventSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GeoPoint class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GuideCategory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListGuideCategoriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GuideCategorySnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class I18nLanguage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListI18nLanguagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class I18nLanguageSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class I18nRegion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListI18nRegionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class I18nRegionSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ImageSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IngestionInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InvideoBranding class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InvideoPosition class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InvideoPromotion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InvideoTiming class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LanguageTag class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcast class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLiveBroadcastsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastStatistics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastTopic class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastTopicDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveBroadcastTopicSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatBan class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatBanSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatFanFundingEventDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatMessage class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatMessageAuthorDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatMessageListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatMessageSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatModerator class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatModeratorListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatModeratorSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveChatTextMessageDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStream class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStreamConfigurationIssue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStreamContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStreamHealthStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListLiveStreamsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStreamSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LiveStreamStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedProperty class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LocalizedString class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MonitorStreamInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Playlist class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistItemContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlaylistItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistItemSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistItemStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListPlaylistResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistLocalization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistPlayer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PlaylistStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PromotedItem class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PromotedItemId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class PropertyValue class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResourceId class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchListsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchResult class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SearchResultSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Sponsor class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SponsorListResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SponsorSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Subscription class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubscriptionContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListSubscriptionResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubscriptionSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SubscriptionSubscriberSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Thumbnail class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ThumbnailDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SetThumbnailResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TokenPagination class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Video class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoAbuseReport class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoAbuseReportReason class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListVideoAbuseReportReasonResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoAbuseReportReasonSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoAbuseReportSecondaryReason class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoAgeGating class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoCategory class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListVideoCategoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoCategorySnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoContentDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoContentDetailsRegionRestriction class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoFileDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoFileDetailsAudioStream class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoFileDetailsVideoStream class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetVideoRatingResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListVideosResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoLiveStreamingDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoLocalization class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoMonetizationDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoPlayer class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoProcessingDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoProcessingDetailsProcessingProgress class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoProjectDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoRating class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoRecordingDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoSnippet class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoStatistics class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoStatus class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoSuggestions class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoSuggestionsTagSuggestion class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoTopicDetails class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WatchSettings class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AccessPolicy diff --git a/generated/google/apis/youtubereporting_v1/representations.rb b/generated/google/apis/youtubereporting_v1/representations.rb index 3e758ecfa..6192f7747 100644 --- a/generated/google/apis/youtubereporting_v1/representations.rb +++ b/generated/google/apis/youtubereporting_v1/representations.rb @@ -24,34 +24,50 @@ module Google class Media class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListReportTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ReportType class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Job class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListJobsResponse 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 end class ListReportsResponse class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Report class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Media diff --git a/script/generate b/script/generate index d19c0df2e..956ff6b9e 100755 --- a/script/generate +++ b/script/generate @@ -69,7 +69,7 @@ APIS=(adexchangebuyer:v1.4 \ pagespeedonline:v2 \ partners:v2 \ people:v1 \ - plus:v1 \ + plus:v1 \ plusDomains:v1 \ prediction:v1.6 \ proximitybeacon:v1beta1 \ @@ -89,6 +89,7 @@ APIS=(adexchangebuyer:v1.4 \ tasks:v1 \ translate:v2 \ urlshortener:v1 \ + vision:v1 \ webmasters:v3 \ youtube:v3 \ youtubeAnalytics:v1 \